{lyx} specifically is for questions about the LyX document-authoring application, that uses LaTeX for typesetting. Check that your problem isn't really a LaTeX problem before using this tag: export your file as LaTeX and try to compile this to find out.

learn more… | top users | synonyms

5
votes
1answer
2k views

Theorem/Definition/Lemma/etc independent numbering in Lyx

I am using the Koma-script book class in Lyx. By default, theorems, definitions, lemmas, and so on, follow the same numbering. So after "Theorem 1" comes "Definition 2", then "Lemma 3", and so on, ...
5
votes
1answer
2k views

How to add a caption to a LyX table (with table numbering) using the menus?

I know nothing about TEX/LaTeX so I use LyX. I created a table using the LyX menu: Insert > Table..., changed the Rows and Columns values, hit the OK button, and here it is there. However, I can't ...
5
votes
2answers
2k views

Using “bibitem” in LyX

How do I use \bibitem style bibliography in LyX without the ERT? Right now I prepare the @article style bibliography in a file (say) references.bib. Then I go: Insert => List/TOC => BibTeX ...
5
votes
1answer
1k views

Make volume bold in custom bibliography style .bst

Since I could not find the style that met my teacher's requirements for the bibliography I have to do, I created my own bst with latex makebst on my mac. I had chosen to make the volume bold but it ...
5
votes
1answer
417 views

What is the equivalent to the german “Symbolverzeichnis” and how is it realizable in Lyx?

In mathematical books you have sometimes (in addition to the index of words) a list of symbols with a short description. In German it is called "Symbolverzeichnis". Is this somehowe realizable within ...
5
votes
1answer
549 views

What shell commands are executed by LyX View menus?

For a variety of reasons, I'm using LyX as my primary LaTeX document creation tool, but I want to avoid doing things or relying on features of LyX that make it hard to use other tools as well. While ...
5
votes
1answer
2k views

How to change the way theorems are displayed with LyX?

The theorems are currently all displayed in bold, but I would like to display them in small-caps. My question is much like this one. However, I am using LyX with an AMS style document class, and was ...
5
votes
2answers
135 views

Spacing problem at List of Figures

I use Lyx 2.1, document class : Report. My problem is that the titles of figures are written on the numbers at List of Figures.
5
votes
1answer
171 views

Problems using Expert Fonts

I recently purchased an expert font, Calluna (exljbris). There is only one problem when using the font: The font is encoded with Old Style numbers by default. I don't know how to access the Lining ...
5
votes
1answer
506 views

Writing a thesis in Lyx using a Latex Template - What am I doing wrong?

I'm looking to write my thesis in Lyx as I'm impressed with all the document handling features. I have found, what is called, a Latex template for my university's thesis here: ...
5
votes
1answer
3k 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
2answers
377 views

Add pdf slides to a lyx document?

I want to add the pdf slides into a lyx document. That means: for each page in pdf document insert it to the lyx document and seperate it from other slides. I need it for adding notes to lectures. In ...
5
votes
2answers
173 views

How to line-number 1,5,10,15,20,25… in Program Listing in Lyx

I basically want every 5th line numbered, but would like to keep to 5,10,15,20,... as that seems intuitive to readers. So that means 1,5,10,15,... The first gap is 4, all subsequent ones are 5. Is ...
5
votes
2answers
375 views

classic thesis lyx language problem

What changes (in the tex-configure file i guess) should i make to use this package in greek language? when i export it to pdflatex the text is gibberish. i think this is the relevant part ...
5
votes
1answer
338 views

how to decouple alignment of rows within a column in LyX?

How do I decouple the paragraph alignment of rows within a column in LyX? I would like my top row to be aligned in the centre, and all subsequent (content) rows to be aligned left. However, whenever ...
5
votes
2answers
190 views

Adding citations as I write and not at the end of my writing

I'm using LyX for writing my article. And I want to add a bibtex library to add references for it. I can do that and then add citations from that library without a problem. But the thing is, I'm ...
5
votes
1answer
2k views

wide table in a two-column document

