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
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
yesterday
@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
yesterday
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
yesterday
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 yesterday
AJFarmarAJFarmar
1517
1517
You can add avspace0pt
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 anotherbaselineskip
, right? EDIT: it's1em
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 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
yesterday
add a comment |
You can add avspace0pt
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 anotherbaselineskip
, right? EDIT: it's1em
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 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
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
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
yesterday
@PhelypeOleinik A good point,topskip
it is! Usingtopskip
also produces better results with higher point-sizes.
– AJFarmar
yesterday
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 yesterday
answered yesterday
Steven B. SegletesSteven B. Segletes
159k9204412
159k9204412
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 yesterday
answered yesterday
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 yesterday
answered yesterday
John KormyloJohn Kormylo
45.9k22672
45.9k22672
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
yesterday
@PhelypeOleinik A good point,topskip
it is! Usingtopskip
also produces better results with higher point-sizes.
– AJFarmar
yesterday
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
yesterday
@PhelypeOleinik A good point,topskip
it is! Usingtopskip
also produces better results with higher point-sizes.
– AJFarmar
yesterday
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 yesterday
answered yesterday
AJFarmarAJFarmar
1517
1517
Coincidentally (more or less)1em
is10.00002pt
, and thetopskip
is10pt
by default... Perhapsvspace-topskip
:)
– Phelype Oleinik
yesterday
@PhelypeOleinik A good point,topskip
it is! Usingtopskip
also produces better results with higher point-sizes.
– AJFarmar
yesterday
add a comment |
Coincidentally (more or less)1em
is10.00002pt
, and thetopskip
is10pt
by default... Perhapsvspace-topskip
:)
– Phelype Oleinik
yesterday
@PhelypeOleinik A good point,topskip
it is! Usingtopskip
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
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
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's1em
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 theminipages
(and make sure you restore it after) that extra space will disappear. I'm not sure if this is correct, though.– Phelype Oleinik
yesterday