summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries/samples/sample-si.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries/samples/sample-si.tex')
-rw-r--r--Master/texmf-dist/doc/latex/glossaries/samples/sample-si.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/samples/sample-si.tex b/Master/texmf-dist/doc/latex/glossaries/samples/sample-si.tex
new file mode 100644
index 00000000000..d65b46f0f3a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/glossaries/samples/sample-si.tex
@@ -0,0 +1,17 @@
+ % If you want to use arara, you need the following directives:
+ % arara: pdflatex: { synctex: on }
+ % arara: makeglossaries
+ % arara: pdflatex: { synctex: on }
+\documentclass{article}
+\usepackage{siunitx}
+\usepackage[style=long4col]{glossaries}
+\makeglossaries
+\newglossaryentry{ohm}{%
+ name=ohm,
+ symbol={\si{\ohm}},
+ description=unit of electrical resistance%
+}
+\begin{document}
+\glsaddallunused
+\printglossaries
+\end{document}