{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
2answers
605 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
538 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
1k views

Citing multiple authors with alternate separator than “and” using BibTeX

I'm using LyX on Linux Mint 14 ... Using BibTeX with the apalike style and some modifications in the preamble, I've managed to get the bibliography as it should be except for one thing. When I cite a ...
5
votes
1answer
3k 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
9k views

Regression tables made with esttab in Stata have columns with different widths, using LyX

I am relatively new to LyX and I am trying to output regression results into TeX code, and then insert the resulting tables in a LyX document. The command I use to create the table is: reg y1 x1, ...
5
votes
1answer
879 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
259 views

How to surpress pagenumbers in bibliography section in LyX?

If you look at this picture you can see, that LyX generated the pagenumber where I cited book [2]. How can I surpress that behaviour?
5
votes
1answer
456 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
877 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
4k 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
1k views

How do I prevent LyX from loading inputenc?

In my (out of the box) configuration of LyX, the line \usepackage[latin9]{inputenc} is inserted in the generated .tex file by default. This makes it impossible for me to set different options ...
5
votes
1answer
19k views

Lyx Templates site

Does anyone know of a site which collates Lyx templates and provides previews of how they look? I don't just mean thesis layouts but also letters, essays and all sorts. Many thanks in advance.
5
votes
1answer
114 views

Modules (Theorem,Claim,Proof etc) LyX Question

I have a question about LyX. When I use for example Proof, I write stuff, but in the middle of the proof I have to prove another lemma. So I click Lemma, but it ''closes'' the proof. I don't really ...
5
votes
1answer
130 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
298 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
259 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
199 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
1answer
985 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
551 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
2k 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
1k 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
390 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
2k 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
2k views

Cell colouring a multirow in LyX

I've got a multirow cell and I need to make it all have one background colour, but I'm having trouble achieving this. I've defined my color (lightgreen) in the preamble, but don' know how to apply it ...
5
votes
1answer
126 views

LyX “table” not capitalized IEEEtran

It seems I'm having a lot of issues with using the ieeetran class in Lyx. Currently the word "Table" appears instead of "TABLE". Each of the letters is supposed to be capitalized, but right now just ...
5
votes
1answer
1k views

Package `fixltx2e` conflicts with `float` and cannot be resolved in Lyx

The latex package fixltx2e conflicts with float and prevents using the option H for floats. This can be solved in LaTeX if fixltx2e is loaded prior to float. However, this doesn't work in Lyx, and an ...
5
votes
1answer
184 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
169 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
122 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
1answer
2k 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

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
565 views

Landscape figure float obscuring text

I am trying to insert a figure float in landscape orientation within an otherwise portrait-oriented document. The figure is inserting as it should, but for some reason it is obscuring a page of text ...
5
votes
1answer
580 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
534 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
1answer
568 views

How can I revert to the defaults in LyX?

New LyX user here. How can I restore LyX to its original document defaults?* (I have tried reinstalling LyX, but that didn't work.) *I want to do this, because I want to return to the default fonts. ...
5
votes
1answer
127 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
125 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
199 views

Save from LyX to PNG

I have a LyX file with a PSTricks picture. Currently, when I want to convert it to a PNG image, I save the file as PS, then open the PS in gimp, then save it as PNG. Is there a way to save to PNG ...
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
273 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 ...
5
votes
1answer
53 views

text side in the chapter title

i used tikz code in lyx preample to add decoration around the chapter, but the title words was not good. example: the chapter before tikz: الحركة الدورانية the chapter aftr i used tikz: الدورانية ...
5
votes
0answers
57 views

LyX - Does not appear to recognize all class variables

I have written my dissertation with LyX (which has been great), but now I need to submit it. This means I need to accord with my school's template. I have acquired and installed the class ...
5
votes
0answers
121 views

What are your favorite lesser-known LyX tips and tricks? [closed]

Things that you have learnt from experience which might help others.
5
votes
1answer
152 views

removing custom text style

I wanted to make the font of my figure captions smaller, so I just went from figure to figure and changed the captions using "Text Style -> Customized -> Font Size -> Smaller". Then I found out that ...
5
votes
0answers
528 views

Multiple bibliographies with bibtexall and LyX [closed]

I want to know how to include this script http://wiki.lyx.org/uploads/BibTeX/bibtexall in LyX in order to generate multiple bibliographies for a Master document and its child documents, each one of ...
4
votes
4answers
5k views

equations that are too large to fit on one line

I have an equation that is too long to fit on one line: x = a + b + c + d + e + f as an example of what it looks like. What is the correct way to handle this? Do i break it up over multiple lines? ...
4
votes
2answers
561 views

Turning parts of text on and off

Is there a way to turn certain parts of the text on and off in LyX/Latex ? I'm thinking of having something like an environment (lets call it "TL" for "traffic light") and a parameter t such that if ...
4
votes
2answers
7k views

How to typeset converge in probability in lyx or latex?

I'm a new user for lyx, and I am wondering how you can put the p above that right arrow?