Fit (vertically portrayed) image with the caption displayed below
So I have this code:
begin{figure}[H]
centering
includegraphics[height=textheight, width=textwidth]{similar_waveforms_filtered_and_cut_new}
caption{Seiemic traces for events studied in this project with picks made at station DE02 - the closest station to the locations determined.}
label{similar_waveforms}
end{figure}
and I am trying to 'best fit' an image that I have rotated so that it is portrayed vertically.
when I am using height=textheight, width=textwidth my caption appears below the footnote - is there a way to correct this?
I have attached an image for reference.
Many Thanks
graphics formatting
add a comment |
So I have this code:
begin{figure}[H]
centering
includegraphics[height=textheight, width=textwidth]{similar_waveforms_filtered_and_cut_new}
caption{Seiemic traces for events studied in this project with picks made at station DE02 - the closest station to the locations determined.}
label{similar_waveforms}
end{figure}
and I am trying to 'best fit' an image that I have rotated so that it is portrayed vertically.
when I am using height=textheight, width=textwidth my caption appears below the footnote - is there a way to correct this?
I have attached an image for reference.
Many Thanks
graphics formatting
welcome to tex.se! you need to reduce image height for amount of caption (~ 3`baselineskip`).
– Zarko
Apr 20 at 11:44
See also tex.stackexchange.com/questions/449301/…
– John Kormylo
Apr 20 at 15:08
add a comment |
So I have this code:
begin{figure}[H]
centering
includegraphics[height=textheight, width=textwidth]{similar_waveforms_filtered_and_cut_new}
caption{Seiemic traces for events studied in this project with picks made at station DE02 - the closest station to the locations determined.}
label{similar_waveforms}
end{figure}
and I am trying to 'best fit' an image that I have rotated so that it is portrayed vertically.
when I am using height=textheight, width=textwidth my caption appears below the footnote - is there a way to correct this?
I have attached an image for reference.
Many Thanks
graphics formatting
So I have this code:
begin{figure}[H]
centering
includegraphics[height=textheight, width=textwidth]{similar_waveforms_filtered_and_cut_new}
caption{Seiemic traces for events studied in this project with picks made at station DE02 - the closest station to the locations determined.}
label{similar_waveforms}
end{figure}
and I am trying to 'best fit' an image that I have rotated so that it is portrayed vertically.
when I am using height=textheight, width=textwidth my caption appears below the footnote - is there a way to correct this?
I have attached an image for reference.
Many Thanks
graphics formatting
graphics formatting
asked Apr 20 at 11:38
H BH B
261
261
welcome to tex.se! you need to reduce image height for amount of caption (~ 3`baselineskip`).
– Zarko
Apr 20 at 11:44
See also tex.stackexchange.com/questions/449301/…
– John Kormylo
Apr 20 at 15:08
add a comment |
welcome to tex.se! you need to reduce image height for amount of caption (~ 3`baselineskip`).
– Zarko
Apr 20 at 11:44
See also tex.stackexchange.com/questions/449301/…
– John Kormylo
Apr 20 at 15:08
welcome to tex.se! you need to reduce image height for amount of caption (~ 3`baselineskip`).
– Zarko
Apr 20 at 11:44
welcome to tex.se! you need to reduce image height for amount of caption (~ 3`baselineskip`).
– Zarko
Apr 20 at 11:44
See also tex.stackexchange.com/questions/449301/…
– John Kormylo
Apr 20 at 15:08
See also tex.stackexchange.com/questions/449301/…
– John Kormylo
Apr 20 at 15:08
add a comment |
1 Answer
1
active
oldest
votes
as mentioned in my comments:
documentclass{article}
usepackage[demo]{graphicx}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure}[htbp]
centering
includegraphics[height=dimexprtextheight-3baselineskip, % <---
width=textwidth,
keepaspectio]%
{similar_waveforms_filtered_and_cut_new}
caption{Seiemic traces for events studied in this project with picks made at station DE02 - the closest station to the locations determined.}
label{similar_waveforms}
end{figure}
end{document}
Thank you so much! have a great day!
– H B
Apr 20 at 11:49
Dear @HB, if answer solve your problem, you can accept it (by clicking on check mark at top left side of the answer ;-)
– Zarko
Apr 20 at 11:52
I think it would be a good idea to add akeepaspectio
option toincludegraphics
. While it doesn't make a difference for the black rectangle that's used in your answer, it's probably a good thing to have in general.
– Mico
Apr 20 at 12:20
@Mico, you are right. corrected.
– Zarko
Apr 20 at 12:56
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485730%2ffit-vertically-portrayed-image-with-the-caption-displayed-below%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
as mentioned in my comments:
documentclass{article}
usepackage[demo]{graphicx}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure}[htbp]
centering
includegraphics[height=dimexprtextheight-3baselineskip, % <---
width=textwidth,
keepaspectio]%
{similar_waveforms_filtered_and_cut_new}
caption{Seiemic traces for events studied in this project with picks made at station DE02 - the closest station to the locations determined.}
label{similar_waveforms}
end{figure}
end{document}
Thank you so much! have a great day!
– H B
Apr 20 at 11:49
Dear @HB, if answer solve your problem, you can accept it (by clicking on check mark at top left side of the answer ;-)
– Zarko
Apr 20 at 11:52
I think it would be a good idea to add akeepaspectio
option toincludegraphics
. While it doesn't make a difference for the black rectangle that's used in your answer, it's probably a good thing to have in general.
– Mico
Apr 20 at 12:20
@Mico, you are right. corrected.
– Zarko
Apr 20 at 12:56
add a comment |
as mentioned in my comments:
documentclass{article}
usepackage[demo]{graphicx}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure}[htbp]
centering
includegraphics[height=dimexprtextheight-3baselineskip, % <---
width=textwidth,
keepaspectio]%
{similar_waveforms_filtered_and_cut_new}
caption{Seiemic traces for events studied in this project with picks made at station DE02 - the closest station to the locations determined.}
label{similar_waveforms}
end{figure}
end{document}
Thank you so much! have a great day!
– H B
Apr 20 at 11:49
Dear @HB, if answer solve your problem, you can accept it (by clicking on check mark at top left side of the answer ;-)
– Zarko
Apr 20 at 11:52
I think it would be a good idea to add akeepaspectio
option toincludegraphics
. While it doesn't make a difference for the black rectangle that's used in your answer, it's probably a good thing to have in general.
– Mico
Apr 20 at 12:20
@Mico, you are right. corrected.
– Zarko
Apr 20 at 12:56
add a comment |
as mentioned in my comments:
documentclass{article}
usepackage[demo]{graphicx}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure}[htbp]
centering
includegraphics[height=dimexprtextheight-3baselineskip, % <---
width=textwidth,
keepaspectio]%
{similar_waveforms_filtered_and_cut_new}
caption{Seiemic traces for events studied in this project with picks made at station DE02 - the closest station to the locations determined.}
label{similar_waveforms}
end{figure}
end{document}
as mentioned in my comments:
documentclass{article}
usepackage[demo]{graphicx}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure}[htbp]
centering
includegraphics[height=dimexprtextheight-3baselineskip, % <---
width=textwidth,
keepaspectio]%
{similar_waveforms_filtered_and_cut_new}
caption{Seiemic traces for events studied in this project with picks made at station DE02 - the closest station to the locations determined.}
label{similar_waveforms}
end{figure}
end{document}
edited Apr 20 at 12:58
answered Apr 20 at 11:46
ZarkoZarko
131k869170
131k869170
Thank you so much! have a great day!
– H B
Apr 20 at 11:49
Dear @HB, if answer solve your problem, you can accept it (by clicking on check mark at top left side of the answer ;-)
– Zarko
Apr 20 at 11:52
I think it would be a good idea to add akeepaspectio
option toincludegraphics
. While it doesn't make a difference for the black rectangle that's used in your answer, it's probably a good thing to have in general.
– Mico
Apr 20 at 12:20
@Mico, you are right. corrected.
– Zarko
Apr 20 at 12:56
add a comment |
Thank you so much! have a great day!
– H B
Apr 20 at 11:49
Dear @HB, if answer solve your problem, you can accept it (by clicking on check mark at top left side of the answer ;-)
– Zarko
Apr 20 at 11:52
I think it would be a good idea to add akeepaspectio
option toincludegraphics
. While it doesn't make a difference for the black rectangle that's used in your answer, it's probably a good thing to have in general.
– Mico
Apr 20 at 12:20
@Mico, you are right. corrected.
– Zarko
Apr 20 at 12:56
Thank you so much! have a great day!
– H B
Apr 20 at 11:49
Thank you so much! have a great day!
– H B
Apr 20 at 11:49
Dear @HB, if answer solve your problem, you can accept it (by clicking on check mark at top left side of the answer ;-)
– Zarko
Apr 20 at 11:52
Dear @HB, if answer solve your problem, you can accept it (by clicking on check mark at top left side of the answer ;-)
– Zarko
Apr 20 at 11:52
I think it would be a good idea to add a
keepaspectio
option to includegraphics
. While it doesn't make a difference for the black rectangle that's used in your answer, it's probably a good thing to have in general.– Mico
Apr 20 at 12:20
I think it would be a good idea to add a
keepaspectio
option to includegraphics
. While it doesn't make a difference for the black rectangle that's used in your answer, it's probably a good thing to have in general.– Mico
Apr 20 at 12:20
@Mico, you are right. corrected.
– Zarko
Apr 20 at 12:56
@Mico, you are right. corrected.
– Zarko
Apr 20 at 12:56
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485730%2ffit-vertically-portrayed-image-with-the-caption-displayed-below%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
welcome to tex.se! you need to reduce image height for amount of caption (~ 3`baselineskip`).
– Zarko
Apr 20 at 11:44
See also tex.stackexchange.com/questions/449301/…
– John Kormylo
Apr 20 at 15:08