diff options
Diffstat (limited to 'macros/latex/contrib/glossaries/samples/sample.tex')
-rw-r--r-- | macros/latex/contrib/glossaries/samples/sample.tex | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/macros/latex/contrib/glossaries/samples/sample.tex b/macros/latex/contrib/glossaries/samples/sample.tex index 282eb7912b..9478e16f2e 100644 --- a/macros/latex/contrib/glossaries/samples/sample.tex +++ b/macros/latex/contrib/glossaries/samples/sample.tex @@ -1,9 +1,9 @@ - % 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 } - % arara: pdflatex: { synctex: on } +% 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 } +% arara: pdflatex: { synctex: on } \documentclass[a4paper]{report} \usepackage[plainpages=false,colorlinks]{hyperref} @@ -30,20 +30,20 @@ sort={1}, parent={glossary}} \newglossaryentry{pagelist}{name=page list, - % description value has to be enclosed in braces - % because it contains commas +% description value has to be enclosed in braces +% because it contains commas description={a list of individual pages or page ranges (e.g.\ 1,2,4,7-9)}} \newglossaryentry{mtrx}{name=matrix, description={rectangular array of quantities}, - % plural is not simply obtained by appending an s, so specify +% plural is not simply obtained by appending an s, so specify plural=matrices} - % Entry with a paragraph break in the description: - % (If you use \newglossaryentry, the paragraph break - % must be identified with \glspar not with \par or a blank line. - % It's easier to use \longnewglossaryentry.) +% Entry with a paragraph break in the description: +% (If you use \newglossaryentry, the paragraph break +% must be identified with \glspar not with \par or a blank line. +% It's easier to use \longnewglossaryentry.) \longnewglossaryentry{par}% label {name=paragraph}% options @@ -52,14 +52,14 @@ distinct section of a piece of writing. Beginning on new, usually indented, line} - % entry with two types of plural. Set the plural form to the - % form most likely to be used. If you want to use a different - % plural, you will need to explicity specify it in \glslink +% entry with two types of plural. Set the plural form to the +% form most likely to be used. If you want to use a different +% plural, you will need to explicity specify it in \glslink \newglossaryentry{cow}{name=cow, - % this isn't necessary, as this form (appending an s) is - % the default +% this isn't necessary, as this form (appending an s) is +% the default plural=cows, - % description: +% description: description={(\emph{pl.}\ cows, \emph{archaic} kine) an adult female of any bovine animal}} @@ -86,12 +86,12 @@ parent=bravo} description={large seal}% } - % If a value contains a comma, you must use braces to hide - % it from the key=value list parser. Take care to avoid - % accidentally introducing unwanted space as leading and trailing - % spaces within the braces aren't stripped. For example, - % text={ spurious space } will result in extra space appearing - % when the entry is referenced. +% If a value contains a comma, you must use braces to hide +% it from the key=value list parser. Take care to avoid +% accidentally introducing unwanted space as leading and trailing +% spaces within the braces aren't stripped. For example, +% text={ spurious space } will result in extra space appearing +% when the entry is referenced. \newglossaryentry{spuriousspace}{% name={space, spurious}, text={spurious space}, |