Space between figure caption and bottom marginReducing vertical space between figure and captionInitial page...

Subsurf on a crown. How can I smooth some edges and keep others sharp?

Does an Eldritch Knight's Weapon Bond protect him from losing his weapon to a Telekinesis spell?

What is a good reason for every spaceship to carry a weapon on board?

Why didn't the 2019 Oscars have a host?

Does diversity provide anything that meritocracy does not?

After checking in online, how do I know whether I need to go show my passport at airport check-in?

I have trouble understanding this fallacy: "If A, then B. Therefore if not-B, then not-A."

Does Skippy chunky peanut butter contain trans fat?

What senses are available to a corpse subjected to a Speak with Dead spell?

Why does 0.-5 evaluate to -5?

Why maximum length of IP, TCP, UDP packet is not suit?

If angels and devils are the same species, why would their mortal offspring appear physically different?

Count repetitions of an array

How do you funnel food off a cutting board?

How to not let the Identify spell spoil everything?

Integration of two exponential multiplied by each other

Custom shape shows unwanted extra line

What to do with threats of blacklisting?

What's this assembly doing?

When Are Enum Values Defined?

Can the "Friends" spell be used without making the target hostile?

What makes papers publishable in top-tier journals?

How much mayhem could I cause as a fish?

Why is 'diphthong' pronounced the way it is?



Space between figure caption and bottom margin


Reducing vertical space between figure and captionInitial page numbers wrongTable caption not appearing in PNAS document classUnobedient diagrams and a way to resume caption enumerationSpace between table caption and caption textHow to fix the top and bottom margins in Lyx in order to conform to standard ERC proposal?Caption format: Remove space between “Figure” and “1”Header on odd pagesCaption alignment using left marginparChange color for captions in sidenotes and alignment













1















I am looking to put a figure at the bottom of my document in a way that the caption is aligned with the bottom margin (i.e. no space between text and margin). Here's a MWE:



documentclass[12pt]{report}
usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
usepackage[document]{ragged2e}
usepackage{setspace}
usepackage{graphicx}
usepackage[labelfont=bf,justification=RaggedRight,singlelinecheck=off,%
labelsep=period]{caption}
usepackage{duckuments}
usepackage{blindtext}

begin{document}
RaggedRight
doublespace
chapter{Title of chapter}
blindtext
begin{figure}[b]
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
end{figure}
blindtext
blindtext
begin{figure}[t]
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is the caption.}
end{figure}
end{document}


The first figure is set at the bottom, but the caption doesn't align with the margin (there is a space between the text and the margin). The one aligned at the top, however, does align to the margin, so I didn't want to mess with the padding the figure environment has.



Edit:



Here's a screenshot, I drew the redline (on an editor) to indicate the spacing I am talking about.



CaptionSpacing










share|improve this question




















  • 1





    Please add an screenshot of your result to your question and mark there your issue. Then we can compare with the result on our computer ...

    – Kurt
    Feb 15 at 21:38











  • You did specify double spacing. Seriously, setspace does horrible things to documents in order to emulate a typewriter. Admittedly removing setspace does not perfectly align the baseline of the caption with the bottom of the page, due to space added both by caption and figure.

    – John Kormylo
    Feb 16 at 3:48
















1















I am looking to put a figure at the bottom of my document in a way that the caption is aligned with the bottom margin (i.e. no space between text and margin). Here's a MWE:



documentclass[12pt]{report}
usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
usepackage[document]{ragged2e}
usepackage{setspace}
usepackage{graphicx}
usepackage[labelfont=bf,justification=RaggedRight,singlelinecheck=off,%
labelsep=period]{caption}
usepackage{duckuments}
usepackage{blindtext}

begin{document}
RaggedRight
doublespace
chapter{Title of chapter}
blindtext
begin{figure}[b]
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
end{figure}
blindtext
blindtext
begin{figure}[t]
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is the caption.}
end{figure}
end{document}


The first figure is set at the bottom, but the caption doesn't align with the margin (there is a space between the text and the margin). The one aligned at the top, however, does align to the margin, so I didn't want to mess with the padding the figure environment has.



Edit:



Here's a screenshot, I drew the redline (on an editor) to indicate the spacing I am talking about.



CaptionSpacing










