LyX uses layout files (.layout) to control the appearance of a document inside LyX. This does not (directly) control the appearance of the printed document.

learn more… | top users | synonyms

13
votes
2answers
4k views

Create new paragraph style in LyX

Background In OpenOffice and Microsoft Word it takes seconds to create a new paragraph style. Here is how I currently use LyX with the KOMA Script document class to mark text as a quotation: Type ...
11
votes
1answer
3k views

How to create (1) a new Environment for LyX's Environment drop-down menu, (2) a new Text Style

My two part question pertains to LyX. How do you create a new "Environment" ("Paragraph Style") for LyX's Environment drop-down list (Standard, Itemize, Enumerate, Chapter, Section, Subsection, ...
9
votes
3answers
990 views

Examples of simple beautiful PhD theses

Please share the simplest, most beautiful PhD / master's theses you've ever seen. Looking for ideas for layout (medicine). Source code appreciated.
6
votes
1answer
6k views

How to install an unavailable document class for LyX on Mac

I am new to LyX so I'm sorry if this question is really naive. I'm using LyX on a MacBook and I'm hoping to use the AEA document class on it. Since it is not available automatically, seems that I ...
6
votes
1answer
517 views

How to make unavailable document classes available for LyX on Macbook?

I have a problem with making unavailable document classes available for LyX on Mac OS X. I have installed LyX and MacTeX (latest versions). I can see the nature class in TeX information of LyX, but ...
6
votes
1answer
802 views

Syntax Highlight in “Insert TeX code” in LyX?

Is it possible to show syntax highlighting in the "Insert TeX code" boxes in LyX? This would be very handy when one wants to input something longer using code.
5
votes
1answer
511 views

How to align bibliography to the left

I am using a custom bibliography style I created with makebst. For some reason, the references are not aligned to the left, only the first line is aligned to the left and the rest seems to be ...
5
votes
1answer
2k views

Using a new document class/template with LyX?

I tried googling this elsewhere but I'm new to LaTeX and extremely confused about certain things. Basically I downloaded MikteX and I'm using the latest version of Lyx with it. Now all I basically ...
5
votes
1answer
397 views

Correct left aligning items in simplecv (LyX) [closed]

The simplecv class (for LyX), provides the Itemize environment which is defined in simplecv.layout as follows: Style Itemize Margin Static LatexType ...
4
votes
2answers
179 views

Lines overrun margins

I use custom 1 inch margins for most of my homework but for some reason LyX likes to ignore the margins sometimes, for example: I don't know why it keeps doing this it happens in a lot of my ...
4
votes
1answer
2k views

Converting sty and bst files to lyx layout

I want to write a paper for a conference that requires the use of a specific style-sheet, see here: http://www.acl2012.org/call/sub01.asp under "ACL 2012 Style Files". I would like to use LyX for ...
4
votes
1answer
259 views

Naming LyX layout appropriately

I am continuing my question from Class relationship between two given .cls file? To use an custom document class one needs to create LyX layout named appropriately. In my custom document class. I ...
4
votes
1answer
146 views

Change fontsizes and distances between 2 lines

I have a problem with my fontsizes. I want to change the fontsize of my titles globally in my Latex document. I therefore created a newcommand. Here is a MWE ...
4
votes
0answers
325 views

Is the Standard LaTeX Book class capable of a Novel's dimensions, and the front back matter?

Can the standard LaTeX “Book” class adjust to the paper size and structure of a Novel sized book? It would be smaller than the standard dimensions that LaTeX seem to be setup for. The LyX dialog box ...
4
votes
0answers
250 views

Lyx: ensure runninghead always on right [closed]

I create a running heading with the command "runninghead" Now the running head is on every other side on the left side. I want to print the work onesidedly so I want to get the running heading on ...
3
votes
3answers
2k views

How do I change the subsection by Roman letter to number in Lyx?

I am using one IEEE template to write one two column paper, after converted into pdf format, the subsection is identified with Roman letters, such as I, II, III, IV, etc. I want to change it to ...
3
votes
1answer
2k views

