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

2
votes
1answer
374 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
506 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
30 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
323 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
337 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 ...
10
votes
2answers
15k 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
779 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
2answers
4k 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
288 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 ...
1
vote
1answer
448 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 ...
5
votes
1answer
553 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 ...
1
vote
1answer
411 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?
6
votes
1answer
987 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.
4
votes
0answers
324 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
1answer
103 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 ...
4
votes
1answer
267 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 ...
2
votes
1answer
320 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
0answers
276 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 # ...
3
votes
1answer
272 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 ...
2
votes
1answer
4k 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 ...
3
votes
1answer
3k 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
3answers
3k 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 ...
0
votes
1answer
924 views

the new template doesn't work well

I was going crazy with the LyX and MikTeX configuration for a new class,I think I have done it matching the step! but None I get here what i've done: Get a copy of the class file, and copy it ...
4
votes
1answer
3k 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 ...
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 ...
1
vote
1answer
152 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
345 views

LyX Layout for TrueType Fonts [closed]

I'm trying to create a Layout for user manuals for a couple of software applications we made. One important aspect of the layout is that it must use TrueType fonts. In my .lyx documents, I found a ...
11
votes
1answer
4k 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, ...
13
votes
2answers
5k 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 ...