share|improve this question




















  • 1





    Please add an screenshot of your result to your question and mark there your issue. Then we can compare with the result on our computer ...

    – Kurt
    Feb 15 at 21:38











  • You did specify double spacing. Seriously, setspace does horrible things to documents in order to emulate a typewriter. Admittedly removing setspace does not perfectly align the baseline of the caption with the bottom of the page, due to space added both by caption and figure.

    – John Kormylo
    Feb 16 at 3:48














1












1








1


1






I am looking to put a figure at the bottom of my document in a way that the caption is aligned with the bottom margin (i.e. no space between text and margin). Here's a MWE:



documentclass[12pt]{report}
usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
usepackage[document]{ragged2e}
usepackage{setspace}
usepackage{graphicx}
usepackage[labelfont=bf,justification=RaggedRight,singlelinecheck=off,%
labelsep=period]{caption}
usepackage{duckuments}
usepackage{blindtext}

begin{document}
RaggedRight
doublespace
chapter{Title of chapter}
blindtext
begin{figure}[b]
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
end{figure}
blindtext
blindtext
begin{figure}[t]
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is the caption.}
end{figure}
end{document}


The first figure is set at the bottom, but the caption doesn't align with the margin (there is a space between the text and the margin). The one aligned at the top, however, does align to the margin, so I didn't want to mess with the padding the figure environment has.



Edit:



Here's a screenshot, I drew the redline (on an editor) to indicate the spacing I am talking about.



CaptionSpacing










share|improve this question
















I am looking to put a figure at the bottom of my document in a way that the caption is aligned with the bottom margin (i.e. no space between text and margin). Here's a MWE:



documentclass[12pt]{report}
usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
usepackage[document]{ragged2e}
usepackage{setspace}
usepackage{graphicx}
usepackage[labelfont=bf,justification=RaggedRight,singlelinecheck=off,%
labelsep=period]{caption}
usepackage{duckuments}
usepackage{blindtext}

begin{document}
RaggedRight
doublespace
chapter{Title of chapter}
blindtext
begin{figure}[b]
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
end{figure}
blindtext
blindtext
begin{figure}[t]
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is the caption.}
end{figure}
end{document}


The first figure is set at the bottom, but the caption doesn't align with the margin (there is a space between the text and the margin). The one aligned at the top, however, does align to the margin, so I didn't want to mess with the padding the figure environment has.



Edit:



Here's a screenshot, I drew the redline (on an editor) to indicate the spacing I am talking about.



CaptionSpacing







captions margins






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 15 at 22:33









Kurt

38.2k847162




38.2k847162










asked Feb 15 at 21:36









ralk912ralk912

1818




1818








  • 1





    Please add an screenshot of your result to your question and mark there your issue. Then we can compare with the result on our computer ...

    – Kurt
    Feb 15 at 21:38











  • You did specify double spacing. Seriously, setspace does horrible things to documents in order to emulate a typewriter. Admittedly removing setspace does not perfectly align the baseline of the caption with the bottom of the page, due to space added both by caption and figure.

    – John Kormylo
    Feb 16 at 3:48














  • 1





    Please add an screenshot of your result to your question and mark there your issue. Then we can compare with the result on our computer ...

    – Kurt
    Feb 15 at 21:38











  • You did specify double spacing. Seriously, setspace does horrible things to documents in order to emulate a typewriter. Admittedly removing setspace does not perfectly align the baseline of the caption with the bottom of the page, due to space added both by caption and figure.

    – John Kormylo
    Feb 16 at 3:48








1




1





Please add an screenshot of your result to your question and mark there your issue. Then we can compare with the result on our computer ...

– Kurt
Feb 15 at 21:38





Please add an screenshot of your result to your question and mark there your issue. Then we can compare with the result on our computer ...

– Kurt
Feb 15 at 21:38













You did specify double spacing. Seriously, setspace does horrible things to documents in order to emulate a typewriter. Admittedly removing setspace does not perfectly align the baseline of the caption with the bottom of the page, due to space added both by caption and figure.

– John Kormylo
Feb 16 at 3:48





You did specify double spacing. Seriously, setspace does horrible things to documents in order to emulate a typewriter. Admittedly removing setspace does not perfectly align the baseline of the caption with the bottom of the page, due to space added both by caption and figure.

– John Kormylo
Feb 16 at 3:48










2 Answers
2






active

oldest

votes


















2














You can use flushbottom to get always the last line of a page aligned with the bottom of typing area.



Please see the code:



documentclass[12pt]{report}

usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
usepackage[document]{ragged2e}
usepackage{setspace}
usepackage{graphicx}
usepackage[%
labelfont=bf,
justification=RaggedRight,
singlelinecheck=off,%
labelsep=period
]{caption}