Shortcuts for Lemma, Claim, Theorem etc

I'm using Lyx 2.0.2 I would like to define keyboard shortcuts for creating mathematical sections such as Theorem, Lemma etc. I'm pretty sure those do not exist ...
3
votes
1answer
182 views

Insert second slide with Lyx and Beamer

I am trying to create a presentation in LyX using Beamer. I am using LyX 2.1.0. I created a new document, and selected Document -> Settings -> Document Class -> Presentations -> Beamer. ...
3
votes
1answer
2k views

Use Revtex 4.1 in Lyx or simply on linux

I am new to latex under Linux and I recently installed LyX on an Ubuntu derivative and as we all know a lot of the provided templates don't work, one particular one that I am really interested in ...
3
votes
2answers
68 views

(lyx) Chapter Number after Part Number (Chapter 4.4 instead of Chapter 4)

I know its counter-intuitive and doesn't make any sense at all, but bear with me. I am using the classic thesis style (in lyx), and the recommendation of my university ask me to do so. So currently My ...
3
votes
1answer
72 views

Set default output format in layout in Lyx

I am writing a layout for a class file. The corresponding class file specifies several \RequirePackage calls with the [dvips] option, and hence trying to compile the document using pdflatex or any of ...
3
votes
1answer
89 views

Displaying only 2 lines of text in LyX Editor

Lets say I type a LyX document, that after 5 minutes of writing looks like this: Now the bottom line is the line I am continuing to wrote on, this I have already written enough text to cover the ...
3
votes
1answer
249 views

Class relationship between two given .cls file?

The larger context of my question is about installing a document class in Lyx. I've done all the usual 'texhash' and 'reconfigure' thing, but just realize that I need to create a layout in Lyx for ...
3
votes
1answer
55 views

Bold claim environment through local layout in LyX

