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.



sample mwe output



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}









share|improve this question
























  • 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















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.



sample mwe output



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}









share|improve this question
























  • 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













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.



sample mwe output



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}









share|improve this question















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.



sample mwe output



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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday

























asked yesterday









dessert

406313




406313












  • 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


















  • 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
















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















active

oldest

votes











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',
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%2f461302%2fglossary-in-long-booktabs-style-has-no-bottomrule-in-minipage%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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

サソリ

広島県道265号伴広島線

Accessing regular linux commands in Huawei's Dopra Linux