Fit (vertically portrayed) image with the caption displayed below












4















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 referenceseismic_waves.
Many Thanks










share|improve this question























  • 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
















4















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 referenceseismic_waves.
Many Thanks










share|improve this question























  • 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














4












4








4








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 referenceseismic_waves.
Many Thanks










share|improve this question














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 referenceseismic_waves.
Many Thanks







graphics formatting






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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



















  • 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










1 Answer
1






active

oldest

votes


















4














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}


enter image description here






share|improve this answer


























  • 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 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












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
});


}
});














draft saved

draft discarded


















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









4














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}


enter image description here






share|improve this answer


























  • 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 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
















4














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}


enter image description here






share|improve this answer


























  • 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 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














4












4








4







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}


enter image description here






share|improve this answer















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}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








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 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



















  • 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 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

















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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Plaza Victoria

Puebla de Zaragoza

Musa