summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries/samples/sample-langdict.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/glossaries/samples/sample-langdict.tex')
-rw-r--r--macros/latex/contrib/glossaries/samples/sample-langdict.tex26
1 files changed, 13 insertions, 13 deletions
diff --git a/macros/latex/contrib/glossaries/samples/sample-langdict.tex b/macros/latex/contrib/glossaries/samples/sample-langdict.tex
index 5c1484c93e..c5bf52fc7d 100644
--- a/macros/latex/contrib/glossaries/samples/sample-langdict.tex
+++ b/macros/latex/contrib/glossaries/samples/sample-langdict.tex
@@ -1,20 +1,20 @@
- % This file is public domain
- % If you want to use arara, you need the following directives:
- % arara: pdflatex: { synctex: on }
- % arara: makeglossaries
- % arara: pdflatex: { synctex: on }
-
- % This file also requires the glossaries-english
- % and glossaries-french language modules. These must
- % be installed in addition to installing the glossaries package.
+% This file is public domain
+% If you want to use arara, you need the following directives:
+% arara: pdflatex: { synctex: on }
+% arara: makeglossaries
+% arara: pdflatex: { synctex: on }
+
+% This file also requires the glossaries-english
+% and glossaries-french language modules. These must
+% be installed in addition to installing the glossaries package.
\documentclass[english,french]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
- % The package option "nomain" is used here to suppress the
- % main glossary, since this example doesn't use it. If you
- % want to use the main glossary, remove the "nomain" option.
+% The package option "nomain" is used here to suppress the
+% main glossary, since this example doesn't use it. If you
+% want to use the main glossary, remove the "nomain" option.
\usepackage[nomain]{glossaries}
\newglossary[glg]{english}{gls}{glo}{English to French}
@@ -22,7 +22,7 @@
\makeglossaries
- % \newword{label}{english}{determiner}{french}
+% \newword{label}{english}{determiner}{french}
\newcommand*{\newword}[4]{%
\newglossaryentry{en-#1}{type=english,name={#2},description={#3 #4}}%
\newglossaryentry{fr-#1}{type=french,name={#3 #4},text={#4},sort={#4},description={#2}}%