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

1
vote
0answers
28 views

Getting minted and LyX work together

I need to insert code in my report, so I decided to use minted with LyX, my usual editor. I found a solution for getting minted and LyX together in this post (pwaller answer), by adding a custom ...
3
votes
2answers
43 views

Is it possible to create a LyX Layout Style without vertical paragraph spacing?

When i define a new Style in a LyX Layout, in the LaTeX output there is always two newlines after the LyX paragraph. I can remove the vertical spacing which is displayed inside the LyX editor (with ...
2
votes
1answer
29 views

Defining a Lyx-inset, that always has full line width in the editor

Correction: In the original text I wrote that floats are displayed full-width. This was an error; Just like the "flexi-insets" created with InsetLayout they are only displayed in full-width when they ...
1
vote
1answer
63 views

Lyx wrong numbering in figure and subfigure

the latex source is as follows: \begin{figure}[h] \begin{centering} \protect\caption{Accuracies comparision of different methods \label{fig:comparision}} \par\end{centering} ...
3
votes
1answer
28 views

How to find the parent of a class file

I am trying to use the ACM Small class in LyX. A LyX Wiki page says to create a LyX layout based on the parent of the class file: "Lets assume, the LaTeX class amcsiggraph.cls is a descendant of ...
2
votes
0answers
54 views

Adding an environment to LyX for dividing a proof into steps

My question is basically a combination of the questions Is it possible to use the enumerate/itemize environment within the proof/remark environment in a nice way? and Create new paragraph style in ...
1
vote
0answers
328 views

MacTeX 2014 TeX Distribution panel broken under Mac OSX Yosemite

I've installed MacTex-2014 on my Mac running on Yosemite. The Tex Distribution window is broken, and am unable to explore all the templates on the Lyx. Is there any way to fix it?
1
vote
0answers
45 views

Installing New Doc Classes in Lyx

I have been following the instructions for installing a new doc class in lyx but when I open up lyx under document - settings - document class my doc class appears under unvailable. So what's gone ...
1
vote
2answers
253 views

LyX template prerequisites on Mac are missing

This is my first time using LyX to write my thesis. Running on Mac (OSX 10.9) and downloaded LyX Version 2.1.1. I noticed that there is no installer. All LyX files are bundled here: (1) ...
2
votes
0answers
81 views

Publishers and Talmud layout

a) What software do publishers use for creating the complex layout of the Talmud? Here is a picture of what it looks like: b) Can anyone recommend to me a software that's easy to use for this?
0
votes
0answers
37 views

How to contain the Program Listing in the Appendix within the margin?

I have added the Code Listing using - Insert -> File -> Child Document
0
votes
0answers
34 views

Letting Lyx ignore margins for equations only

I'm using the default article template in lyx. I want to add one exception to it's margins preferences - Let equation break margins. I want that in order allow long oneliner-equations.
2
votes
1answer
98 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 ...
1
vote
0answers
126 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: ...
2
votes
2answers
83 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?
3
votes
2answers
187 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 ...
6
votes
1answer
2k 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
0answers
77 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 ...
1
vote
0answers
41 views

Why the LyX getting reset toolbars layout every time it starts?

Every time I open Lyx it doesn't restore already opened toolbars (e.g. version control, table of contents), but instead shows only the default toolbars. How to fix it (make toolbars layout permanent)? ...
0
votes
1answer
42 views

Lower the whitespace on each page at the top

I just noticed that in my document every page consists of a large whitespace at the top. I have probably used some package that messed it up because I don't think it should be like this. How can I ...
9
votes
3answers
2k 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.
1
vote
0answers
65 views

Easy way to make changes in a class?

I'm using the article (Hebrew) class for my document. I'm using the "theorem" and "proof" modules (I hope that's the correct term), and I'd like to make very simple changes. For example, make "Proof" ...
3
votes
1answer
140 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 ...
2
votes
1answer
141 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} ...
6
votes
1answer
5k 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 ...
3
votes
1answer
75 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 ...
1
vote
0answers
77 views

Lyx document format with “subheader”

I am using an article class in a lyx to produce following format Company Mr XYZ Client name age <------- "repeated on every page" Address Contents footer I donot want to ...
4
votes
0answers
488 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 ...
2
votes
1answer
217 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 ...
3
votes
1answer
224 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
0answers
164 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 ...
2
votes
1answer
290 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
86 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 ...
4
votes
2answers
344 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 ...
6
votes
1answer
2k 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 ...
4
votes
0answers
471 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
1answer
221 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 ...
3
votes
1answer
191 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 ...
2
votes
1answer
788 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 ...
1
vote
1answer
226 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 ...
3
votes
0answers
514 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
339 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 ...
1
vote
2answers
463 views

Using \inputminted from lyx with relative path

I'm using the minted package with lyx. I want to use \inputminted and must be able to specify a relative path (to share between machines with different home directory names). The problem is that the ...
1
vote
0answers
28 views

How do you move a figure caption in lyx? [duplicate]

When inserting a figure in Lyx (i.e. Insert->Float->Figure), the figure caption is automatically inserted below the image. The image that I am inserting is long but narrow and therefore the ...
2
votes
1answer
289 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
320 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 ...
8
votes
1answer
13k 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 ...
5
votes
1answer
693 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 ...
4
votes
1answer
3k 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 ...
3
votes
1answer
285 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 ...