How can I align minipages by their absolute top, rather than their uppermost baseline?Aligning marginal notes with center of line rather than baselineVertically align two boxes based on their top borders, not on baselineTwo figures side by side with text wrappingHow to align the top of two minipagesVertical alignment of image an text within tabular environment placed in header using fancyhdr packageAligning two minipages - one with lstlisting, one without - on top?Vertically aligning minipages, subfigures, and subtables (not with baseline)How to keep same baseline skip in two vertically aligned minipagesHow can I top align AND left align a box flush with the top of a paragraph?Vertically align minipages within a minipage - top and center

Taxes on Dividends in a Roth IRA

Giving feedback to someone without sounding prejudiced

C++ check if statement can be evaluated constexpr

What does Apple's new App Store requirement mean

"It doesn't matter" or "it won't matter"?

What is the difference between lands and mana?

How to explain what's wrong with this application of the chain rule?

15% tax on $7.5k earnings. Is that right?

Does the Linux kernel need a file system to run?

What is going on with gets(stdin) on the site coderbyte?

What is Cash Advance APR?

Does Doodling or Improvising on the Piano Have Any Benefits?

How do you make your own symbol when Detexify fails?

Creating two special characters

Is it allowed to activate the ability of multiple planeswalkers in a single turn?

awk assign to multiple variables at once

How much theory knowledge is actually used while playing?

Circuit Analysis: Obtaining Close Loop OP - AMP Transfer function

How to make money from a browser who sees 5 seconds into the future of any web page?

US tourist/student visa

Why is the "ls" command showing permissions of files in a FAT32 partition?

Quoting Keynes in a lecture

Is this toilet slogan correct usage of the English language?

How can I write humor as character trait?



How can I align minipages by their absolute top, rather than their uppermost baseline?


Aligning marginal notes with center of line rather than baselineVertically align two boxes based on their top borders, not on baselineTwo figures side by side with text wrappingHow to align the top of two minipagesVertical alignment of image an text within tabular environment placed in header using fancyhdr packageAligning two minipages - one with lstlisting, one without - on top?Vertically aligning minipages, subfigures, and subtables (not with baseline)How to keep same baseline skip in two vertically aligned minipagesHow can I top align AND left align a box flush with the top of a paragraph?Vertically align minipages within a minipage - top and center













2















I have two minipages side-by-side, and one is of a larger font size than the other – this is to produce a title. However, the baselines of the minipages are aligned, and not the top. I would prefer for the text in both minipages to align at their tops rather than their baselines.



Here is a minimal working example, and its output:



documentclassarticle

% Show the frame to see the line I would like to align at.
usepackage[showframe]geometry

begindocument
noindent
beginminipage[t]80pthuge Baselineendminipage
beginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
enddocument


Produced Output



To be clear, I would like for the paragraph on the right to touch the top line just like the huge text on the left.



I tried to align the top by first having a rule0pt1emvspace-1em before the paragraphs start, but this doesn't work, presumably due to the change in line separation in different sizes, and the alignment gets even worse. I won't show the result but here's the code for that anyway:



documentclassarticle
usepackage[showframe]geometry
% This does NOT produce the desired result.
begindocument
noindent
beginminipage[t]80pt%
rule0pt1emvspace-1em

huge Baseline
endminipage
beginminipage[t]100pt%
rule0pt1emvspace-1em

Baseline baseline with lots and lots of text, consider this a paragraph
endminipage
enddocument


So: how can I align the tops of these minipages, rather than aligning their top baseline?










share|improve this question






















  • You can add a vspace0pt in the beginning of each one.

    – Phelype Oleinik
    11 hours ago











  • @PhelypeOleinik This aligns them, but adds extra space at the top - how can I remove this extra space? Presumably it is another baselineskip, right? EDIT: it's 1em and this solves the issue.

    – AJFarmar
    11 hours ago












  • Hm... There's that... Sorry, I don't know. I'll retract my close vote. It looks like that if you set topskip=0pt before the minipages (and make sure you restore it after) that extra space will disappear. I'm not sure if this is correct, though.

    – Phelype Oleinik
    10 hours ago
















2















I have two minipages side-by-side, and one is of a larger font size than the other – this is to produce a title. However, the baselines of the minipages are aligned, and not the top. I would prefer for the text in both minipages to align at their tops rather than their baselines.



Here is a minimal working example, and its output:



documentclassarticle

% Show the frame to see the line I would like to align at.
usepackage[showframe]geometry

