Debian Codegraph @

texmf-dist/doc/latex/nomentbl/example.tex

raw
1 %%
2 %% This is file `example.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% nomentbl.dtx (with options: `example')
8 %%
9 %% Copyright (C) 2006 by Stefan Pinnow
10 %%
11 %% This file can be redistributed and/or modified under the terms
12 %% of the LaTeX Project Public License distributed from CTAN
13 %% archives in the directory macros/latex/base/lppl.txt; either
14 %% version 1.2 of the license, or (at your option) any later version.
15 %%
16 %% Nomentbl example
17 %% For nomentbl v0.4
18 %%
19 %% Written by Stefan Pinnow
20 %%
21
22
23 %%
24 %%
25 \documentclass{article}
26 \usepackage[notintoc]{nomentbl}
27 \usepackage{setspace}
28 \makenomenclature
29 \begin{document}
30 \section*{Main equations}
31 Here an equation
32 \begin{equation}\label{eq:heatflux}
33 \dot{Q} = k \cdot A \cdot \Delta T
34 \end{equation}%
35 \nomenclature[aQ]{$\dot{Q}$}{heat flux}{W}{}%
36 \nomenclature[ak]{$k$}{overall heat transfer coefficient}{$\frac{\mathrm{W}}{\mathrm{m}^2\mathrm{K}}$}{see eq.~(\ref{eq:ohtc})}%
37 \nomenclature[aA]{$A$}{area}{m$^2$}{$L^2$}%
38 \nomenclature[aL]{$L$}{length}{m}{SI base quantity}%
39 \nomenclature[aT]{$T$}{temperature}{K}{SI base quantity}%
40 \nomenclature[aT]{$\Delta T$}{temperature difference}{K}{SI base quantity}%
41 or another one
42 \begin{equation}\label{eq:ohtc}
43 \frac{1}{k} = \left[\frac{1}{\alpha _{\mathrm{i}}\,r_{\mathrm{i}}} +
44 \sum^n_{j=1}\frac{1}{\lambda _j}\,
45 \ln \frac{r_{\mathrm{a},j}}{r_{\mathrm{i},j}} +
46 \frac{1}{\alpha _{\mathrm{a}}\,
47 r_{\mathrm{a}}}\right] \cdot r_{\mathrm{reference}}
48 \end{equation}%
49 \nomenclature[ga]{$\alpha$}{convection heat transfer coefficient}{$\frac{\mathrm{W}}{\mathrm{m}^2\mathrm{K}}$}{}%
50 \nomenclature[zi]{i}{in}{}{}%
51 \nomenclature[gl]{$\lambda$}{thermal conductivity}{$\frac{\mathrm{W}}{\mathrm{m K}}$}{}%
52 \nomenclature[za]{a}{out}{}{}%
53 \nomenclature[zn]{$n$}{number of walls}{}{}%
54 \nomenclature[zj]{$j$}{running parameter}{}{}%
55 That should do it.
56 \onehalfspacing
57 \printnomenclature
58 \end{document}
59
60
61 \endinput
62 %%
63 %% End of file `example.tex'.