{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
107 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
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

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
498 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
543 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
497 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
121 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
115 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
169 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
1answer
474 views

Lyx cross-referencing between branches

I'm writing a paper in LyX, of which there are two versions -- a short and a long version. I've created two branches in the (single) LyX file, and will switch them on and off appropriately. I'd like ...
5
votes
1answer
3k 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
7k 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
247 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
0answers
40 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
105 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
143 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
496 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
564 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
4k 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
4k 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
2k views

LyX – is there a way to substitute variables in math formulas?

Suppose I want to replace x^{n_{1}}y^{n_{2}}z^{n_{3}} with x^{m_{1}}y^{m_{2}}z^{m_{3}} Is there a fast way to do this? I am certainly missing this feature from LaTeX editors like gvim and kile. ...
4
votes
2answers
504 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
6k 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?
4
votes
2answers
5k views

Background for table cells in LyX

The title speaks for itself - how do I choose a background color for table cells in LyX?
4
votes
2answers
148 views

xypic: 2-Cell Triangle Identities

I would like to typeset, using xypic, the triangle identities from the definition of adjoint functors in category theory. My problem is with creating the double arrow connecting the hypotenuse and the ...
4
votes
2answers
101 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
2answers
5k 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
4k 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
1k 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
1answer
7k views

LyX — LaTeX error: File 'etex.sty' not found

I went to create a PDF of my work on LyX (by clicking the eyeballs on the top-left of the document), but it won't let me. What does this mean? How can I recover the document so that I can view the ...
4
votes
2answers
5k 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
1k 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
3answers
113 views

What is the [american] option under Extbook?

I noticed that my upgraded Lyx installation adds the following line to the book class using the extsizes package: \documentclass[a4paper,oneside,american]{extbook} I looked at the package ...
4
votes
1answer
281 views

How to make the Table of Contents, List of Figures, List of Tables to appear in Uppercase?

The following images depict my Lyx doc which gives the first output when converted to PDF. I am looking to capitalize them. I am using Koma documentclass This is the current Latex Preamble: ...
4
votes
1answer
700 views

In Lyx, how to change “Part I” with some other text

I'm using the article class. When creating a new part, I would like to change "Part 1" to "Experiment 1", "Part 2" to "Experiment 2" and so on, followed by my part title. How can I do that? I've ...
4
votes
1answer
1k 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
1k 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

Shortcut for “vertical space” in LyX

Has someone got an idea what the shortcut is/where I can create one for the \medskip{} command (or any other command, that generates a vertical space in my document)? I looked in ...
4
votes
2answers
4k 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
1answer
473 views

Math mode inside LyX tables

If I insert a math mode environment inside a table cell, then the output will show no vertical space between the borders and the equation, here is an example: Is there any way that will make ...
4
votes
2answers
292 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 ...
4
votes
1answer
858 views

LyX: Insert bullet list inside table cell

I want to add a bullet list inside a cell, but .. I can't.
4
votes
1answer
2k views

How to center a table in Classic thesis LyX version

I am using classic thesis for writing my thesis and while placing tables, the tables are aligning to the left. I want the table centered. I am attaching images of the LyX code and the output. Any help ...
4
votes
1answer
387 views

How to put the triangle arrow

I am looking for this symbol: ▷ I have seen it in the tutorials and manuals in menu Help. I think it's the code: \lyxarrow{} But in the example it isn't code; I can see: • Open a new file ...
4
votes
1answer
3k views

Non-italic quote in the quote environment

Any idea how to produce a quote in the quote environment that's not italicized (using LyX)? I'm trying to create a presentation in beamer and can't seem to figure it out.