begindocument
noindent
beginminipage[t]80pthuge Baselineendminipage
beginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
enddocument


Produced Output



To be clear, I would like for the paragraph on the right to touch the top line just like the huge text on the left.



I tried to align the top by first having a rule0pt1emvspace-1em before the paragraphs start, but this doesn't work, presumably due to the change in line separation in different sizes, and the alignment gets even worse. I won't show the result but here's the code for that anyway:



documentclassarticle
usepackage[showframe]geometry
% This does NOT produce the desired result.
begindocument
noindent
beginminipage[t]80pt%
rule0pt1emvspace-1em

huge Baseline
endminipage
beginminipage[t]100pt%
rule0pt1emvspace-1em

Baseline baseline with lots and lots of text, consider this a paragraph
endminipage
enddocument


So: how can I align the tops of these minipages, rather than aligning their top baseline?










share|improve this question






















  • You can add a vspace0pt in the beginning of each one.

    – Phelype Oleinik
    11 hours ago











  • @PhelypeOleinik This aligns them, but adds extra space at the top - how can I remove this extra space? Presumably it is another baselineskip, right? EDIT: it's 1em and this solves the issue.

    – AJFarmar
    11 hours ago












  • Hm... There's that... Sorry, I don't know. I'll retract my close vote. It looks like that if you set topskip=0pt before the minipages (and make sure you restore it after) that extra space will disappear. I'm not sure if this is correct, though.

    – Phelype Oleinik
    10 hours ago














2












2








2








I have two minipages side-by-side, and one is of a larger font size than the other – this is to produce a title. However, the baselines of the minipages are aligned, and not the top. I would prefer for the text in both minipages to align at their tops rather than their baselines.



Here is a minimal working example, and its output:



documentclassarticle

% Show the frame to see the line I would like to align at.
usepackage[showframe]geometry

begindocument
noindent
beginminipage[t]80pthuge Baselineendminipage
beginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
enddocument


Produced Output



To be clear, I would like for the paragraph on the right to touch the top line just like the huge text on the left.



I tried to align the top by first having a rule0pt1emvspace-1em before the paragraphs start, but this doesn't work, presumably due to the change in line separation in different sizes, and the alignment gets even worse. I won't show the result but here's the code for that anyway:



documentclassarticle
usepackage[showframe]geometry
% This does NOT produce the desired result.
begindocument
noindent
beginminipage[t]80pt%
rule0pt1emvspace-1em

huge Baseline
endminipage
beginminipage[t]100pt%
rule0pt1emvspace-1em

Baseline baseline with lots and lots of text, consider this a paragraph
endminipage
enddocument


So: how can I align the tops of these minipages, rather than aligning their top baseline?










share|improve this question














I have two minipages side-by-side, and one is of a larger font size than the other – this is to produce a title. However, the baselines of the minipages are aligned, and not the top. I would prefer for the text in both minipages to align at their tops rather than their baselines.



Here is a minimal working example, and its output:



documentclassarticle

% Show the frame to see the line I would like to align at.
usepackage[showframe]geometry

begindocument
noindent
beginminipage[t]80pthuge Baselineendminipage
beginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
enddocument


Produced Output



To be clear, I would like for the paragraph on the right to touch the top line just like the huge text on the left.



I tried to align the top by first having a rule0pt1emvspace-1em before the paragraphs start, but this doesn't work, presumably due to the change in line separation in different sizes, and the alignment gets even worse. I won't show the result but here's the code for that anyway:



documentclassarticle
usepackage[showframe]geometry
% This does NOT produce the desired result.
begindocument
noindent
beginminipage[t]80pt%
rule0pt1emvspace-1em

huge Baseline
endminipage
beginminipage[t]100pt%
rule0pt1emvspace-1em

Baseline baseline with lots and lots of text, consider this a paragraph
endminipage
enddocument


So: how can I align the tops of these minipages, rather than aligning their top baseline?







formatting vertical-alignment minipage






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 11 hours ago









AJFarmarAJFarmar

1517