usepackage{duckuments}
usepackage{blindtext}


begin{document}
flushbottom % <========================================================
RaggedRight
doublespace
chapter{Title of chapter}
blindtext
begin{figure}[b]
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
end{figure}
blindtext
blindtext
begin{figure}[t]
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is the caption.}
end{figure}
end{document}


and the result:



resulting pdf






share|improve this answer


























  • That works. Would this affect the whole document? Or is there a way to turn it off/on on certain chapters/sections? Not sure I'll need that, but just in case.

    – ralk912
    Feb 15 at 22:13











  • @ralk912 Yes, it affects the complete document. You can use raggedbottom to get not aligned lines at the bottom, but I would not do that, it changes the typography and can result in an ugly layout. Decide to use the one or other and then do not change this for the complete document.

    – Kurt
    Feb 15 at 22:20



















0














It seems that when the text is stretched to fit the page, the bottom float is pulled up. So by letting textfloatsep expand instead, one can prevent that from happening. All that is left is to remove the space below the baseline of the caption.



documentclass[12pt]{report}
usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
usepackage[document]{ragged2e}
usepackage{setspace}
usepackage{graphicx}
usepackage[labelfont=bf,justification=RaggedRight,singlelinecheck=off,%
labelsep=period]{caption}
usepackage{duckuments}
usepackage{blindtext}

addtolength{textfloatsep}{0pt plus 0.01fil}

begin{document}
RaggedRight
doublespace
chapter{Title of chapter}
blindtext
begin{figure}[b]
hrule
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
vskip-dpstrutbox%hrule
end{figure}
blindtext
blindtext
begin{figure}[t]
centering
includegraphics[height=3cm]{example-image-duck}
caption{This is the caption.}
end{figure}
end{document}





