Skip to content

Lyx Templates Assignment Abroad

You may go along with the previous answer of using sections and paragraphs to separate your questions but then you still have the problem of formatting those (which can be done easily in the ). However, I will assume you have a stock of work in the present format and you would like to make only minor changes to the document to facilitate your layout.

I would like say in advance that I recommend you read the LyX tutorial to learn how to use enumerated lists, when to hit return, and when to hit Ctrl-Return. You can turn your questions into enumerated lists by placing the cursor on a line and selecting where is says on the top left. You will see that a number appears in front, so you may remove your hand-written question number.

Only then will this work. Then you have to mark everything that is answer to that question and hit Shift-Alt-(right cursor key) to make it part of the point in the list. If you hit Return, the format stays the same, so make sure that all of your answer is of format (not part of your enumerated list).

Only then will this formatting work.

Since I have no way to send you an edited version of your document, I have appended a minimal LyX file below.


Formatting bold numbers for your enumerated lists is easy, making them spaced is a little more tricky, here goes:

To add space, I follow a description originally intended to Squeeze Space in LaTeX that I have used previously.

Download the package atbeginend.sty and save it in the same directory where your HW2.lyx file resides.

You can then effect the changes you desire by going to

and pasting the following block of LaTeX code:

You can change the and statements to change the size of the numbers. Change the number if you want to change the space between questions (in units of line spacings). I have added an analogous statement for itemized lists with no change (factor of as a placeholder in case you would like to manipulate those, too.

From my output for your file (edited to use enumerated lists):

The web page Squeeze Space in LaTeX contains further useful ways to manipulate space that you may wish to add to your LaTeX preamble.


My Minimal Working Example (MWE) output:

MWE code follows. Paste this into a text editor and save-as MWE.lyx
Do NOT paste this into LyX, this is LyX code, not content.
You can then load the file from LyX and it should appear as a short document with enumerated lists.

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 (and, if included, ) files to the 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.

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)

Creating your own layout

Layouts