{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
162 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
145 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
379 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
654 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
397 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
819 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
264 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
85 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
59 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
401 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
963 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
5k views

Centering figure captions in IEEEtran

I am working on a paper using the IEEEtran template in LyX. I have run into a problem: While the contents (in this case, a table) of the figure float are centered, the caption is aligned to the left ...
5
votes
1answer
461 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
371 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
75 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
93 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
2k views

How to insert LaTeX formulas in LibreOffice?

I am using Libreoffice normally, but I need have Gauss Matrix (http://en.wikipedia.org/wiki/Gaussian_elimination) in Libreoffice . I found that Latex can do that. I installed Lyx on Ubuntu. How can I ...
5
votes
1answer
700 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
2answers
2k views

Including .tex file to LyX document

Is it possible to write pure latex to a separate file and then include that in the LyX document. What are the pros and cons of doing that? As far as I understand there are problems with preamble. ...
5
votes
1answer
1k 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
5k 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
1answer
700 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
186 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
1k views

Custom title font in LyX

(My first problem of compiling at all is solved, so I'm now posing a slightly different question). Hi, I'd like some help with producing handouts for my students. I'm using LyX as I'm far from fluent ...
5
votes
1answer
92 views

LyX + SyncTeX + Document Viewer Evince

I am running LyX 2.0.2 in Ubuntu 12.04 and using the default PDF viewer Evince. I want to setup SyncTeX to go back and forth between the document and the source, at the right position in the text. ...
5
votes
0answers
408 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 ...
5
votes
0answers
507 views

In LyX, is it possible to customize the special characters (specifically symbols)? [closed]

This could be a problem to many newcomers to LyX (and LaTeX in general), who are migrating from word processors; the story is that first I try to insert a special character, an arrow for example, so I ...
4
votes
4answers
2k 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
1k views

How to add my name on every page corner in Lyx?

My teacher has asked me to add my name on every page of my report. Is there a nice way of doing this so my name appears in a subtle way?
4
votes
3answers
8k views

Document class not available

I'm new to LyX, and using LyX 2.0 for Windows. When I select a template from "File"->"New from template" it shows a alert with title "document class not available" containing the text like ...
4
votes
2answers
337 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
83 views

list of current labels in lyx

I would like to see all the currently created labels in my document in LyX. I am creating a label and this label already exists somewhere in my document. Lyx relabels my item adding a "-1" to it. When ...
4
votes
3answers
3k views

Use algorithmic in LyX

I'm used to using the algorithmic package in LaTeX, but don't see an easy way to use it in LyX. I even tried this, but it didn't work. Further, it required me to change my document type, which is a ...
4
votes
2answers
4k views

How to write a vertical vector in LaTeX for LyX

I can't work out how to write a vertical (two dimensional) vector, with brackets spanning two lines. Do you know how to write it for LyX?
4
votes
3answers
3k views

How to have access to (or manage) bib files in MiKTeX?

I use Jabref to manage my bibliography database. I also use it with LyX and it's running well. But now I need to use it with MiKTeX and use TeXmaker as an editor. Using my MiKTeX settings I'm trying ...
4
votes
2answers
651 views

Lyx+article document, image under title in front page

Is it possible in a Lyx article document, to put an image under the title in the front page? I tried inserting an image but it goes in the second page Due comments that says that I have to put hands ...
4
votes
3answers
2k views

Using LyX, how do you put a table and a figure side by side and caption them Table XX and Figure XX?

I have found solutions for them to be done in normal TeX, but how do I do this in LyX? What I wish to obtain is something like that shown in Table and Figure side-by-side with Table caption above, ...
4
votes
2answers
3k views

LyX table new line

While inside a table, it seems impossible to use Ctrl+Enter in order to start a new line in the same column. So if I have, for example, a column name "veni, vidi, vici" and I don't want it to be so ...
4
votes
2answers
807 views

Globally set a word in Small Caps (or italics)

I am using Lyx with Preamble. I am working on a project where the abbreviation "hon." needs to be set to small caps globally. (/sc). Tried to use \renewcommand, no luck there.
4
votes
1answer
1k views

Numbering theorems in the appendix by adding the appendix letter in front/after the theorem number

Can someone please tell me how to make definitions, theorems etc. in the appendix look like Definition A1 or Definition 1A (an "A" should be somewhere), if the appendix is "numbered" with A (meaning ...
4
votes
1answer
757 views

Begin enumerate from zero in LyX beamer

I am making a presentation using beamer in LyX. Is it possible to have a numbered list (enumerate) starting with zero (0) instead of one (1)?
4
votes
1answer
4k views

Place figures at the bottom of a page

Does anyone know how to place figures at the bottom of a page ? At the moment, it automatically goes at the top of a new page... I am using LyX.
4
votes
1answer
799 views

Vertical spacing between sidenotes (and, between sidenotes and captions) in tufte-book

Within from LyX, using various sidenotes in a tufte-latex-book environment, along with float figures, results sometimes in an overlapping of sidenotes and caption(s). For example, two sidenotes ...
4
votes
2answers
1k views

how to justify left all numbered equations

I use displayed numberd formula in lyx the equations are appears in middel I want to justify left the equations I used elsarticl 2 column page format
4
votes
2answers
3k views

Resize large images that exceed page margin whilst respecting existing scale

The solution posted here Scale (resize) large images (graphics) that exceed page margins works great. Just to summarise, Dave Jarvis suggested \usepackage{graphicx} % Determine if the image is too ...
4
votes
2answers
4k views

Using jabref generated bibliography with lyx

I'm using a jabref generated bibliography in lyx according to the following instructions: http://ubuntuforums.org/showthread.php?t=477632 It works well, except for one type of error which I cannot ...
4
votes
2answers
213 views

Footnote indentation on first page

Using LyX. While I can remove the indentation of the footnotes on subsequent pages, with \usepackage[flushmargin]{footmisc}, the first footnote---really a thanks---with address information stays ...
4
votes
1answer
503 views

Which commands does LyX run to generate PDF (pdflatex) and other export formats?

What commands should I run manually to repeat all the steps LyX makes to generate a final output (like pdflatex PDF) for a specific document? I need it for using in a report generator written in ...