Skip to content
Snippets Groups Projects
Verified Commit e43e6e04 authored by Thomas Lambert's avatar Thomas Lambert :helicopter:
Browse files

feat(nomencl): add nomenclature

parent 6cd3afc3
No related branches found
No related tags found
No related merge requests found
Pipeline #8775 passed
......@@ -49,6 +49,11 @@
### List of fixmes (from fixme package)
*.lox
### Nomenclature
*.nlg
*.nlo
*.nls
### Ignore compiled pdfs
*.pdf
!figures/*/*.pdf
......
......@@ -17,4 +17,10 @@ $pdf_mode = 4; # 1: use pdflatex, 4: use lualatex, 5 use xelatex
$bibtex_use = 2;
# Extra extensions to clean
$clean_ext = 'synctex.gz synctex.gz(busy) run.xml tex.bak bbl bcf fdb_latexmk run tdo %R-blx.bib lox'
$clean_ext = 'synctex.gz synctex.gz(busy) run.xml tex.bak bbl bcf fdb_latexmk run tdo %R-blx.bib lox nlg nlo nls';
# Make nomenclature
add_cus_dep("nlo", "nls", 0, "nlo2nls");
sub nlo2nls {
system("makeindex $_[0].nlo -s nomencl.ist -o $_[0].nls -t $_[0].nlg");
}
......@@ -88,6 +88,7 @@
\renewmenumacro{\directory}{pathswithfolder} % default: paths
\usepackage[scale=2]{ccicons} % Icons for CC licenses
\usepackage[nolinks]{qrcode} % QR codes
\usepackage{siunitx} % SI units
% For inkscape figures
\usepackage{xifthen}
......
......@@ -63,6 +63,10 @@ draft, % toggle if draft version
\tableofcontents % display table of contents
\cleardoublepage
% Nomenclature
\printnomenclature
% Body
% ***********************************************
\pagenumbering{arabic} % arabic page numbering
......
......@@ -3,12 +3,21 @@
% This ensures coherence between all parts of the document and simplifies
% maintenance or changes in the nomenclature.
%
% This package also generates directly the nomenclature
%
% Author: Thomas Lambert <t.lambert@uliege.be>
% ULiege - Aeroelasticity and Experimental Aerodynamics
% CC0 License
% https://gitlab.uliege.be/thlamb/rotare-doc
% ------------------------------------------------------------------------------
% Generate nomenclature
\RequirePackage[stdsubgroups]{nomencl}
\makenomenclature
\newcommand{\nomunit}[1]{%
\renewcommand{\nomentryend}{\hspace*{\fill}\si{#1}}%
}
% TODO better spacing/title style
% --- Velocities ---------------------------------------------------------------
......@@ -42,6 +51,9 @@
% --- Others -------------------------------------------------------------------
\newcommand{\area}{\ensuremath{A}} % (Rotor) Area
\nomenclature[A]{\area}{Area\nomunit{\m^2}}
\newcommand{\radius}{\ensuremath{R}} % Rotor radius
\newcommand{\rRad}{\ensuremath{r}} % Nondimensional radial position along the blade
\newcommand{\aRad}{\ensuremath{y}} % Radial distance along the blade
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment