Go to page:

Search:   Help



LyX documentation


Shared groups




Categories: FAQ, Layouts
<< | Page list | >>

Frequently Asked Questions about Layouts and Friends

§ Are there more layouts out there?

See layouts.

§ And modules?

See Modules.

§ How do I make LyX recognize a new LaTeX class?

§ Where can I find information about creating LyX layout-files?

§ Where can I find more LaTeX classes?

By far the largest collection of LaTeX classes and tools is to be found on the Comprehensive TeX Archive Network (CTAN). The TeXLive distribution features all classes available from CTAN, see LatexTips:texlive.

§ How to find out the LaTeX definition of a command

See redefining list of figures for an example of how you can find out the definition of a LaTeX command

§ How can I find errors in layout files?

See debugging layout files

§ What is the difference between LyX code and LaTeX code?

This will not be an issue for you until you begin creating your own environments (paragraph styles) or character styles. Once you create your own styles, understanding the difference between LyX code and LaTeX code is a must.

Loosely speaking, LyX is a graphical front end to LaTeX, which itself is a macro set of the TeX computer language. The TeX language is designed from the bottom up to write documents.

The native format of LyX looks similar to LaTeX, but it is not LaTeX, and confusing the two can lead to problems when constructing your own environments or user defined character styles within layout files. First and foremost, LyX code is case independent, but LaTeX is case dependent. LyX uses the pound sign (#) for comments, whereas LaTeX uses the percent sign (%) for comments. LaTeX code must be enclosed between Preamble and EndPreamble LyX keywords, within the LyX document.

For more information on LyX code and LaTeX code, see the following:

FAQ Layouts

<< | FAQ.PageList | >>

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2010-08-07 10:41 CEST