I have a two-column LyX document. I want to add a table that will be as wide as the entire page, so that it will not have to be squeezed into a single column. I found some suggestions: table too wide ...
5
votes
1answer
2k views

Ruled Algorithms in columns/minipages

I'm using Benoit Guillon's algo styles for Lyx (at http://bgu.perso.libertysurf.fr/) in 2.0 to get nice algorithms ruled with line numbers. This is just a wrapper for the algorithm and algorithmic ...
5
votes
1answer
650 views

Quick way to enter Norm in LyX?

In LyX, if I go to the insert delimiters menu, I can insert a norm. Is there way to attach a shortcut to this? By norm, I am referring to the double bar on each side.
5
votes
1answer
403 views

Similar header format for my company

I need to reproduce the following header format: Please help; I'm a completely starter at LaTeX or TeX. I work with LyX and this is included in the document's preamble: \usepackage{fancyhdr} ...
5
votes
1answer
665 views

How to add Go to the programming languages list in Lyx

I'm adding Go code to my document via 'Insert->Program Listing' in Lyx. The language Go is not available in the language dropdown in the settings. Is there an easy way to add Go syntax ...
5
votes
1answer
3k views

How can I add a blank page before the title of a book in tex or lyx?

I was trying to make a little booklet in Lyx. I want to export it to .pdf and then use to brochure-print function of adobe reader. Anyway I need to put an extra blank page in before the title page so ...
5
votes
1answer
3k views

Automatic equation numbering in LyX

I would like to create automatic numbering of equations in LyX. when I entered \renewcommand\[{\begin{equation}} \renewcommand\]{\end{equation}} for the "equation" environment it worked. However, ...
5
votes
1answer
68 views

Vertical space between section and top of the page?

I'm writing my thesis in Lyx and I'm using the Article layout and I would like my section heading to be centred, always starting on a new page and to have some padding from the top of the page. I ...
5
votes
1answer
194 views

Vertical spacing in multi-line title

Using LyX I have set the document to 1.5 spacing and it is applying to my title causing a weird space since my title goes into a second line. Other places in the document changing the paragraph ...
5
votes
1answer
195 views

renewcommand cite with one or two arguments

I need to renewcommand \cite. I used the following: \let\citeOld\cite \renewcommand{\cite}[1]{{\mbox{\citeOld{#1}}}} and works correctly for citations like \cite{Taylor}. The problem is that if I ...
5
votes
1answer
168 views

Unreasonable orphans in lines (classicthesis)

I am using classicthesis in Lyx, and I run into some weird orphans. From what I can see, there are no reasons for them to occur (see image for two examples). I am using this package in my ...
5
votes
2answers
465 views

Color pages in specific sections in LyX

To show the difference between my theoretical an practical part, I want to change the background color of the page during practical sections/parts. Until now I used a new paragraph style, which ...
5
votes
1answer
795 views

LyX table border colour

I have a multi-row table in LyX, with black horizontal borders at the top and bottom of the table. I would like to insert other horizontal borders inside the table that are grey rather than black. ...
5
votes
2answers
452 views

Some problems using LyX RTL with equations

I'm really new to the whole LyX(2.0.5.1) thing I'm usually using LibreOffice Writer and it's Latex like "formulas". But I've heard so many good things about LyX, so I've decided to give it a try but ...
5
votes
2answers
1k views

Good format for homeworks in LyX

I am using LyX to type in my homework solutions, but I don't like my format. The homework itself is in the format of questions 1,2,... and each question has sub-questions: 1.1,1.2,... etc In the ...
5
votes
1answer
928 views

Cyrillic sans font in beamer (LyX)

I am trying to use Cyrillic sans-serif font in a beamer presentation. I make it using LyX 2.0.0. The code produced by LyX (exported as plain LaTeX) is %% LyX 2.0.0 created this file. For more info, ...
5
votes
1answer
310 views

Diacritics inside an Epigraph in LyX

I can use letters marked with diacritics in most parts of my document. Now, I'm making an epigraph \epigraph{,evlos t'nac uoy melborp a si ereht fI''\\ ''.ti dnif :evlos nac uoy melborp reisae na si ...
5
votes
1answer
1k views

Change vertical space between numbered formula in LyX

I have inserted serveral (20) Numbered formulas directly behind eachother in LyX 2.0.3. If I export these formulas to the final version in PDF, there is a large vertical space between the formulas. ...
5
votes
1answer
96 views

Highlighting a line in program listings in lyx

I am not able to find how i can highlight a particular line of code in program listings. Syntax highlighting seems to work but I dont need particular language keywords to be highlighted. e.g. for the ...
5
votes
1answer
120 views

minitoc package adds extra page when used with float and lastpage packages

The minitoc package adds extra page when used with float and lastpage packages. I figured out that this problem can be resolved by loading minitoc package before float and lastpage packages. In LyX ...
5
votes
1answer
88 views

How to exclude code from spell-checking in LyX?

I'm writing a technical document in LyX (version 2.0.5.1 for Windows) and I'm using Hunspell for spell checking. Throughout the text, there are code snippets which I've formatted with the "Code" text ...
5
votes
2answers
490 views

List of BibTeX references in PDF using LyX

I have a list of references created in BibTex and now I'm trying to put in in LyX, to then create a PDF. I tried doing: Insert -> List -> BibTex Bibliography and I get a grey box saying BibTex ...
5
votes
1answer
1k views

How do you remove the vertical distance between references in lyx?

Using LyX, a BibTeX file and the unsrt bibliography style. The program automatically leaves an empty line between each reference, wasting lots of space in the process! Is there any way to force LyX ...
5
votes
1answer
503 views

How to tell LyX to put every sentence on its own line?

I'm planning to write my master thesis using LyX. In order to keep track of recent changes, I want to export the LyX source files to normal LaTeX source files and put these in a Git repository. In the ...
5
votes
1answer
449 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 ...
5
votes
3answers
3k views

LyX enumeration style from numbers to letters

I'd like to use, for this specific instance, letter style enumeration [ like a) b) c) ] . I realize that I can nest one enumerate environment in another and the style will change, but I don't want a ...
5
votes
1answer
101 views

Renew command on mbox makes it freeze - Fix subscript size

I'm trying to change the font style of \mbox, but all my tries have failed. All commands I try either have no effect or make pdflatex recursively keep working and never finish and freeze. This makes ...
5
votes
1answer
103 views

Instant preview color in LyX

I'm using the instant preview feature in LyX, which as I understand is based on a LaTeX package of the same name. As I have LyX configured with a dark background - Is there anyway to configure the ...
5
votes
1answer
1k views

disable automatic insertion of \selectlanguage and \inputencoding in LyX

Is there a way to disable LyX's automatic insertion of \selectlanguage and \inputencoding? I like being able to switch languages by hand once in a while, but 99% of the times LyX inserts those ...
5
votes
1answer
2k views

natbib: Split Bibliography Into Sections By Entrytype (without using multibib)

What's wrong with multibib? multibib lets me split up my bibliography. But I have to specify manually (by \citeabc or \citedef), which bibliography entry belongs to which section. Also, it's not ...
5
votes
1answer
6k views

Making document classes in LyX available

I'm writing a letter in LyX, and I want to choose a document class for it. (I don't like the default letter.) Looking at Document -> Settings -> Document class, I see that most classes are ...
5
votes
2answers
1k views

LyX: How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

I am working on a document in a TrueCrypt volume. As far as I understand, when I view PDF, LyX puts a temporary PDF file (and probably all temporary pdflatex files) into some other folder (at least, I ...
5
votes
1answer
1k views

Cannot insert TiKZ LaTeX code in LyX [closed]

I'm trying to embed TiKZ code in my LyX document. When exporting the document to pdf (pdflatex) I get a blank area instead of the TiKZ output. Here's what I've done: I've added the following two ...
5
votes
1answer
217 views

LyX: Paragraphs ignored in PDF output

I have a document with article class. Here's the minimal example: #LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass article ...