Go to page:

Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

FAQ /

SurprisesForNewUsers

Categories: FAQ
<< And how do I refer to LyX if I want to cite it? | Page list | Introduction >>

A page with suprises (FAQ) that new new users typically encounter.

Must use units on all lengths...

All lengths must include a unit of measure. For instance, 1in means 1 inch, and 1px means one pixel. In modern LyX versions, most dialog boxes include a dropdown with which to choose the measure unit (the table settings dialog box for instance). However, there may still be some dialogs that don't, in which case you'd use something like 1in or 1cm. If you write LaTeX code to create your own environment, all lengths in that LaTeX code must be of a form like 1in, 2cm, etc.

Note: This requirement comes from LaTeX

Must run texhash after adding new LaTeX class/style...

LyX can be given new capabilities by including a style file. Often these style files are already included in your LaTeX distribution tree, but sometimes they're not. If a needed style or class file is not already in your LaTeX distribution tree, you must download it and put it in the distribution tree. Once that's been done, in order for LyX (and LaTeX) to "see" the new style or class file, you must run the texhash program, as root.

Confusion between LyX code and LaTeX code...

Note: This will rarely be an issue for a new user, it is something for advanced users!

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:

Categories

Revision history and notes

2008-02-29
Steve added three issues and Christian made minor tweaks.
2008-02-28
Based on Steve Litt's post, I created this stubb hoping others will add useful content. chr.
It might be a good idea to mark which question/issues really depend on things other than LyX, e.g. LaTeX.

<< And how do I refer to LyX if I want to cite it? | FAQ.PageList | Introduction >>

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2008-02-29 09:32 CET