I would like to create a new bold "Afirmação" ("Claim" in portuguese) environment through "Local Layout" in LyX (I don't want to create a new layout file). So I went to Document -> Settings -> Local ...
3
votes
1answer
114 views

Bottom left of Beamer Slide in LyX

Looking to fully customize the bottom left of all of my slides in LyX. I have three authors and it is trying to fit all of our full names while I want is "X et al. (Institution)" or just "X et al." ...
3
votes
1answer
138 views

wrong page size using LyX and Koma Script

First of all I am new to using Tex so please excuse any obvious things which will not be included in this question. But to the point: I am using LyX 2.0.6 (with Miktex 2.9). I am writing a thesis in ...
3
votes
1answer
272 views

Recreating a renewenvironment using the \renewenvironment is creating a side effect!

I have a buildin environment in a module theorems-ams-bytype.inc (in lyx) example, which i copied and created a duplicate with required changes for a environment called as pitfall. Style Pitfall ...
3
votes
0answers
301 views

Lyx IEEEtran template copyright overlaps text, authors not appearing

How do you make certain that the copyright and publisher id mark are correctly located at the bottom of an IEEEtran template Lyx document when rendered as PDF? I've tried a couple of suggestions but ...
3
votes
0answers
114 views

I had an install error and all of the default layout/class files are missing. How do I fix this?

During the installation process there was an error and it seems that none of the default class layouts are available. I have tried looking at the LyX wiki but it seems that only user made layouts are ...
3
votes
0answers
373 views

How can I create a layout for corporate documents using LyX? [closed]

My employer has a layout, current stored as a Microsoft Word template that is used for all sorts of different documents. (There are a few related templates for specific types of documents.) The ...
2
votes
1answer
2k views

Quadrants in slides using LyX and beamer

In LyX to do columns on a beamer slide you have to do many sub tasks: Columns (top aligned) Column Width Indentation, for each paragraph in column repeat 2--4 for second column Is there maybe a ...
2
votes
1answer
389 views

LyX does not recognise texlive directory on Mac

I installed my TeX Live through Macports. There is no problem if I compile my .tex with xelatex in a terminal. But LyX only "knows" the texlive basic packages with are located at ...
2
votes
1answer
200 views

Multiple text layouts in one LyX document

In general I want to use a 3mm spacing as my text layout for space between paragraphs. However, this produces an extremely spaced out Table of Contents. Hence, I would like to use an indent paragraph ...
2
votes
1answer
52 views

How do I prevent LyX from loading fontspec automatically?

I would like to use non-TeX fonts in LyX. To do this, I use the Document->Setting->Use non-TeX fonts setting. This setting causes LyX to insert the \usepackage{fontspec} statement automatically into ...
2
votes
2answers
48 views

How to write text document in two colums in Lyx2.0.2?

How to write text document in two columns in Lyx2.0.2, as authors write in published papers?
2
votes
1answer
156 views

Lyx minted environment layout

Before I resolved a problem to set up a minted environment in LaTeX. Now, I would like to add this environment as a LyX layout. I have tried with Style MatlabCode Category MainText ...
2
votes
1answer
78 views

Sharing an “Unavailable” layout

I am writing a document, on which I work on several computers, and also with a colleague. The document uses a certain article layout that by default is unavailable on LyX. The LyX wiki page says ...
2
votes
1answer
212 views

Write a dictionary with LyX [closed]

How to make a dictionary with LyX ? I found this page about this in LaTeX. The \newenvironment and \newcommand i put in Preamble or inside the text?
2
votes
1answer
74 views

Header superimposed over text

The header in my report is superimposed on the text. I've tried altering voffset and header height but it didn't get me satisfactory results. \documentclass[12pt,a4paper]{article} ...
2
votes
1answer
144 views

Fixing Slide Number for Duplicates in LyX

I cannot find an answer for this seemingly easy question. In LyX, I build bullet points over several slides, but the slide number continues to increase. Is there a way to designate a set of frames as ...
2
votes
1answer
250 views

Parameterised Enviroments in Lyx

Ok, I have a set of structured data that I want to format consistently. In this case a set of spells for a role-playing game. Now in Latex I vaguely remember I could do something using ...
2
votes
1answer
292 views

LyX layout for Eurographics

Has anyone used/written/heard-of a LyX layout for Eurographics publications? (e.g., Computer Graphics Forum, Symposium on Geometry Processing, etc.) Eurographics publications provide a LaTeX ...
2
votes
1answer
3k views

Creating LyX Layouts – No indents for first paragraphs

Based on article.cls, I created my own Document Class with a new Environment, called "Body." It shows up right when compiled, but it doesn't appear in LyX correctly. It's supposed to have the same ...
2
votes
0answers
57 views

How to follow the DRY (Dont Repeat Yourself) in multidoc?

What is the best way to keep the configurations and same content in different parts of the main document reusable from single location (e.g. from child document)? First idea was to have this ...
2
votes
0answers
234 views

How to add a parameter to a LaTeX class via the LyX layout? [closed]

I want to have this LaTeX document class code produced by LyX: \documentclass[english]{lni} My Layout class looks like this: #% Do not delete the line below; configure depends on this # ...
1
vote
1answer
295 views

How can I set the default 'table border style' in LyX layout?

I want to specify the style of table borders (formal vs. default) in a LyX .layout file. How can I do that?
1
vote
1answer
174 views

LyX: Changing layout inside table cell

I'm using LyX to write a simple report. I had some paragraph written as a "description list", when I thought that it may look better as a table instead. I created a table, and when I copied the text ...
1
vote
1answer
295 views

In Lyx, I am trying to create a module for “Illustration”

I am trying to create Illustration drop down in Lyx. For this I am creating a module in the lines of theorems-ams-bytype.module and theorems-ams-bytype.inc. This is the code inside it: Style Example ...
1
vote
1answer
147 views

Using thmbox's title with lyx

Hello I'm trying to create my own layout I'm using thmbox package for theorems, and I want to use the title feature. I'm using LyX as my editor, and I've created a layout file defining several ...
1
vote
0answers
31 views

Slides template in LyX generates option clash for package graphicx [closed]

The slides template in LyX is generating an error even with a very simple example (that is, a single slide with a *.pdf plot) The source, provided below, generates this error: ! LaTeX Error: ...