New answers tagged

1

I had the same problem. Here is what I have done: Updated to MacTex2015 Run TexLive manager from the /Applications/TeXLive Utility and updated all Go back to TexShop or other utility, and manually update the engine to 2015 (on mine, El Capitan, it originally showed 2013, even after updating MacTex2015 -- this link ...


1

I don't have a bib file available, so I called \chapter*{\bibname} directly. \documentclass{book} \usepackage{showframe} \begin{document} \bgroup% make changes termporary \makeatletter \def\@makeschapterhead#1{% %\vspace*{50\p@}% \vspace*{25\p@}% {\parindent \z@ \raggedright \normalfont \interlinepenalty\@M %\Huge \bfseries ...


3

The nomencl uses makeindex in order to process the generated nomenclatures. That is, you need to the following steps: pdflatex niccolo.tex makeindex niccolo.nlo -s nomencl.ist -o niccolo.nls pdflatex niccolo.tex Depending on the editor, adding the intermediate makeindex steps will vary a lot, and unfortunately I am not familiar with Sublime Text, so I ...


1

The nomencl package sets \itemsep to the value of \nomitemsep (default 4pt plus 2pt minus 1pt), which is added to \parsep (default for book class the same as \nomitemsep. If you want tight typesetting, set \nomitemsep to the negative of \parsep. The text below \printnomenclature is meant to compare the two lists. \documentclass{book} \usepackage{nomencl} ...


0

Something like this? \documentclass[8pt,a4paper]{article} \usepackage{fontspec} \usepackage{microtype} \newfontfamily\csa{Dekar} \newcommand{\abc}[1]{% % \begingroup\csa\footnotesize\textls[130]{#1}% \endgroup} \begin{document} Hello Kitty \abc{DIN 103} by Sanrio. \end{document} And related, see this wonderful answer: Grouping and ...


1

You have to call differently if the optional argument is missing, so the handier way is with xparse: \usepackage{xparse} [...] \NewDocumentCommand{\nom}{ o m m }{% #2% the text to print \IfNoValueTF{#1} {\nomenclature{#2}{#3}}% no optional argument {\nomenclature[#1]{#2}{#3}}% with optional argument } The legacy definition (without xparse) ...


1

Perhaps something like this? \NewDocumentCommand{\nom}{somm}{% \IfBooleanF{#1}{% (#3)% }% \IfValueTF{#2}{% \nomenclature[#2]{#3}{#4}% }{% \nomenclature{#3}{#4}% }% } This defines \nom with the optional argument #2 (for the prefix) and the two mandatory arguments #3 and #4. If \nom* is used, the expliciting printing of (#3) is ...


1

Try \newcommand*{\nom}[3][]{#2\nomenclature[#1]{#2}{#3}}



Top 50 recent answers are included