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

What if a revenant (monster) gains fire resistance?

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

On a tidally locked planet, would time be quantized?

Is this toilet slogan correct usage of the English language?

What should you do when eye contact makes your subordinate uncomfortable?

Why is this estimator biased?

Why would a new[] expression ever invoke a destructor?

What is the English pronunciation of "pain au chocolat"?

Is there a way to get `mathscr' with lower case letters in pdfLaTeX?

What does chmod -u do?

Did arcade monitors have same pixel aspect ratio as TV sets?

Why Shazam when there is already Superman?

Moving brute-force search to FPGA

Non-trope happy ending?

What features enable the Su-25 Frogfoot to operate with such a wide variety of fuels?

Has any country ever had 2 former presidents in jail simultaneously?

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

Do the primes contain an infinite almost arithmetic progression?

Does IPv6 have similar concept of network mask?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

I'm the sea and the sun

What is the highest possible scrabble score for placing a single tile

Quoting Keynes in a lecture

A social experiment. What is the worst that can happen?



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
    yesterday











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












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
















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
    yesterday











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












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














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 yesterday









AJFarmarAJFarmar

1517




1517












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

    – Phelype Oleinik
    yesterday











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












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


















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

    – Phelype Oleinik
    yesterday











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












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

















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

– Phelype Oleinik
yesterday





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

– Phelype Oleinik
yesterday













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






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














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
yesterday






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
yesterday











4 Answers
4






active

oldest

votes


















3














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
          yesterday











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

          – AJFarmar
          yesterday











        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









        3














        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





























          3














          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



























            3












            3








            3







            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 yesterday

























            answered yesterday









            Steven B. SegletesSteven B. Segletes

            159k9204412




            159k9204412





















                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 yesterday

























                    answered yesterday









                    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 yesterday

























                            answered yesterday









                            John KormyloJohn Kormylo

                            45.9k22672




                            45.9k22672





















                                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
                                  yesterday











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

                                  – AJFarmar
                                  yesterday
















                                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
                                  yesterday











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

                                  – AJFarmar
                                  yesterday














                                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 yesterday

























                                answered yesterday









                                AJFarmarAJFarmar

                                1517




                                1517












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

                                  – Phelype Oleinik
                                  yesterday











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

                                  – AJFarmar
                                  yesterday


















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

                                  – Phelype Oleinik
                                  yesterday











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

                                  – AJFarmar
                                  yesterday

















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

                                – Phelype Oleinik
                                yesterday





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

                                – Phelype Oleinik
                                yesterday













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

                                – AJFarmar
                                yesterday






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

                                – AJFarmar
                                yesterday


















                                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

                                Sum ergo cogito? 1 nng

                                419 nièngy_Soadمي 19bal1.5o_g

                                Queiggey Chernihivv 9NnOo i Zw X QqKk LpB