glossary in long-booktabs style has no bottomrule in minipage
up vote
1
down vote
favorite
I want to put a longbooktabs
glossary in a minipage environment, but when I do that it curiously loses the bottomrule
. Is there anything I can do about that?
As Nicola Talbot commented it suffices to put a longtable
in a minipage environment to recreate the issue, see the shorter MWE below.
Original MWE
Don’t forget to run makeglossaries
.
documentclass{scrartcl}
usepackage{glossaries}
usepackage{glossary-longbooktabs}
makeglossaries
newglossaryentry{ex}{name={sample},description={an example}}
begin{document}
A gls{ex} glossary with texttt{style=long-booktabs} has a texttt{bottomrule}:
printglossary[style=long-booktabs]
But if put in a minipage, the texttt{bottomrule} vanishes:
begin{minipage}{linewidth}
printglossary[style=long-booktabs]
end{minipage}
end{document}
Shorter MWE
documentclass{article}
usepackage{longtable,booktabs}
begin{document}
begin{minipage}{linewidth}
begin{longtable}{l}
toprule
Col\
midruleendhead
bottomruleendfoot
A\
end{longtable}
end{minipage}
end{document}
glossaries minipage rules booktabs
add a comment |
up vote
1
down vote
favorite
I want to put a longbooktabs
glossary in a minipage environment, but when I do that it curiously loses the bottomrule
. Is there anything I can do about that?
As Nicola Talbot commented it suffices to put a longtable
in a minipage environment to recreate the issue, see the shorter MWE below.
Original MWE
Don’t forget to run makeglossaries
.
documentclass{scrartcl}
usepackage{glossaries}
usepackage{glossary-longbooktabs}
makeglossaries
newglossaryentry{ex}{name={sample},description={an example}}
begin{document}
A gls{ex} glossary with texttt{style=long-booktabs} has a texttt{bottomrule}:
printglossary[style=long-booktabs]
But if put in a minipage, the texttt{bottomrule} vanishes:
begin{minipage}{linewidth}
printglossary[style=long-booktabs]
end{minipage}
end{document}
Shorter MWE
documentclass{article}
usepackage{longtable,booktabs}
begin{document}
begin{minipage}{linewidth}
begin{longtable}{l}
toprule
Col\
midruleendhead
bottomruleendfoot
A\
end{longtable}
end{minipage}
end{document}
glossaries minipage rules booktabs
The problem stems from puttinglongtable
, which is designed for multiple pages, inside aminipage
. Smaller MWE:documentclass{article} usepackage{longtable,booktabs} begin{document} begin{minipage}{linewidth} begin{longtable}{l} toprule Col\midruleendhead bottomruleendfoot A\end{longtable}end{minipage} end{document}
– Nicola Talbot
yesterday
@NicolaTalbot Nice, thanks! And yet there’s no question about it?
– dessert
yesterday
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I want to put a longbooktabs
glossary in a minipage environment, but when I do that it curiously loses the bottomrule
. Is there anything I can do about that?
As Nicola Talbot commented it suffices to put a longtable
in a minipage environment to recreate the issue, see the shorter MWE below.
Original MWE
Don’t forget to run makeglossaries
.
documentclass{scrartcl}
usepackage{glossaries}
usepackage{glossary-longbooktabs}
makeglossaries
newglossaryentry{ex}{name={sample},description={an example}}
begin{document}
A gls{ex} glossary with texttt{style=long-booktabs} has a texttt{bottomrule}:
printglossary[style=long-booktabs]
But if put in a minipage, the texttt{bottomrule} vanishes:
begin{minipage}{linewidth}
printglossary[style=long-booktabs]
end{minipage}
end{document}
Shorter MWE
documentclass{article}
usepackage{longtable,booktabs}
begin{document}
begin{minipage}{linewidth}
begin{longtable}{l}
toprule
Col\
midruleendhead
bottomruleendfoot
A\
end{longtable}
end{minipage}
end{document}
glossaries minipage rules booktabs
I want to put a longbooktabs
glossary in a minipage environment, but when I do that it curiously loses the bottomrule
. Is there anything I can do about that?
As Nicola Talbot commented it suffices to put a longtable
in a minipage environment to recreate the issue, see the shorter MWE below.
Original MWE
Don’t forget to run makeglossaries
.
documentclass{scrartcl}
usepackage{glossaries}
usepackage{glossary-longbooktabs}
makeglossaries
newglossaryentry{ex}{name={sample},description={an example}}
begin{document}
A gls{ex} glossary with texttt{style=long-booktabs} has a texttt{bottomrule}:
printglossary[style=long-booktabs]
But if put in a minipage, the texttt{bottomrule} vanishes:
begin{minipage}{linewidth}
printglossary[style=long-booktabs]
end{minipage}
end{document}
Shorter MWE
documentclass{article}
usepackage{longtable,booktabs}
begin{document}
begin{minipage}{linewidth}
begin{longtable}{l}
toprule
Col\
midruleendhead
bottomruleendfoot
A\
end{longtable}
end{minipage}
end{document}
glossaries minipage rules booktabs
glossaries minipage rules booktabs
edited yesterday
asked yesterday
dessert
406313
406313
The problem stems from puttinglongtable
, which is designed for multiple pages, inside aminipage
. Smaller MWE:documentclass{article} usepackage{longtable,booktabs} begin{document} begin{minipage}{linewidth} begin{longtable}{l} toprule Col\midruleendhead bottomruleendfoot A\end{longtable}end{minipage} end{document}
– Nicola Talbot
yesterday
@NicolaTalbot Nice, thanks! And yet there’s no question about it?
– dessert
yesterday
add a comment |
The problem stems from puttinglongtable
, which is designed for multiple pages, inside aminipage
. Smaller MWE:documentclass{article} usepackage{longtable,booktabs} begin{document} begin{minipage}{linewidth} begin{longtable}{l} toprule Col\midruleendhead bottomruleendfoot A\end{longtable}end{minipage} end{document}
– Nicola Talbot
yesterday
@NicolaTalbot Nice, thanks! And yet there’s no question about it?
– dessert
yesterday
The problem stems from putting
longtable
, which is designed for multiple pages, inside a minipage
. Smaller MWE: documentclass{article} usepackage{longtable,booktabs} begin{document} begin{minipage}{linewidth} begin{longtable}{l} toprule Col\midruleendhead bottomruleendfoot A\end{longtable}end{minipage} end{document}
– Nicola Talbot
yesterday
The problem stems from putting
longtable
, which is designed for multiple pages, inside a minipage
. Smaller MWE: documentclass{article} usepackage{longtable,booktabs} begin{document} begin{minipage}{linewidth} begin{longtable}{l} toprule Col\midruleendhead bottomruleendfoot A\end{longtable}end{minipage} end{document}
– Nicola Talbot
yesterday
@NicolaTalbot Nice, thanks! And yet there’s no question about it?
– dessert
yesterday
@NicolaTalbot Nice, thanks! And yet there’s no question about it?
– dessert
yesterday
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f461302%2fglossary-in-long-booktabs-style-has-no-bottomrule-in-minipage%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
The problem stems from putting
longtable
, which is designed for multiple pages, inside aminipage
. Smaller MWE:documentclass{article} usepackage{longtable,booktabs} begin{document} begin{minipage}{linewidth} begin{longtable}{l} toprule Col\midruleendhead bottomruleendfoot A\end{longtable}end{minipage} end{document}
– Nicola Talbot
yesterday
@NicolaTalbot Nice, thanks! And yet there’s no question about it?
– dessert
yesterday