TransWikia.com

How to shift nomenclature list toward right?

TeX - LaTeX Asked by user1099 on February 19, 2021

The list of nomenclatures is using the same margin as the document. How can I shift it toward slightly right?
Currently, It looks like this:

enter image description here

Using this code:

documentclass{article}
usepackage[utf8]{inputenc}
usepackage{nomencl}

makenomenclature

begin{document}
mbox{}

nomenclature[03]{$2a$}{Number}
nomenclature[01]{$aa$}{Lower Case Letter}
nomenclature[02]{$alpha$}{Greek Character}

printnomenclature

end{document}

I want this aa, a, 2a to shift slightly right, not aligned to the heading "Nomenclature". How to do this?

One Answer

You can use

renewcommand{nomlabel}[1]{hspace*{1.0em}#1}

which yields:

enter image description here

Code:

documentclass{article}
usepackage{nomencl}

makenomenclature
renewcommand{nomlabel}[1]{hspace*{1.0em}#1}

begin{document}
mbox{}

nomenclature[03]{$2a$}{Number}
nomenclature[01]{$aa$}{Lower Case Letter}
nomenclature[02]{$alpha$}{Greek Character}

printnomenclature[2.0cm]

end{document}

Correct answer by Peter Grill on February 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP