summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/nomentbl/nomentbl.tex
blob: 8adefea34238be1f9cdfe532b2ae18fbb0e44ae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
\documentclass[12pt,a4paper,twoside]{report}

\usepackage{nomentbl}

\makeglossary

\title{Nomenclature with longtable}
\author{Brian Elmegaard}


\begin{document}
\maketitle
\printglossary

\chapter{Introduction}
This file gives a very limited introduction to the use of longtable
together with the nomencl package for writing nomenclatures.

It requires nomencl to be present on your system.

The way to go is: Install \texttt{nomenltb.sty} where latex can find it, and
\texttt{nomenltb.ist} where makeindex can find that.
\begin{itemize}
\item Run latex. This generates the glossary input file
  \texttt{foo.glo}.
\item Run makeindex with \texttt{makeindex -s nomenltb.ist -o foo.gls
    foo.glo } 
\item Run latex again.
\end{itemize}

An equation is needed for the current setup:
\begin{equation}
  \label{eq:1}
  \mathbf{J}_i\cdot\Delta\underline{x}_{i+1}=-\underline{f}_i
\end{equation}
%Here follows the nomenclature entries. 
\nomenclature[aJ]{$J$}{Jacobian Matrix}{}
\nomenclature[Zi]{$i$}{Variable number}{}
\nomenclature[ax]{$\Delta x$}{Variable displacement vector}{}
\nomenclature[af]{$f$}{Residual value vector}{}
\nomenclature[ax]{$x$}{Variable value vector}{}
The nomenclature is result of the following:
\begin{verbatim}
\nomenclature[aJ]{$J$}{Jacobian Matrix}{}
\nomenclature[Zi]{$i$}{Variable number}{}
\nomenclature[ax]{$\Delta x$}{Variable displacement vector}{}
\nomenclature[af]{$f$}{Residual value vector}{}
\nomenclature[ax]{$x$}{Variable value vector}{}
\end{verbatim}

An some symbols with units:
\begin{equation}
  \label{eq:3}
  F=m \alpha
\end{equation}
\nomenclature[aF]{$F$}{Force}{N}
\nomenclature[am]{$m$}{mass}{kg}
\nomenclature[ga]{$\alpha$}{acceleration}{m/s$\mathrm{^2}$}
\begin{verbatim}
\nomenclature[aF]{$F$}{Force}{N}
\nomenclature[am]{$m$}{mass}{kg}
\nomenclature[ga]{$\alpha$}{acceleration}{m/s$\mathrm{^2}$}

\end{verbatim}
\end{document}