- Add reference to underscore package.
- Increase monospace font weight. - Add command for the most recent footnote number.
This commit is contained in:
@@ -30,35 +30,39 @@
|
||||
}
|
||||
|
||||
% Put a glossary definition in a margin paragraph.
|
||||
\NewDocumentCommand{\@MarginDef}{O{} m m}{%
|
||||
\NewDocumentCommand{\@MarginDef}{O{} m m}{
|
||||
\index{\glsentryname{#2}}% Add a reference to this in the index.
|
||||
\strong{#3{#2}}% This is the text that appears on the page.
|
||||
\marginalia[#1]{%
|
||||
\MarginHyperSetup%
|
||||
\marginalia[#1]{
|
||||
\MarginHyperSetup
|
||||
\strong{\Glsentryname{#2}:}% Create the title of the margin note.
|
||||
\enspace\glsdesc*{#2}% Create the text of the margin note.
|
||||
}%
|
||||
}
|
||||
}
|
||||
\NewDocumentCommand{\MarginDef}{O{} m}{%
|
||||
\@MarginDef[#1]{#2}{\gls}%
|
||||
\NewDocumentCommand{\MarginDef}{O{} m}{
|
||||
\@MarginDef[#1]{#2}{\gls}
|
||||
}
|
||||
\NewDocumentCommand{\MarginDefCap}{O{} m}{%
|
||||
\@MarginDef[#1]{#2}{\Gls}%
|
||||
\NewDocumentCommand{\MarginDefCap}{O{} m}{
|
||||
\@MarginDef[#1]{#2}{\Gls}
|
||||
}
|
||||
\NewDocumentCommand{\MarginDefPl}{O{} m}{%
|
||||
\@MarginDef[#1]{#2}{\glspl}%
|
||||
\NewDocumentCommand{\MarginDefPl}{O{} m}{
|
||||
\@MarginDef[#1]{#2}{\glspl}
|
||||
}
|
||||
\NewDocumentCommand{\MarginDefCapPl}{O{} m}{%
|
||||
\@MarginDef[#1]{#2}{\Glspl}%
|
||||
\NewDocumentCommand{\MarginDefCapPl}{O{} m}{
|
||||
\@MarginDef[#1]{#2}{\Glspl}
|
||||
}
|
||||
|
||||
\NewDocumentCommand{\lastfootnotemark}{}{
|
||||
\footnotemark[\value{footnote}]
|
||||
}
|
||||
|
||||
% Put a footnote in a margin paragraph.
|
||||
\NewDocumentCommand{\MarginNote}{O{} +m}{%
|
||||
\footnotemark%
|
||||
\marginalia[#1]{%
|
||||
\MarginHyperSetup%
|
||||
\footnotemark[\value{footnote}]#2%
|
||||
}%
|
||||
\NewDocumentCommand{\MarginNote}{O{} +m}{
|
||||
\footnotemark
|
||||
\marginalia[#1]{
|
||||
\MarginHyperSetup
|
||||
\footnotemark[\value{footnote}]#2
|
||||
}
|
||||
}
|
||||
|
||||
% Wrapper for \marginalia with some improvements.
|
||||
|
||||
Reference in New Issue
Block a user