How to fit content of minipage dynamically within a standalone?
I'm trying to create a standalone but the content won't fit inside.
I think minipage{textwidth}
causes the issue. I know I can set e.g. minipage{21cm}
but I want to keep this dynamic since the table is created automatically from an R script. I also tried minipage{linewidth}
but that didn't solve the problem either.
I have to adjust the script anyway to add the addition to begin{tabular}
and the additional toprule
which is not yet created automatically. It's quite a construction site right now. Therefore I also would appreciate if there would be a solution that doesn't change the code too much.
This is my code:
documentclass[12pt]{standalone}
usepackage{caption,booktabs,array}
UseRawInputEncoding
begin{document}
minipage{textwidth}
begin{tabular}{@{extracolsep{4pt}}>{hangindent=1.5emhangafter=1}p{2in}rrrrrrr}
toprule
{} & multicolumn{3}{c}{Treatment A} & multicolumn{3}{c}{Treatment B} & {}\
cmidrule{2-4}
cmidrule{5-7}
& Lorem & ipsum & dolor & sit & amets & consetetur & sadipscing \
hline
luptatum blandit invidunt takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sanctus eirmod sea labore & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
erats sea eirmod blandit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sea iriure illum eum & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
zzril consetetur ipsum takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
dolore hendrerit justo sit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sit augue et Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
labore amets et dolores & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
ipsum justo autem vel & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
aliquyam velit luptatum Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
hline
end{tabular}
captionof{table}{My caption}
endminipage
end{document}
scaling standalone
add a comment |
I'm trying to create a standalone but the content won't fit inside.
I think minipage{textwidth}
causes the issue. I know I can set e.g. minipage{21cm}
but I want to keep this dynamic since the table is created automatically from an R script. I also tried minipage{linewidth}
but that didn't solve the problem either.
I have to adjust the script anyway to add the addition to begin{tabular}
and the additional toprule
which is not yet created automatically. It's quite a construction site right now. Therefore I also would appreciate if there would be a solution that doesn't change the code too much.
This is my code:
documentclass[12pt]{standalone}
usepackage{caption,booktabs,array}
UseRawInputEncoding
begin{document}
minipage{textwidth}
begin{tabular}{@{extracolsep{4pt}}>{hangindent=1.5emhangafter=1}p{2in}rrrrrrr}
toprule
{} & multicolumn{3}{c}{Treatment A} & multicolumn{3}{c}{Treatment B} & {}\
cmidrule{2-4}
cmidrule{5-7}
& Lorem & ipsum & dolor & sit & amets & consetetur & sadipscing \
hline
luptatum blandit invidunt takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sanctus eirmod sea labore & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
erats sea eirmod blandit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sea iriure illum eum & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
zzril consetetur ipsum takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
dolore hendrerit justo sit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sit augue et Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
labore amets et dolores & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
ipsum justo autem vel & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
aliquyam velit luptatum Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
hline
end{tabular}
captionof{table}{My caption}
endminipage
end{document}
scaling standalone
1
unrelated in this case butminipage
endminipage
should bebegin{minipage}
end{minipage}
the implementation assumes the group from the environment is there.
– David Carlisle
Apr 20 at 11:43
You might also be interested in the varwidth package/
– John Kormylo
Apr 20 at 15:13
add a comment |
I'm trying to create a standalone but the content won't fit inside.
I think minipage{textwidth}
causes the issue. I know I can set e.g. minipage{21cm}
but I want to keep this dynamic since the table is created automatically from an R script. I also tried minipage{linewidth}
but that didn't solve the problem either.
I have to adjust the script anyway to add the addition to begin{tabular}
and the additional toprule
which is not yet created automatically. It's quite a construction site right now. Therefore I also would appreciate if there would be a solution that doesn't change the code too much.
This is my code:
documentclass[12pt]{standalone}
usepackage{caption,booktabs,array}
UseRawInputEncoding
begin{document}
minipage{textwidth}
begin{tabular}{@{extracolsep{4pt}}>{hangindent=1.5emhangafter=1}p{2in}rrrrrrr}
toprule
{} & multicolumn{3}{c}{Treatment A} & multicolumn{3}{c}{Treatment B} & {}\
cmidrule{2-4}
cmidrule{5-7}
& Lorem & ipsum & dolor & sit & amets & consetetur & sadipscing \
hline
luptatum blandit invidunt takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sanctus eirmod sea labore & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
erats sea eirmod blandit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sea iriure illum eum & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
zzril consetetur ipsum takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
dolore hendrerit justo sit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sit augue et Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
labore amets et dolores & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
ipsum justo autem vel & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
aliquyam velit luptatum Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
hline
end{tabular}
captionof{table}{My caption}
endminipage
end{document}
scaling standalone
I'm trying to create a standalone but the content won't fit inside.
I think minipage{textwidth}
causes the issue. I know I can set e.g. minipage{21cm}
but I want to keep this dynamic since the table is created automatically from an R script. I also tried minipage{linewidth}
but that didn't solve the problem either.
I have to adjust the script anyway to add the addition to begin{tabular}
and the additional toprule
which is not yet created automatically. It's quite a construction site right now. Therefore I also would appreciate if there would be a solution that doesn't change the code too much.
This is my code:
documentclass[12pt]{standalone}
usepackage{caption,booktabs,array}
UseRawInputEncoding
begin{document}
minipage{textwidth}
begin{tabular}{@{extracolsep{4pt}}>{hangindent=1.5emhangafter=1}p{2in}rrrrrrr}
toprule
{} & multicolumn{3}{c}{Treatment A} & multicolumn{3}{c}{Treatment B} & {}\
cmidrule{2-4}
cmidrule{5-7}
& Lorem & ipsum & dolor & sit & amets & consetetur & sadipscing \
hline
luptatum blandit invidunt takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sanctus eirmod sea labore & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
erats sea eirmod blandit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sea iriure illum eum & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
zzril consetetur ipsum takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
dolore hendrerit justo sit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sit augue et Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
labore amets et dolores & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
ipsum justo autem vel & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
aliquyam velit luptatum Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
hline
end{tabular}
captionof{table}{My caption}
endminipage
end{document}
scaling standalone
scaling standalone
asked Apr 20 at 11:13
jay.sfjay.sf
16419
16419
1
unrelated in this case butminipage
endminipage
should bebegin{minipage}
end{minipage}
the implementation assumes the group from the environment is there.
– David Carlisle
Apr 20 at 11:43
You might also be interested in the varwidth package/
– John Kormylo
Apr 20 at 15:13
add a comment |
1
unrelated in this case butminipage
endminipage
should bebegin{minipage}
end{minipage}
the implementation assumes the group from the environment is there.
– David Carlisle
Apr 20 at 11:43
You might also be interested in the varwidth package/
– John Kormylo
Apr 20 at 15:13
1
1
unrelated in this case but
minipage
endminipage
should be begin{minipage}
end{minipage}
the implementation assumes the group from the environment is there.– David Carlisle
Apr 20 at 11:43
unrelated in this case but
minipage
endminipage
should be begin{minipage}
end{minipage}
the implementation assumes the group from the environment is there.– David Carlisle
Apr 20 at 11:43
You might also be interested in the varwidth package/
– John Kormylo
Apr 20 at 15:13
You might also be interested in the varwidth package/
– John Kormylo
Apr 20 at 15:13
add a comment |
1 Answer
1
active
oldest
votes
documentclass[12pt]{standalone}
usepackage{caption,booktabs,array}
UseRawInputEncoding
begin{document}
sbox0{%
begin{tabular}{@{extracolsep{4pt}}>{hangindent=1.5emhangafter=1}p{2in}rrrrrrr}
toprule
{} & multicolumn{3}{c}{Treatment A} & multicolumn{3}{c}{Treatment B} & {}\
cmidrule{2-4}
cmidrule{5-7}
& Lorem & ipsum & dolor & sit & amets & consetetur & sadipscing \
hline
luptatum blandit invidunt takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sanctus eirmod sea labore & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
erats sea eirmod blandit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sea iriure illum eum & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
zzril consetetur ipsum takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
dolore hendrerit justo sit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sit augue et Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
labore amets et dolores & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
ipsum justo autem vel & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
aliquyam velit luptatum Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
hline
end{tabular}}
begin{minipage}{wd0}
usebox0
captionof{table}{My caption}
end{minipage}
end{document}
Nice and clean, thanks. The actual output will then look better than on the image.
– jay.sf
Apr 20 at 11:39
The line at the upper edge of the page, how could we omit this?
– jay.sf
Apr 20 at 15:42
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%2f485726%2fhow-to-fit-content-of-minipage-dynamically-within-a-standalone%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
documentclass[12pt]{standalone}
usepackage{caption,booktabs,array}
UseRawInputEncoding
begin{document}
sbox0{%
begin{tabular}{@{extracolsep{4pt}}>{hangindent=1.5emhangafter=1}p{2in}rrrrrrr}
toprule
{} & multicolumn{3}{c}{Treatment A} & multicolumn{3}{c}{Treatment B} & {}\
cmidrule{2-4}
cmidrule{5-7}
& Lorem & ipsum & dolor & sit & amets & consetetur & sadipscing \
hline
luptatum blandit invidunt takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sanctus eirmod sea labore & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
erats sea eirmod blandit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sea iriure illum eum & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
zzril consetetur ipsum takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
dolore hendrerit justo sit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sit augue et Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
labore amets et dolores & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
ipsum justo autem vel & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
aliquyam velit luptatum Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
hline
end{tabular}}
begin{minipage}{wd0}
usebox0
captionof{table}{My caption}
end{minipage}
end{document}
Nice and clean, thanks. The actual output will then look better than on the image.
– jay.sf
Apr 20 at 11:39
The line at the upper edge of the page, how could we omit this?
– jay.sf
Apr 20 at 15:42
add a comment |
documentclass[12pt]{standalone}
usepackage{caption,booktabs,array}
UseRawInputEncoding
begin{document}
sbox0{%
begin{tabular}{@{extracolsep{4pt}}>{hangindent=1.5emhangafter=1}p{2in}rrrrrrr}
toprule
{} & multicolumn{3}{c}{Treatment A} & multicolumn{3}{c}{Treatment B} & {}\
cmidrule{2-4}
cmidrule{5-7}
& Lorem & ipsum & dolor & sit & amets & consetetur & sadipscing \
hline
luptatum blandit invidunt takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sanctus eirmod sea labore & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
erats sea eirmod blandit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sea iriure illum eum & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
zzril consetetur ipsum takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
dolore hendrerit justo sit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sit augue et Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
labore amets et dolores & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
ipsum justo autem vel & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
aliquyam velit luptatum Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
hline
end{tabular}}
begin{minipage}{wd0}
usebox0
captionof{table}{My caption}
end{minipage}
end{document}
Nice and clean, thanks. The actual output will then look better than on the image.
– jay.sf
Apr 20 at 11:39
The line at the upper edge of the page, how could we omit this?
– jay.sf
Apr 20 at 15:42
add a comment |
documentclass[12pt]{standalone}
usepackage{caption,booktabs,array}
UseRawInputEncoding
begin{document}
sbox0{%
begin{tabular}{@{extracolsep{4pt}}>{hangindent=1.5emhangafter=1}p{2in}rrrrrrr}
toprule
{} & multicolumn{3}{c}{Treatment A} & multicolumn{3}{c}{Treatment B} & {}\
cmidrule{2-4}
cmidrule{5-7}
& Lorem & ipsum & dolor & sit & amets & consetetur & sadipscing \
hline
luptatum blandit invidunt takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sanctus eirmod sea labore & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
erats sea eirmod blandit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sea iriure illum eum & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
zzril consetetur ipsum takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
dolore hendrerit justo sit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sit augue et Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
labore amets et dolores & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
ipsum justo autem vel & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
aliquyam velit luptatum Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
hline
end{tabular}}
begin{minipage}{wd0}
usebox0
captionof{table}{My caption}
end{minipage}
end{document}
documentclass[12pt]{standalone}
usepackage{caption,booktabs,array}
UseRawInputEncoding
begin{document}
sbox0{%
begin{tabular}{@{extracolsep{4pt}}>{hangindent=1.5emhangafter=1}p{2in}rrrrrrr}
toprule
{} & multicolumn{3}{c}{Treatment A} & multicolumn{3}{c}{Treatment B} & {}\
cmidrule{2-4}
cmidrule{5-7}
& Lorem & ipsum & dolor & sit & amets & consetetur & sadipscing \
hline
luptatum blandit invidunt takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sanctus eirmod sea labore & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
erats sea eirmod blandit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sea iriure illum eum & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
zzril consetetur ipsum takimata & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
dolore hendrerit justo sit & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
sit augue et Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
labore amets et dolores & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
ipsum justo autem vel & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
aliquyam velit luptatum Lorem & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 & 9.99 \
hline
end{tabular}}
begin{minipage}{wd0}
usebox0
captionof{table}{My caption}
end{minipage}
end{document}
answered Apr 20 at 11:28
David CarlisleDavid Carlisle
501k4211471897
501k4211471897
Nice and clean, thanks. The actual output will then look better than on the image.
– jay.sf
Apr 20 at 11:39
The line at the upper edge of the page, how could we omit this?
– jay.sf
Apr 20 at 15:42
add a comment |
Nice and clean, thanks. The actual output will then look better than on the image.
– jay.sf
Apr 20 at 11:39
The line at the upper edge of the page, how could we omit this?
– jay.sf
Apr 20 at 15:42
Nice and clean, thanks. The actual output will then look better than on the image.
– jay.sf
Apr 20 at 11:39
Nice and clean, thanks. The actual output will then look better than on the image.
– jay.sf
Apr 20 at 11:39
The line at the upper edge of the page, how could we omit this?
– jay.sf
Apr 20 at 15:42
The line at the upper edge of the page, how could we omit this?
– jay.sf
Apr 20 at 15:42
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%2f485726%2fhow-to-fit-content-of-minipage-dynamically-within-a-standalone%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
1
unrelated in this case but
minipage
endminipage
should bebegin{minipage}
end{minipage}
the implementation assumes the group from the environment is there.– David Carlisle
Apr 20 at 11:43
You might also be interested in the varwidth package/
– John Kormylo
Apr 20 at 15:13