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
I have two minipage
s 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
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
add a comment |
I have two minipage
s 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
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
You can add avspace0pt
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 anotherbaselineskip
, right? EDIT: it's1em
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 settopskip=0pt
before theminipages
(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
add a comment |
I have two minipage
s 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
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
I have two minipage
s 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
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
formatting vertical-alignment minipage
asked 11 hours ago
AJFarmarAJFarmar
1517
1517
You can add avspace0pt
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 anotherbaselineskip
, right? EDIT: it's1em
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 settopskip=0pt
before theminipages
(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
add a comment |
You can add avspace0pt
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 anotherbaselineskip
, right? EDIT: it's1em
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 settopskip=0pt
before theminipages
(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
add a comment |
4 Answers
4
active
oldest
votes
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
add a comment |
This seems to also work:
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
add a comment |
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
add a comment |
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:
Coincidentally (more or less)1em
is10.00002pt
, and thetopskip
is10pt
by default... Perhapsvspace-topskip
:)
– Phelype Oleinik
10 hours ago
@PhelypeOleinik A good point,topskip
it is! Usingtopskip
also produces better results with higher point-sizes.
– AJFarmar
10 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%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
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
add a comment |
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
add a comment |
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
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
edited 10 hours ago
answered 10 hours ago
Steven B. SegletesSteven B. Segletes
159k9204411
159k9204411
add a comment |
add a comment |
This seems to also work:
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
add a comment |
This seems to also work:
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
add a comment |
This seems to also work:
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
This seems to also work:
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
edited 10 hours ago
answered 10 hours ago
AlexGAlexG
34.3k480149
34.3k480149
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
edited 10 hours ago
answered 10 hours ago
John KormyloJohn Kormylo
45.8k22672
45.8k22672
add a comment |
add a comment |
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:
Coincidentally (more or less)1em
is10.00002pt
, and thetopskip
is10pt
by default... Perhapsvspace-topskip
:)
– Phelype Oleinik
10 hours ago
@PhelypeOleinik A good point,topskip
it is! Usingtopskip
also produces better results with higher point-sizes.
– AJFarmar
10 hours ago
add a comment |
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:
Coincidentally (more or less)1em
is10.00002pt
, and thetopskip
is10pt
by default... Perhapsvspace-topskip
:)
– Phelype Oleinik
10 hours ago
@PhelypeOleinik A good point,topskip
it is! Usingtopskip
also produces better results with higher point-sizes.
– AJFarmar
10 hours ago
add a comment |
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:
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:
edited 10 hours ago
answered 10 hours ago
AJFarmarAJFarmar
1517
1517
Coincidentally (more or less)1em
is10.00002pt
, and thetopskip
is10pt
by default... Perhapsvspace-topskip
:)
– Phelype Oleinik
10 hours ago
@PhelypeOleinik A good point,topskip
it is! Usingtopskip
also produces better results with higher point-sizes.
– AJFarmar
10 hours ago
add a comment |
Coincidentally (more or less)1em
is10.00002pt
, and thetopskip
is10pt
by default... Perhapsvspace-topskip
:)
– Phelype Oleinik
10 hours ago
@PhelypeOleinik A good point,topskip
it is! Usingtopskip
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
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
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's1em
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 theminipages
(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