Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

Layouts

Categories: Layouts, Layouts
<< | 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).

Table of contents (hide)

  1.   1.  Layouts shipped with LyX
  2.   2.  User-provided layouts
  3.   3.  Creating your own layout

1.  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.

2.  User-provided layouts

  1. Journals and Stylesheets
  2. Books
  3. Theses
    • UC thesis: UC Thesis - A LyX layout with sample template based on the UCThesis LaTeX Class
  4. Presentations/Slides
    • LaTeX-beamer: LaTeX-beamer &ndash; a class and layout for presentations
    • Powerdot: Powerdot &mdash; another powerful presentation class
    • Seminar: Alternative implementation of seminar.layout, a comprehensive LaTeX class for slides (including documentation and template).
  5. Letters
    • 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)
  6. Proposals
    • NIH Grant proposal. You can find a LaTeX document class, LyX layout and LyX template for creating NIH grant proposals.
  7. Miscellaneous

(Category: Layouts)

3.  Creating your own layout

Layouts

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2016-02-21 20:46 UTC