<< | Page list | >>
This page points to user-provided layouts (a.k.a. document classes). Modules can be found on the Modules page.
To use the layouts, just copy the respective
*.layout (and, if included,
*.inc) files to the
layouts folder of your user directory (if the folder doesn't exist yet, create it) and then reconfigure LyX (Tools→Reconfigure). After a restart of LyX, the new layouts can be selected in Document→Settings→Document Class.
It is suggested that contributors take credit/accept blame. Unless noted otherwise, contributors can be contacted either through the user or developer mailing lists.
If you want to contribute a layout file, see adding material and about uploading for tips and instructions. If you add a layout, please also add an item to PageList (included below).
Layouts shipped with LyX
If you are looking for layouts, don't forget to check the LyX documentation for the layouts that come with LyX.
- Layouts for scientific journals that are already included in LyX are listed in the corresponding section of Examples
- Note that many layouts are included in LyX, but may not be immediately available because your TeX installation doesn't include the style files.
- These layouts are listed in menu Document → Settings... → Document Class, and their names begin with "Unavailable: ...". If you select one, LyX will tell you the name of the style files missing, which you must download, for example from the "Author's Toolkit" of a journal that uses this style. You have to copy them to the path <your TeX user files>/tex/latex.
- For example, on Windows your TeX user files may be in C:\Documents and Settings\<username>\Application Data\MiKTeX\<version number>. On Ubuntu, your TeX user files may be in "/usr/local/share/texmf/", so you should put the class file/s in the folder "/usr/local/share/texmf/tex/latex/" (create this folder if it doesn't exist).
- After you copy the files, rehash by running texhash, or <Miktex folder>/miktex/bin/texhash.exe (on Windows this may be in C:\Programs). Then, in LyX click Tools > Reconfigure, and restart it. The layout will become available.
- If all or most layouts are missing from LyX in Windows 8 (and possibly Windows 7) files need to be copied from the application directory to the users directory. This was used with LyX 2.1.1.
- Copy the files in C:/Program Files (x86)/<LyX Version>/Resources/layouts/
- Paste the files into C:/Users/<username>/AppData/Roaming/<LyX Version>/layouts/
- You will have to view hidden files in order to see the AppData folder.
- In command prompt, run texhash or C:/Program Files (x86)/<MiKTeX Version>/miktex/bin/texhash.exe
- Then, in LyX click Tools > Reconfigure; when finished restart LyX. The layouts should become available.
- Journals and Stylesheets
- SVMono - Springer Document Class for Monographs: layout, class and makeindex files, with instructions for installing on OSX. If you use this and have problems, please contact the author. And if you don't have problems, please let us know. Note that an alternative SVMono layout file is included in LyX as of version 1.6.5.
- tufte-book: Layout produces a book from the tufte-book class at Tufte-LaTeX webpage
- sffms: Layout produces fiction manuscripts for submission http://github.com/kcyarn/sffms-LyX-Layouts. Note: Different layouts for 1.6.* and 2.0.*. To report an issue, please go to the Github project page and click "Issues".
- LyXBook is a collection of layouts from the Editorium designed specifically for typesetting books in LyX (novels, histories, biographies, and so on).
- UC thesis: UC Thesis - A LyX layout with sample template based on the UCThesis LaTeX Class
- LaTeX-beamer: LaTeX-beamer – a class and layout for presentations
- Powerdot: Powerdot — another powerful presentation class
- Seminar: Alternative implementation of seminar.layout, a comprehensive LaTeX class for slides (including documentation and template).
- Dinbrief: Letter layout according to the German DIN norm. (revised version)
- Brev: A4 letters for window envelopes.
- beletter: Typeset Belgian letters
- frletter: Typeset French letters
- lettre: Typeset French letters (Observatoire de Genève class)
- NIH Grant proposal. You can find a LaTeX document class, LyX layout and LyX template for creating NIH grant proposals.
Creating your own layout