share|improve this answer























    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%2f475103%2fspace-between-figure-caption-and-bottom-margin%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    You can use flushbottom to get always the last line of a page aligned with the bottom of typing area.



    Please see the code:



    documentclass[12pt]{report}

    usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
    usepackage[document]{ragged2e}
    usepackage{setspace}
    usepackage{graphicx}
    usepackage[%
    labelfont=bf,
    justification=RaggedRight,
    singlelinecheck=off,%
    labelsep=period
    ]{caption}

    usepackage{duckuments}
    usepackage{blindtext}


    begin{document}
    flushbottom % <========================================================
    RaggedRight
    doublespace
    chapter{Title of chapter}
    blindtext
    begin{figure}[b]
    centering
    includegraphics[height=3cm]{example-image-duck}
    caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
    end{figure}
    blindtext
    blindtext
    begin{figure}[t]
    centering
    includegraphics[height=3cm]{example-image-duck}
    caption{This is the caption.}
    end{figure}
    end{document}


    and the result:



    resulting pdf






    share|improve this answer


























    • That works. Would this affect the whole document? Or is there a way to turn it off/on on certain chapters/sections? Not sure I'll need that, but just in case.

      – ralk912
      Feb 15 at 22:13











    • @ralk912 Yes, it affects the complete document. You can use raggedbottom to get not aligned lines at the bottom, but I would not do that, it changes the typography and can result in an ugly layout. Decide to use the one or other and then do not change this for the complete document.

      – Kurt
      Feb 15 at 22:20
















    2














    You can use flushbottom to get always the last line of a page aligned with the bottom of typing area.



    Please see the code:



    documentclass[12pt]{report}

    usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
    usepackage[document]{ragged2e}
    usepackage{setspace}
    usepackage{graphicx}
    usepackage[%
    labelfont=bf,
    justification=RaggedRight,
    singlelinecheck=off,%
    labelsep=period
    ]{caption}

    usepackage{duckuments}
    usepackage{blindtext}


    begin{document}
    flushbottom % <========================================================
    RaggedRight
    doublespace
    chapter{Title of chapter}
    blindtext
    begin{figure}[b]
    centering
    includegraphics[height=3cm]{example-image-duck}
    caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
    end{figure}
    blindtext
    blindtext
    begin{figure}[t]
    centering
    includegraphics[height=3cm]{example-image-duck}
    caption{This is the caption.}
    end{figure}
    end{document}


    and the result:



    resulting pdf






    share|improve this answer


























    • That works. Would this affect the whole document? Or is there a way to turn it off/on on certain chapters/sections? Not sure I'll need that, but just in case.

      – ralk912
      Feb 15 at 22:13











    • @ralk912 Yes, it affects the complete document. You can use raggedbottom to get not aligned lines at the bottom, but I would not do that, it changes the typography and can result in an ugly layout. Decide to use the one or other and then do not change this for the complete document.

      – Kurt
      Feb 15 at 22:20














    2












    2








    2







    You can use flushbottom to get always the last line of a page aligned with the bottom of typing area.



    Please see the code:



    documentclass[12pt]{report}

    usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
    usepackage[document]{ragged2e}
    usepackage{setspace}
    usepackage{graphicx}
    usepackage[%
    labelfont=bf,
    justification=RaggedRight,
    singlelinecheck=off,%
    labelsep=period
    ]{caption}

    usepackage{duckuments}
    usepackage{blindtext}


    begin{document}
    flushbottom % <========================================================
    RaggedRight
    doublespace
    chapter{Title of chapter}
    blindtext
    begin{figure}[b]
    centering
    includegraphics[height=3cm]{example-image-duck}
    caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
    end{figure}
    blindtext
    blindtext
    begin{figure}[t]
    centering
    includegraphics[height=3cm]{example-image-duck}
    caption{This is the caption.}
    end{figure}
    end{document}


    and the result:



    resulting pdf






    share|improve this answer















    You can use flushbottom to get always the last line of a page aligned with the bottom of typing area.



    Please see the code:



    documentclass[12pt]{report}

    usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
    usepackage[document]{ragged2e}
    usepackage{setspace}
    usepackage{graphicx}
    usepackage[%
    labelfont=bf,
    justification=RaggedRight,
    singlelinecheck=off,%
    labelsep=period
    ]{caption}

    usepackage{duckuments}
    usepackage{blindtext}


    begin{document}
    flushbottom % <========================================================
    RaggedRight
    doublespace
    chapter{Title of chapter}
    blindtext
    begin{figure}[b]
    centering
    includegraphics[height=3cm]{example-image-duck}
    caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
    end{figure}
    blindtext
    blindtext
    begin{figure}[t]
    centering
    includegraphics[height=3cm]{example-image-duck}
    caption{This is the caption.}
    end{figure}
    end{document}


    and the result:



    resulting pdf







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 7 mins ago

























    answered Feb 15 at 21:47









    KurtKurt

    38.2k847162




    38.2k847162













    • That works. Would this affect the whole document? Or is there a way to turn it off/on on certain chapters/sections? Not sure I'll need that, but just in case.

      – ralk912
      Feb 15 at 22:13











    • @ralk912 Yes, it affects the complete document. You can use raggedbottom to get not aligned lines at the bottom, but I would not do that, it changes the typography and can result in an ugly layout. Decide to use the one or other and then do not change this for the complete document.

      – Kurt
      Feb 15 at 22:20



















    • That works. Would this affect the whole document? Or is there a way to turn it off/on on certain chapters/sections? Not sure I'll need that, but just in case.

      – ralk912
      Feb 15 at 22:13











    • @ralk912 Yes, it affects the complete document. You can use raggedbottom to get not aligned lines at the bottom, but I would not do that, it changes the typography and can result in an ugly layout. Decide to use the one or other and then do not change this for the complete document.

      – Kurt
      Feb 15 at 22:20

















    That works. Would this affect the whole document? Or is there a way to turn it off/on on certain chapters/sections? Not sure I'll need that, but just in case.

    – ralk912
    Feb 15 at 22:13





    That works. Would this affect the whole document? Or is there a way to turn it off/on on certain chapters/sections? Not sure I'll need that, but just in case.

    – ralk912
    Feb 15 at 22:13













    @ralk912 Yes, it affects the complete document. You can use raggedbottom to get not aligned lines at the bottom, but I would not do that, it changes the typography and can result in an ugly layout. Decide to use the one or other and then do not change this for the complete document.

    – Kurt
    Feb 15 at 22:20





    @ralk912 Yes, it affects the complete document. You can use raggedbottom to get not aligned lines at the bottom, but I would not do that, it changes the typography and can result in an ugly layout. Decide to use the one or other and then do not change this for the complete document.

    – Kurt
    Feb 15 at 22:20











    0














    It seems that when the text is stretched to fit the page, the bottom float is pulled up. So by letting textfloatsep expand instead, one can prevent that from happening. All that is left is to remove the space below the baseline of the caption.



    documentclass[12pt]{report}
    usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
    usepackage[document]{ragged2e}
    usepackage{setspace}
    usepackage{graphicx}
    usepackage[labelfont=bf,justification=RaggedRight,singlelinecheck=off,%
    labelsep=period]{caption}
    usepackage{duckuments}
    usepackage{blindtext}

    addtolength{textfloatsep}{0pt plus 0.01fil}

    begin{document}
    RaggedRight
    doublespace
    chapter{Title of chapter}
    blindtext
    begin{figure}[b]
    hrule
    centering
    includegraphics[height=3cm]{example-image-duck}
    caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
    vskip-dpstrutbox%hrule
    end{figure}
    blindtext
    blindtext
    begin{figure}[t]
    centering
    includegraphics[height=3cm]{example-image-duck}
    caption{This is the caption.}
    end{figure}
    end{document}





    share|improve this answer




























      0














      It seems that when the text is stretched to fit the page, the bottom float is pulled up. So by letting textfloatsep expand instead, one can prevent that from happening. All that is left is to remove the space below the baseline of the caption.



      documentclass[12pt]{report}
      usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
      usepackage[document]{ragged2e}
      usepackage{setspace}
      usepackage{graphicx}
      usepackage[labelfont=bf,justification=RaggedRight,singlelinecheck=off,%
      labelsep=period]{caption}
      usepackage{duckuments}
      usepackage{blindtext}

      addtolength{textfloatsep}{0pt plus 0.01fil}

      begin{document}
      RaggedRight
      doublespace
      chapter{Title of chapter}
      blindtext
      begin{figure}[b]
      hrule
      centering
      includegraphics[height=3cm]{example-image-duck}
      caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
      vskip-dpstrutbox%hrule
      end{figure}
      blindtext
      blindtext
      begin{figure}[t]
      centering
      includegraphics[height=3cm]{example-image-duck}
      caption{This is the caption.}
      end{figure}
      end{document}





      share|improve this answer


























        0












        0








        0







        It seems that when the text is stretched to fit the page, the bottom float is pulled up. So by letting textfloatsep expand instead, one can prevent that from happening. All that is left is to remove the space below the baseline of the caption.



        documentclass[12pt]{report}
        usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
        usepackage[document]{ragged2e}
        usepackage{setspace}
        usepackage{graphicx}
        usepackage[labelfont=bf,justification=RaggedRight,singlelinecheck=off,%
        labelsep=period]{caption}
        usepackage{duckuments}
        usepackage{blindtext}

        addtolength{textfloatsep}{0pt plus 0.01fil}

        begin{document}
        RaggedRight
        doublespace
        chapter{Title of chapter}
        blindtext
        begin{figure}[b]
        hrule
        centering
        includegraphics[height=3cm]{example-image-duck}
        caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
        vskip-dpstrutbox%hrule
        end{figure}
        blindtext
        blindtext
        begin{figure}[t]
        centering
        includegraphics[height=3cm]{example-image-duck}
        caption{This is the caption.}
        end{figure}
        end{document}





        share|improve this answer













        It seems that when the text is stretched to fit the page, the bottom float is pulled up. So by letting textfloatsep expand instead, one can prevent that from happening. All that is left is to remove the space below the baseline of the caption.



        documentclass[12pt]{report}
        usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]{geometry}
        usepackage[document]{ragged2e}
        usepackage{setspace}
        usepackage{graphicx}
        usepackage[labelfont=bf,justification=RaggedRight,singlelinecheck=off,%
        labelsep=period]{caption}
        usepackage{duckuments}
        usepackage{blindtext}

        addtolength{textfloatsep}{0pt plus 0.01fil}

        begin{document}
        RaggedRight
        doublespace
        chapter{Title of chapter}
        blindtext
        begin{figure}[b]
        hrule
        centering
        includegraphics[height=3cm]{example-image-duck}
        caption{This is a caption that is very long for the figure and it should be aligned with the bottom margin}
        vskip-dpstrutbox%hrule
        end{figure}
        blindtext
        blindtext
        begin{figure}[t]
        centering
        includegraphics[height=3cm]{example-image-duck}
        caption{This is the caption.}
        end{figure}
        end{document}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 16 at 4:41









        John KormyloJohn Kormylo

        44.6k12568




        44.6k12568






























            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%2f475103%2fspace-between-figure-caption-and-bottom-margin%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

            Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

            Schneeberg (Smreczany) Bibliografia | Menu...

            Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...