1517












  • You can add a vspace0pt in the beginning of each one.

    – Phelype Oleinik
    11 hours ago











  • @PhelypeOleinik This aligns them, but adds extra space at the top - how can I remove this extra space? Presumably it is another baselineskip, right? EDIT: it's 1em and this solves the issue.

    – AJFarmar
    11 hours ago












  • Hm... There's that... Sorry, I don't know. I'll retract my close vote. It looks like that if you set topskip=0pt before the minipages (and make sure you restore it after) that extra space will disappear. I'm not sure if this is correct, though.

    – Phelype Oleinik
    10 hours ago


















  • You can add a vspace0pt in the beginning of each one.

    – Phelype Oleinik
    11 hours ago











  • @PhelypeOleinik This aligns them, but adds extra space at the top - how can I remove this extra space? Presumably it is another baselineskip, right? EDIT: it's 1em and this solves the issue.

    – AJFarmar
    11 hours ago












  • Hm... There's that... Sorry, I don't know. I'll retract my close vote. It looks like that if you set topskip=0pt before the minipages (and make sure you restore it after) that extra space will disappear. I'm not sure if this is correct, though.

    – Phelype Oleinik
    10 hours ago

















You can add a vspace0pt in the beginning of each one.

– Phelype Oleinik
11 hours ago





You can add a vspace0pt in the beginning of each one.

– Phelype Oleinik
11 hours ago













@PhelypeOleinik This aligns them, but adds extra space at the top - how can I remove this extra space? Presumably it is another baselineskip, right? EDIT: it's 1em and this solves the issue.

– AJFarmar
11 hours ago






@PhelypeOleinik This aligns them, but adds extra space at the top - how can I remove this extra space? Presumably it is another baselineskip, right? EDIT: it's 1em and this solves the issue.

– AJFarmar
11 hours ago














Hm... There's that... Sorry, I don't know. I'll retract my close vote. It looks like that if you set topskip=0pt before the minipages (and make sure you restore it after) that extra space will disappear. I'm not sure if this is correct, though.

– Phelype Oleinik
10 hours ago






Hm... There's that... Sorry, I don't know. I'll retract my close vote. It looks like that if you set topskip=0pt before the minipages (and make sure you restore it after) that extra space will disappear. I'm not sure if this is correct, though.

– Phelype Oleinik
10 hours ago











4 Answers
4






active

oldest

votes


















2














The belowbaseline[<depth>]<content> macro of stackengine. Note, there is a corresponding abovebaseline[<height>]<content> macro.



documentclassarticle
usepackagestackengine
% Show the frame to see the line I would like to align at.
usepackage[showframe]geometry

begindocument
noindent
belowbaseline[-htstrutbox]beginminipage[t]80pthuge Baselineendminipage
belowbaseline[-htstrutbox]beginminipage[t]100ptBaseline baseline with lots and
lots of text, consider this a paragraphendminipage
enddocument


enter image description here






