diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries/glossariesbegin.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries/glossariesbegin.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/glossariesbegin.tex b/Master/texmf-dist/doc/latex/glossaries/glossariesbegin.tex index 0ef5af5260a..32affd8783e 100644 --- a/Master/texmf-dist/doc/latex/glossaries/glossariesbegin.tex +++ b/Master/texmf-dist/doc/latex/glossaries/glossariesbegin.tex @@ -163,11 +163,20 @@ plural=\oe sophagi,sort=oesophagus} Note, however, that if you use the \sty{inputenc} package and \app{xindy}, you can use the encoded character \texttt{\oe} rather than \cs{oe} and \app{xindy} will sort it correctly: +\begin{latexonly} \begin{verbatim} \newglossaryentry{oesophagus}{name=œsophagus, description={canal from mouth to stomach}, plural=œsophagi} \end{verbatim} +\end{latexonly} +\begin{htmlonly}\par +\begin{ttfamily} +\cs{newglossaryentry}\{oesophagus\}\{name=\oe sophagus,\newline +description=\{canal from mouth to stomach\},\newline +plural=\oe sophagi\} +\end{ttfamily}\par +\end{htmlonly} If the name starts with an accented character, the first character must be grouped: @@ -177,10 +186,18 @@ description={select group of people}, sort=elite} \end{verbatim} or +\begin{latexonly} \begin{verbatim} \newglossaryentry{elite}{name={é}lite, description={select group of people}} \end{verbatim} +\end{latexonly} +\begin{htmlonly}\par +\begin{ttfamily} +\cs{newglossaryentry}\{elite\}\{name=\{\'e\}lite,\newline +description=\{select group of people\}\} +\end{ttfamily}\par +\end{htmlonly} The name can also be a symbol, but you will also need to specify the sort key. For example: |