# Nomenclature with Sections

Wolfgang Engelmann engelmann at uni-tuebingen.de
Wed Apr 14 07:07:09 UTC 2021


Am 13.04.21 um 22:44 schrieb Steve Litt:
> Wolfgang Engelmann said on Mon, 12 Apr 2021 10:06:08 +0200
>
>> Am 11.04.21 um 03:23 schrieb Steve Litt:
>>> Wolfgang Engelmann said on Sat, 10 Apr 2021 09:09:48 +0200
>>>
>>>> I would like to have parts of the nomenclature as a separate
>>>> section,
>>>
>>> I know the word "nomenclature" means "a system of names", but what
>>> does it mean as applied in LyX?
>>>
>>> Thanks,
>>>
>>> SteveT
>>
>> If you want to explain words in your document, you use
>> outline > nomenclature entries
>> behind the word. It shows the word as a symbol and you add a
>> description underneath.
>> I am used to Glossary instead of nomenclature, which you get with
>>
>> \AtBeginDocument{\def\nomname{Glossary}}
>> %leads to bold nomenclature title in entries >
>> \renewcommand{\nomlabel}[1]{\textsf{\textbf{#1}}}
>> \renewcommand{\nomname}{Glossary
>> }
>>
>> in the preamble of > Document
>>
>> One can also create a part of the nomenclature as a separate section,
>> e.g. Abbreviations
>>
>> That is what I am after.
>>
>> there is a nomenclature manual for latex, but I would like to know for
>> LyX
>>
>> Perhaps somebody can help me.
>>
>> Wolfgang
>
> :-)
>
> I've needed both those things for 20 years. Thank you!!!
>
> If I understand your situation, you already know how to do what you
> need in LaTeX, and then make LyX commands and environments to make it
> accessible in LyX, and now you're trying to see if there's a native LyX
> way to do it. Being less than a newbie when it comes to nomenclatures,
> and not understanding *exactly* what you're looking to do, I did a quick
> look and found stuff you probably already know about, but just in case I
> found something new, here it is:
>
> The LyX functions manual has the following:
> 	* dialog-show appears to take a nomenclature argument
> 	* Ditto with inset-insert
> 	* There's a nomencl-insert command
> 	* There's a nomencl-print command
>
> The Additional LyX Features manual contains the following sentence:
> 	There is at present no support for glossaries. Adding it would
> 	be fairly trivial, and welcome.
>
> The User's Guide contains a special environment called Verbatim, which
> can contain "index- and nomenclature entries".
>
> The Embedded Objects manual contains nothing about Nomenclature
>
> The User Guide contains a section on using Nomenclature/Glossary.
>
> As you already mentioned, when I search CTAN for "nomenclature", I get
> 8 results.
>
> ===
>
> One happy prospect I see is that it can be done in LaTeX, and the
> Additional Features manual seems to say it's needed and would be easy to
> implement in LyX. If there's no other way, you could implement it in
> LyX, thereby solving your problem and also getting a tickertape parade
> from the LyX community. I think you're already better at LaTeX than I,
> but if you need some assistance, perhaps I could provide some.
>
> SteveT
>
> Steve Litt
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques
>

Steve, I am quite low-brow in latex. What I did was following the hints
given in the list and try it out. I have put it together in the text
file in the annex of this mail.
It works as an appendix behind a chapter, but not behind a section.
Wolfgang
-------------- next part --------------
Nomenclature package:

##################################################
https://wiki.lyx.org/FAQ/TOC
How do I add the nomenclature to the toc in LyX?
As noted above if you use a KOMA-Script class you can use the document option idxtotoc to include Bibliography, Lists of Figures/Tables and Appendix. What is not mentioned is that Nomenclature is also included when using this command.
Else,
Add the following to the preamble:

##################################################
How can I get Bibliography, Lists of Figures/Tables and Appendix to appear in the table of contents (TOC)?
If you use a KOMA class: use the document option liststotoc
Else: use the package tocbibind from CTAN:/, i.e. \usepackage{tocbibind}
If you use \usepackage[nottoc]{tocbibind} instead, the toc will not show up in the toc.

##################################################
Lyx Thesis:
see 3 > appendices

####################################################
From my letter to Lyx User Group, corrected for chapter, not section (which does not work):
https://github.com/scottkosty/lyx-princeton-diss
(use the green box "code")
The trick is to put (by using the \usepackage{appendix} in the preamble behind the place where one wants to insert the subappendix/ces (here chapter 3) the following (as an example):

%%at end of chapter 3 add:
\begin{subappendices} %%in ERT
Appendix %% as chapter*
3.A Appendix of Chapter 3 %% as section
3.B Appendix of Chapter 3 %% as section
\end{subappendices} %%in ERT

This results in te pdf output as:

Appendix

3.A. Appendix of Section 3.4
3.B. Appendix of Section 3.5