Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In mathematical books you have sometimes (in addition to the index of words) a list of symbols with a short description. In German it is called "Symbolverzeichnis". Is this somehowe realizable within lyx? It may look like this:

Appendix

A \bold{Symbolverzeichnis}

$\mathbb{R}$          Set of real numbers.
$\mathbb{R}_{+}$      Set of positive real numbers.
$|x|$                 Absolute value of $x$.
...

B \bold{Index}

...
share|improve this question
add comment

1 Answer 1

up vote 6 down vote accepted

You could create a nomenclature. To add a symbol to the nomenclature, go to Insert --> Nomenclature entry, or click the toolbar button: enter image description here In the window that appears, type the symbol as LaTeX code, e.g. $\mathbb{R}$, in the Symbol field.

To create the sorted list of all the entries you have created, choose Insert --> List/TOC --> Nomenclature.

To change the name from Nomenclature to e.g. Symbolverzeichnis, add to the preamble

\renewcommand{\nomname}{Symbolverzeichnis}

The preamble is found under Document --> Settings --> LaTeX preamble.

Increasing space between symbol and description

Right click the Nomenclature heading in LyX (what gets inserted from Insert --> List/TOC --> Nomenclature) and choose settings. Set the List Indentation to Custom, and put in the length of your choice. (5 cm, as in the below screenshot, is probably a little too much ...)

enter image description here

One note

When testing with the absolute value, $|x|$ I couldn't get that to work (no idea why). As a workaround I used \lvert and \rvert from amsmath instead. If you haven't used any other math constructs that requires amsmath, you may have activate that package manually, which you can do under Document --> Setting --> Math options. Uncheck "Use AMS math package automatically", check "Use AMS math package".

enter image description here

share|improve this answer
    
This is a great answer, thank you very much for the excellent description. If you allow me a following question: When I do as you described, the $symbols$ are right next to the $description$. Is ther a way to tell lyx to align the description and leave a little more space between the symbols and the descriptions? –  Aufwind May 5 '12 at 21:44
1  
@Aufwind You can set the width of the symbols column manually, right click the Nomenclature heading in LyX and choose settings. Set Width to default, and write the length of your choice. I'll add it to the answer. –  Torbjørn T. May 5 '12 at 21:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.