share|improve this answer
































    2














    This seems to also work:



    enter image description here



    documentclassarticle

    % Show the frame to see the line I would like to align at.
    usepackage[showframe]geometry

    begindocument
    noindent
    raiseboxbaselineskipraisebox-heightbeginminipage[t]80pthuge Baselineendminipage
    raisebox-heightbeginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
    enddocument





    share|improve this answer
































      2














      One can use raisebox to move the baseline of a box (with TeX everything is a box). It should be noted that the first baseline of a page is located topskip below the actual top. Otherwise, one should use htstrutbox.



      documentclassarticle

      % Show the frame to see the line I would like to align at.
      usepackage[showframe]geometry

      begindocument
      noindent
      raiseboxdimexpr topskip-heightbeginminipage[t]80pthuge Baselineendminipage
      raiseboxdimexpr topskip-heightbeginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
      enddocument


      demo






      share|improve this answer
































        1














        As pointed out by @Phelype Oleninik, adding a vspace0pt aligns the two with an extra line which is topskip tall. Hence adding the line vspace0ptvspace-topskip, or even just vspace-topskip, aligns the two paragraphs at the top of their minipages. Here is working code:



        documentclassarticle
        usepackage[showframe]geometry
        begindocument
        noindent
        beginminipage[t]80pt%
        vspace-topskip
        huge Baseline
        endminipage
        beginminipage[t]100pt%
        vspace-topskip
        Baseline baseline with lots and lots of text, consider this a paragraph
        endminipage
        enddocument


        Result:
        enter image description here






        share|improve this answer

























        • Coincidentally (more or less) 1em is 10.00002pt, and the topskip is 10pt by default... Perhaps vspace-topskip :)

          – Phelype Oleinik
          10 hours ago











        • @PhelypeOleinik A good point, topskip it is! Using topskip also produces better results with higher point-sizes.

          – AJFarmar
          10 hours ago











        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%2f480687%2fhow-can-i-align-minipages-by-their-absolute-top-rather-than-their-uppermost-bas%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        2














        The belowbaseline[<depth>]<content> macro of stackengine. Note, there is a corresponding abovebaseline[<height>]<content> macro.



        documentclassarticle
        usepackagestackengine
        % Show the frame to see the line I would like to align at.
        usepackage[showframe]geometry

        begindocument
        noindent
        belowbaseline[-htstrutbox]beginminipage[t]80pthuge Baselineendminipage
        belowbaseline[-htstrutbox]beginminipage[t]100ptBaseline baseline with lots and
        lots of text, consider this a paragraphendminipage
        enddocument


        enter image description here






        share|improve this answer





























          2














          The belowbaseline[<depth>]<content> macro of stackengine. Note, there is a corresponding abovebaseline[<height>]<content> macro.



          documentclassarticle
          usepackagestackengine
          % Show the frame to see the line I would like to align at.
          usepackage[showframe]geometry

          begindocument
          noindent
          belowbaseline[-htstrutbox]beginminipage[t]80pthuge Baselineendminipage
          belowbaseline[-htstrutbox]beginminipage[t]100ptBaseline baseline with lots and
          lots of text, consider this a paragraphendminipage
          enddocument


          enter image description here






          share|improve this answer



























            2












            2








            2







            The belowbaseline[<depth>]<content> macro of stackengine. Note, there is a corresponding abovebaseline[<height>]<content> macro.



            documentclassarticle
            usepackagestackengine
            % Show the frame to see the line I would like to align at.
            usepackage[showframe]geometry

            begindocument
            noindent
            belowbaseline[-htstrutbox]beginminipage[t]80pthuge Baselineendminipage
            belowbaseline[-htstrutbox]beginminipage[t]100ptBaseline baseline with lots and
            lots of text, consider this a paragraphendminipage
            enddocument


            enter image description here






            share|improve this answer















            The belowbaseline[<depth>]<content> macro of stackengine. Note, there is a corresponding abovebaseline[<height>]<content> macro.



            documentclassarticle
            usepackagestackengine
            % Show the frame to see the line I would like to align at.
            usepackage[showframe]geometry

            begindocument
            noindent
            belowbaseline[-htstrutbox]beginminipage[t]80pthuge Baselineendminipage
            belowbaseline[-htstrutbox]beginminipage[t]100ptBaseline baseline with lots and
            lots of text, consider this a paragraphendminipage
            enddocument


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 10 hours ago

























            answered 10 hours ago









            Steven B. SegletesSteven B. Segletes

            159k9204411




            159k9204411





















                2














                This seems to also work:



                enter image description here



                documentclassarticle

                % Show the frame to see the line I would like to align at.
                usepackage[showframe]geometry

                begindocument
                noindent
                raiseboxbaselineskipraisebox-heightbeginminipage[t]80pthuge Baselineendminipage
                raisebox-heightbeginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
                enddocument





                share|improve this answer





























                  2














                  This seems to also work:



                  enter image description here



                  documentclassarticle

                  % Show the frame to see the line I would like to align at.
                  usepackage[showframe]geometry

                  begindocument
                  noindent
                  raiseboxbaselineskipraisebox-heightbeginminipage[t]80pthuge Baselineendminipage
                  raisebox-heightbeginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
                  enddocument





                  share|improve this answer



























                    2












                    2








                    2







                    This seems to also work:



                    enter image description here



                    documentclassarticle

                    % Show the frame to see the line I would like to align at.
                    usepackage[showframe]geometry

                    begindocument
                    noindent
                    raiseboxbaselineskipraisebox-heightbeginminipage[t]80pthuge Baselineendminipage
                    raisebox-heightbeginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
                    enddocument





                    share|improve this answer















                    This seems to also work:



                    enter image description here



                    documentclassarticle

                    % Show the frame to see the line I would like to align at.
                    usepackage[showframe]geometry

                    begindocument
                    noindent
                    raiseboxbaselineskipraisebox-heightbeginminipage[t]80pthuge Baselineendminipage
                    raisebox-heightbeginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
                    enddocument






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited 10 hours ago

























                    answered 10 hours ago









                    AlexGAlexG

                    34.3k480149




                    34.3k480149





















                        2














                        One can use raisebox to move the baseline of a box (with TeX everything is a box). It should be noted that the first baseline of a page is located topskip below the actual top. Otherwise, one should use htstrutbox.



                        documentclassarticle

                        % Show the frame to see the line I would like to align at.
                        usepackage[showframe]geometry

                        begindocument
                        noindent
                        raiseboxdimexpr topskip-heightbeginminipage[t]80pthuge Baselineendminipage
                        raiseboxdimexpr topskip-heightbeginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
                        enddocument


                        demo






                        share|improve this answer





























                          2














                          One can use raisebox to move the baseline of a box (with TeX everything is a box). It should be noted that the first baseline of a page is located topskip below the actual top. Otherwise, one should use htstrutbox.



                          documentclassarticle

                          % Show the frame to see the line I would like to align at.
                          usepackage[showframe]geometry

                          begindocument
                          noindent
                          raiseboxdimexpr topskip-heightbeginminipage[t]80pthuge Baselineendminipage
                          raiseboxdimexpr topskip-heightbeginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
                          enddocument


                          demo






                          share|improve this answer



























                            2












                            2








                            2







                            One can use raisebox to move the baseline of a box (with TeX everything is a box). It should be noted that the first baseline of a page is located topskip below the actual top. Otherwise, one should use htstrutbox.



                            documentclassarticle

                            % Show the frame to see the line I would like to align at.
                            usepackage[showframe]geometry

                            begindocument
                            noindent
                            raiseboxdimexpr topskip-heightbeginminipage[t]80pthuge Baselineendminipage
                            raiseboxdimexpr topskip-heightbeginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
                            enddocument


                            demo






                            share|improve this answer















                            One can use raisebox to move the baseline of a box (with TeX everything is a box). It should be noted that the first baseline of a page is located topskip below the actual top. Otherwise, one should use htstrutbox.



                            documentclassarticle

                            % Show the frame to see the line I would like to align at.
                            usepackage[showframe]geometry

                            begindocument
                            noindent
                            raiseboxdimexpr topskip-heightbeginminipage[t]80pthuge Baselineendminipage
                            raiseboxdimexpr topskip-heightbeginminipage[t]100ptBaseline baseline with lots and lots of text, consider this a paragraphendminipage
                            enddocument


                            demo







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited 10 hours ago

























                            answered 10 hours ago









                            John KormyloJohn Kormylo

                            45.8k22672




                            45.8k22672





















                                1














                                As pointed out by @Phelype Oleninik, adding a vspace0pt aligns the two with an extra line which is topskip tall. Hence adding the line vspace0ptvspace-topskip, or even just vspace-topskip, aligns the two paragraphs at the top of their minipages. Here is working code:



                                documentclassarticle
                                usepackage[showframe]geometry
                                begindocument
                                noindent
                                beginminipage[t]80pt%
                                vspace-topskip
                                huge Baseline
                                endminipage
                                beginminipage[t]100pt%
                                vspace-topskip
                                Baseline baseline with lots and lots of text, consider this a paragraph
                                endminipage
                                enddocument


                                Result:
                                enter image description here






                                share|improve this answer

























                                • Coincidentally (more or less) 1em is 10.00002pt, and the topskip is 10pt by default... Perhaps vspace-topskip :)

                                  – Phelype Oleinik
                                  10 hours ago











                                • @PhelypeOleinik A good point, topskip it is! Using topskip also produces better results with higher point-sizes.

                                  – AJFarmar
                                  10 hours ago
















                                1














                                As pointed out by @Phelype Oleninik, adding a vspace0pt aligns the two with an extra line which is topskip tall. Hence adding the line vspace0ptvspace-topskip, or even just vspace-topskip, aligns the two paragraphs at the top of their minipages. Here is working code:



                                documentclassarticle
                                usepackage[showframe]geometry
                                begindocument
                                noindent
                                beginminipage[t]80pt%
                                vspace-topskip
                                huge Baseline
                                endminipage
                                beginminipage[t]100pt%
                                vspace-topskip
                                Baseline baseline with lots and lots of text, consider this a paragraph
                                endminipage
                                enddocument


                                Result:
                                enter image description here






                                share|improve this answer

























                                • Coincidentally (more or less) 1em is 10.00002pt, and the topskip is 10pt by default... Perhaps vspace-topskip :)

                                  – Phelype Oleinik
                                  10 hours ago











                                • @PhelypeOleinik A good point, topskip it is! Using topskip also produces better results with higher point-sizes.

                                  – AJFarmar
                                  10 hours ago














                                1












                                1








                                1







                                As pointed out by @Phelype Oleninik, adding a vspace0pt aligns the two with an extra line which is topskip tall. Hence adding the line vspace0ptvspace-topskip, or even just vspace-topskip, aligns the two paragraphs at the top of their minipages. Here is working code:



                                documentclassarticle
                                usepackage[showframe]geometry
                                begindocument
                                noindent
                                beginminipage[t]80pt%
                                vspace-topskip
                                huge Baseline
                                endminipage
                                beginminipage[t]100pt%
                                vspace-topskip
                                Baseline baseline with lots and lots of text, consider this a paragraph
                                endminipage
                                enddocument


                                Result:
                                enter image description here






                                share|improve this answer















                                As pointed out by @Phelype Oleninik, adding a vspace0pt aligns the two with an extra line which is topskip tall. Hence adding the line vspace0ptvspace-topskip, or even just vspace-topskip, aligns the two paragraphs at the top of their minipages. Here is working code:



                                documentclassarticle
                                usepackage[showframe]geometry
                                begindocument
                                noindent
                                beginminipage[t]80pt%
                                vspace-topskip
                                huge Baseline
                                endminipage
                                beginminipage[t]100pt%
                                vspace-topskip
                                Baseline baseline with lots and lots of text, consider this a paragraph
                                endminipage
                                enddocument


                                Result:
                                enter image description here







                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited 10 hours ago

























                                answered 10 hours ago









                                AJFarmarAJFarmar

                                1517




                                1517












                                • Coincidentally (more or less) 1em is 10.00002pt, and the topskip is 10pt by default... Perhaps vspace-topskip :)

                                  – Phelype Oleinik
                                  10 hours ago











                                • @PhelypeOleinik A good point, topskip it is! Using topskip also produces better results with higher point-sizes.

                                  – AJFarmar
                                  10 hours ago


















                                • Coincidentally (more or less) 1em is 10.00002pt, and the topskip is 10pt by default... Perhaps vspace-topskip :)

                                  – Phelype Oleinik
                                  10 hours ago











                                • @PhelypeOleinik A good point, topskip it is! Using topskip also produces better results with higher point-sizes.

                                  – AJFarmar
                                  10 hours ago

















                                Coincidentally (more or less) 1em is 10.00002pt, and the topskip is 10pt by default... Perhaps vspace-topskip :)

                                – Phelype Oleinik
                                10 hours ago





                                Coincidentally (more or less) 1em is 10.00002pt, and the topskip is 10pt by default... Perhaps vspace-topskip :)

                                – Phelype Oleinik
                                10 hours ago













                                @PhelypeOleinik A good point, topskip it is! Using topskip also produces better results with higher point-sizes.

                                – AJFarmar
                                10 hours ago






                                @PhelypeOleinik A good point, topskip it is! Using topskip also produces better results with higher point-sizes.

                                – AJFarmar
                                10 hours ago


















                                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%2f480687%2fhow-can-i-align-minipages-by-their-absolute-top-rather-than-their-uppermost-bas%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

                                Reverse int within the 32-bit signed integer range: [−2^31, 2^31 − 1]Combining two 32-bit integers into one 64-bit integerDetermine if an int is within rangeLossy packing 32 bit integer to 16 bitComputing the square root of a 64-bit integerKeeping integer addition within boundsSafe multiplication of two 64-bit signed integersLeetcode 10: Regular Expression MatchingSigned integer-to-ascii x86_64 assembler macroReverse the digits of an Integer“Add two numbers given in reverse order from a linked list”

                                Category:Fedor von Bock Media in category "Fedor von Bock"Navigation menuUpload mediaISNI: 0000 0000 5511 3417VIAF ID: 24712551GND ID: 119294796Library of Congress authority ID: n96068363BnF ID: 12534305fSUDOC authorities ID: 034604189Open Library ID: OL338253ANKCR AUT ID: jn19990000869National Library of Israel ID: 000514068National Thesaurus for Author Names ID: 341574317ReasonatorScholiaStatistics

                                Kiel Indholdsfortegnelse Historie | Transport og færgeforbindelser | Sejlsport og anden sport | Kultur | Kendte personer fra Kiel | Noter | Litteratur | Eksterne henvisninger | Navigationsmenuwww.kiel.de54°19′31″N 10°8′26″Ø / 54.32528°N 10.14056°Ø / 54.32528; 10.14056Oberbürgermeister Dr. Ulf Kämpferwww.statistik-nord.deDen danske Stats StatistikKiels hjemmesiderrrWorldCat312794080n790547494030481-4