{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

6
votes
2answers
834 views

Lyx customized view of command

I have a command definition in my LaTeX preamble: \newcommand*{\code}[1]{\texttt{#1}} But the usage of this command appears as an ERT e.g. \code{select}. I would like this to appear as select that ...
6
votes
1answer
556 views

Lyx: export with tracking changes to pdf

I want to export from Lyx a document as a PDF file. Since my person I am sending the file to does not have Lyx I would like to send him the PDF file containing the changes I made since the last ...
6
votes
1answer
4k views

How to insert algorithm pseudocode in Lyx?

recently I found LyX is good for writing notes. But I don't know how to add a piece of algorithm pseudocode in Lyx environment. Could you please help give some advice? Thanks! How could I implement ...
6
votes
1answer
7k views

single column abstract in an article and delete date below title

I am using LyX to prepare my journal for publication using article style. I use double column article. When I choose abstract from left panel, the abstract turns out to be in left-column in double ...
6
votes
1answer
343 views

How to restrict tables under same section

I have a problem in managing tables in LyX. Problem is that I need tables under the same section, but I could not. Can anybody help me in this regard?
6
votes
2answers
4k views

poor font quality when exporting to pdf

I use LyX 2.0 and export with pdflatex. When writing standard text and exporting to pdf, the font gets rigid. Text written in math mode, though, is exported crystal clear. I've tested that on several ...
6
votes
2answers
2k views

LyX: Equation number overlaps equation

Using LyX 2.0.1, using the book (KOMA-script) class with the "Number Equations by Section" module, I have a long equation (in an equation array) that is overlapped by the equation number: Is there ...
6
votes
1answer
9k views

Color text in LyX?

I'm trying to color specific text in LyX, wondering how to do that with the graphical user interface (shortcut or something of sorts).
6
votes
1answer
4k 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 ...
6
votes
2answers
4k views

Importing LaTeX table code into LyX

I create tables in a spreadsheet program, convert them to LaTeX code and then use an ERT to import into my LyX document. When I paste the LaTeX code the entire thing turns out very ugly looking. The ...
6
votes
1answer
4k views

In LyX, what is the most standard way to type a system of equations?

I have a system of equations and would like the alignment to be done on the equal sign. phi_{t+1} = F\xi_{t} y_t = A'X_t \theta_t = \mu + \epsilon_t What is the most standard way ...
6
votes
1answer
18k 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.
6
votes
1answer
1k views

Place footnotes in a separate page

I have searched around a lot but have not been able to find an answer. How do I put all the footnotes into a separate page in LaTeX/Lyx? I need to place them after the references page.
6
votes
1answer
5k views

In LyX: Skipping numbers in enumerate and changing symbol of enumeration

I would like to skip numbers in a list. Consider the following example: \begin{enumerate} \item text1 \item[3.] text2 \item[22.] text3 \end{enumerate} However, I cannot figure out how to do this in ...
6
votes
1answer
2k 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 (e.g....
6
votes
1answer
14k views

How does one create a title page in LyX?

What's the easiest way to create a good-looking title page in LyX? What I've currently found is a little bit of a hack. It doesn't place the title in the center, and uses raw LaTeX boxes for the ...
6
votes
1answer
9k views

Use custom latex package in LyX

I just downloaded the package stmaryrd and have a LyX LaTeX Beamer document in which I want to insert some symbols with this package (\llbracket). Is there a way to make LyX include the package in the ...
6
votes
4answers
3k views

LyX is leaving a big gap between paragraphs in the place where float (figure) should be

I just want to ask about why is LyX leaving a big gap between paragraphs surrounding a figure?. Not all paragraphs, but only between those paragraphs where I inserted a float (figure). The figure is ...
6
votes
2answers
780 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.
6
votes
1answer
252 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 ...
6
votes
1answer
385 views

How to prevent distributing vertically over whole page in Lyx?

I work with the documentclass book (koma-script) in Lyx. In the final pdf, all text, pictures, etc., are distributed vertically over the whole page. I prefer to put them on the page from the top with ...
6
votes
1answer
1k views

Change font for units with \unit (In LyX, \unittwo)

Using the command (defined in units.sty) \unit[value]{dimensions}, the dimensions are set using \mathrm. I am working on a presentation that uses the standard Beamer sans serif font (can't remember ...
6
votes
1answer
817 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 ...
6
votes
1answer
5k 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, ...
6
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 ...
6
votes
1answer
9k views

Numbering equations with LyX

I am using LyX with layout report for my thesis. I would like to have numbering on my equations but dont know how to do it. I'd like the first number to show the chapter and the second one the number ...
6
votes
1answer
266 views

How do I realize an arrow representing “line numbers” in LyX?

I want to draw an arrow, who shall represent line numbers like in the following screenshot. I struggeled with xymatrix, but this doesn't seem to be the right approach. Any ideas?
6
votes
1answer
6k 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, ...
6
votes
2answers
2k views

amsfonts become pixelated in PDF

I'm completely new to LaTeX. I've downloaded LyX 1.6.8 which uses MiKTeX 2.9, so there is probably some markup which is not required. When I create a PDF from this a bitmap font of AMSFonts is used. ...
6
votes
1answer
6k views

Beamer Presentation: Stepwise Uncover Images

I don't even know if this is possible, but here goes: I'm writing slides for an upcoming presentation using the default LyX Beamer template. I am also using the uncover everything in a stepwise ...
6
votes
1answer
3k 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 ...
6
votes
1answer
13k 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, ...
6
votes
1answer
23k 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.
6
votes
1answer
809 views

switching to pdf view with Adobe Acrobat DC

I just installed Lyx 2.1 on my computer for the first time. I wanted to create my first trial pdf but switching to viewing mode is for some reason not working with the Acrobat Reader DC. I tried many ...
6
votes
1answer
453 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 ...
6
votes
1answer
3k views

LyX and TeX Live Ubuntu 12.04 LTS

When I had installed LyX on Windows 7, it had installed MiKTeX along with it. On Ubuntu 12.04 LTS, I had been using TeX Live and TexStudio together. However, I would like to use LyX as I am more used ...
6
votes
1answer
288 views

Parentheses changing size depending on what's in them?

Very simple problem, but very confusing. When I type \left( \frac{\partial f}{\partial x } \right)^2 I get smaller parentheses but when I type the same thing but with y instead of x, i.e. \left( \...
6
votes
1answer
244 views

Loss of figure subsection numbers when using mainmatter

I recently added \frontmatter, \mainmatter, etc. with the \numberwithin setting for my figures and tables into a document, but now my figures are no longer numbered by subsection on export. Inside ...
6
votes
2answers
778 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 ...
6
votes
1answer
692 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. ...
6
votes
1answer
3k views

How to make unavailable document classes available for LyX on Macbook?

I have a problem with making unavailable document classes available for LyX on Mac OS X. I have installed LyX and MacTeX (latest versions). I can see the nature class in TeX information of LyX, but ...
6
votes
1answer
776 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 ...
6
votes
1answer
1k 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.
6
votes
1answer
224 views

LTR bibliography in a RTL document

I have a Lyx document in Hebrew(RTL Language), while all the sources are in English(LTR Language). Therefore, I've added \selectlanguage{english} before the bibliography, and \selectlanguage{hebrew} ...
6
votes
2answers
1k views

Lyx: How to add option to package automatically load

I got the problem, that links in \url only break in LyX when there is a \ character in it. I found the solution to add \usepackage[hyphens]{url} to my preamble. But the problem is, LyX loads the ...
6
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 ...
6
votes
0answers
725 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 ...
5
votes
4answers
9k 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? ...
5
votes
3answers
15k 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 ...
5
votes
3answers
1k views

Defining shortcuts in LyX

I am used to typing in Tex (since am a member of math.stackexhange), I decided to use an editor to help my with the typing and based on recommendations I installed LyX (I am very new to this and a ...