2

How to make a dictionary with LyX ? I found this page about this in LaTeX. The \newenvironment and \newcommand i put in Preamble or inside the text?

closed as not constructive by Marco Daniel, Mensch, T. Verron, Martin Schröder, mafp Feb 22 '13 at 18:42

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.

2

\newenvironment and \newcommand have to go into the preamble "Document > Settings ... > LaTeX Preamble".

Note that they will not automatically create new styles. Unfortunately, you have to write LyX styles yourself. (For more details, see "Help > Customization" in LyX, and an example is here.)

Alternatively, you could use "TeX code" / ERT (Ctrl-L) and write LaTeX directly, but then there is not much gain in using LyX. Or - if the dictionary is only a part of your document - you can include LaTeX code via "Insert > File > Child Document" using "Include Type: Input".

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