Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass{article}
- usepackage{fmultico}
- usepackage{geometry}
- geometry{paperwidth=165mm, paperheight=140mm, top=5mm, bottom=5mm}
- pagestyle{empty}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%% ORGANIZE ENTRIES AND GLOSSARIES OF FOOTNOTES
- usepackage[entrycounter,nomain,nonumberlist]{glossaries}
- renewcommand*{glspostdescription}{}
- %%Glossary of footnotes
- newglossary[soc]{Dico}{sox}{soo}{The title of the glossary}
- makeglossaries
- newcommand*{entrydico}[2]
- {%
- newglossaryentry{#1}{type=Dico,name={},text={#1},sort={#1},
- description={begin{tabular}{p{2 cm}p{2 cm}}
- hspace*{-6pt}#1 &hfill #2hspace*{-6pt}\
- hline
- end{tabular}} }
- }
- %% The link of the gls commands
- defglsentryfmt[Dico]{}
- %% ENTRIES
- entrydico{word1}{synonym1}
- entrydico{word2}{synonym2}
- entrydico{word3}{synonym3}
- entrydico{word4}{synonym4}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% END GLOSSARIES COMMANDS
- begin{document}
- The word word1gls{word1}
- The word word2gls{word2}
- The word word3gls{word3}
- The word word4gls{word4}
- vspace*{5mm}
- hrule
- vspace*{5mm}
- begin{multicols}{2}[]
- printglossary[type=Dico]
- end{multicols}
- vspace*{5mm}
- hrule
- vspace*{5mm}
- Non-numbered entries with the option `entrycounter=false`
- begin{multicols}{2}[]
- printglossary[type=Dico,entrycounter=false]
- end{multicols}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement