{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

16
votes
2answers
2k views

Can I think of LyX as a LaTeX IDE?

Can LyX be used as an IDE for LaTeX? I am considering using LyX instead of Emacs to write my LaTeX papers. Emacs is powerful editor/IDE which helps me be more productive while writing LaTeX. LyX looks ...
44
votes
6answers
4k views

Writing readable LaTeX

Lets say I have the following LaTeX code \subsection{Convex sets} A set \( \mathcal{S} \) in \( \mathbb{R}^n \) is said to be convex if \[ \mathbf{x}_1, \mathbf{x}_2 \in \mathcal{S} \implies \lambda ...
13
votes
4answers
10k views

Scale (resize) large images (graphics) that exceed page margins

Background A large number of screen captures have been scaled 300% at 288dpi. They appear correctly when embedded in OpenOffice, but not LyX. Problem Images that do not extend beyond the margins ...
24
votes
2answers
5k views

Why did my TeX-related GUI program stop working in Mac OS X Yosemite?

For example, TeX Live Utility 1.17 and earlier will not work on Mac OS X 10.10 Yosemite. If a shell task relies on the PATH environment variable to launch a command, rather than a fully-specified ...
6
votes
1answer
3k views

How to apply alternate row coloring in a longtable in LyX?

In attempting to apply an alternate table row coloring (using xcolor) in a longtable, one confronts, sooner or later, problems in compiling a PDF. In xcolor's documentation it is clearly stated, ...
4
votes
1answer
397 views

Translate paragraph environment

I need to translate some reserved word of paragraph environment to my own language; like Chapter, Table of Content, Example, Bibliography, and some more. How do I achieve that? I'm using LyX in Linux. ...
11
votes
3answers
7k views

How can I center all tables in a document?

Background Would like to center all tables within floats, without having to add \centering to each table. Ideas Tried the following: \let\originaltabular\tabular ...
3
votes
1answer
3k views

Shortcuts for Lemma, Claim, Theorem etc

I'm using Lyx 2.0.2 I would like to define keyboard shortcuts for creating mathematical sections such as Theorem, Lemma etc. I'm pretty sure those do not exist ...
5
votes
3answers
882 views

Two math sections of the same type in a row?

Whenever I try to create two sections of the same type in a row LyX unites them as if they were one. I write a definition, press ENTER for a new line, and then want to write another definition on that ...
20
votes
5answers
4k views

How to embed screenshots properly?

I have a .png screenshot and I want to insert it in a LyX document. However, the screenshot needs scaling to fit in my column width. Downscaling (or upscaling) the image, if done wrong, gives all ...
10
votes
2answers
14k views

How to install an unavailable document class for LyX on Mac

I am new to LyX so I'm sorry if this question is really naive. I'm using LyX on a MacBook and I'm hoping to use the AEA document class on it. Since it is not available automatically, seems that I ...
13
votes
2answers
5k views

Create new paragraph style in LyX

Background In OpenOffice and Microsoft Word it takes seconds to create a new paragraph style. Here is how I currently use LyX with the KOMA Script document class to mark text as a quotation: Type ...
2
votes
1answer
1k views

How do I make my bibliography according to harvard-style (author-year, alphabetical by sourcetype…) in Lyx?

I am writing my master thesis using Lyx and I don't know how it would be the best way to set up my bibliography due to the requirements by the university. The Bibliography has to be arranged ...
17
votes
4answers
5k views

Use a quality glossary and acronym list in Lyx

The question How to combine Acronym and Glossary shows us how to make a great glossaries and acronym lists. I would like to use a quality glossary and acronym list in Lyx. This may be too large a ...
4
votes
2answers
4k 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
1answer
6k 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 ...
1
vote
1answer
344 views

LyX command(s) to insert WYSIWYG horizontal line, for keyboard shortcut

Using the menu entry Insert > Formatting > Horizontal Line I can insert a WYSIWYG horizontal line into a LyX document. I want to figure out the internal command(s) used to do this so I can set up a ...
12
votes
4answers
8k views

How do I get started with LaTeX on Windows XP?

My only knowledge of LaTeX is that it is a markup language that lets me concentrate on the structure of my document rather than its appearance. It uses tags similar to HTML. My problem is that I've ...
7
votes
3answers
7k views

Rename “Algorithm” to “Listing”

Background Syntax-highlighted source code image listings are being used as Algorithm floats with the lst: prefix for captions. Problem The following LaTeX code in the preamble renames the caption ...
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 ...
13
votes
2answers
7k views

How do I add something to the preamble in LyX?

I'm trying to add something to the preamble, but don't know how. I tried Insert -> Latex Code and just picked places on my article, but I guess they were never in the preamble? I guess I cannot ...
3
votes
2answers
239 views

IEEEtran Export to PDF version 5 or above

I'm writing a paper for an IEEE conference and am checking the PDF with PDFExpress. One of the errors that I'm getting is that the PDF version of my paper is under 5: (actually "version 5" in an ...
5
votes
1answer
548 views

How to make “claim” environments look like “theorem” environment?

I am using LyX 2.0.5 with document class article and 'Theorems (AMS)' in the modules. From what I understand, the claim environment copies its style from the remark environment. I'd like it to copy ...
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, ...
2
votes
1answer
1k views

How can I force LyX to rebuild intermediate files for clean PDF display?

I am working on a multi-file document in LyX (my thesis) and occasionally have problems where LyX seems to rely on old version of intermediate files when updating the PDF output. Is there an easy way ...
8
votes
2answers
1k views

Using the xr package in LyX (for cross-referencing an external LyX document)

Question: What steps are required to use the xr package in LyX in order to reference items in other, independent LyX documents? Steps already taken: The tools package (that contains the xr package) ...
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, ...
3
votes
3answers
5k views

Lyx: can't import LaTex file

I'm trying to import this latex document into Lyx (version 2.0.2 on Ubuntu 12.04), but it fails and won't give any explanation about the error: Lyx: cannot convert file An error occurred while ...
2
votes
1answer
330 views

Programmatically load an image from LyX

Following the accepted answer to this question: Can I use an image located on the web in a LaTeX document? I am trying to insert the following code to a trivial LyX document: \write18{wget ...
22
votes
1answer
14k views

Condense the space between bibliographic entries

In order to save space, I would like to condense the bibliography, specifically, reduce the amount of vertical space between entries. Currently, it seems there is double-space between consecutive ...
13
votes
3answers
25k views

Adjusting space between array rows and columns

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \begin{document} % ... \[ \begin{array}{ccccc} x(1) & = & \frac{x(0)}{1} & = ...
11
votes
1answer
4k views

How to create (1) a new Environment for LyX's Environment drop-down menu, (2) a new Text Style

My two part question pertains to LyX. How do you create a new "Environment" ("Paragraph Style") for LyX's Environment drop-down list (Standard, Itemize, Enumerate, Chapter, Section, Subsection, ...
8
votes
2answers
3k views

In LyX, is there a way to toggle the display of TeX code in math expressions?

Is there a way to toggle the display of math expressions in LyX between the default, which makes an attempt at replacing TeX code with easy to read symbols (but is short of actual rendering), and the ...
9
votes
2answers
3k views

LyX: How to add command line option/flag for latex compiling?

I'm using LyX 1.6.9 with MikTex on Windows XP. I want to use the "minted" package (for colored listings). This package uses Pygmentize to color the output. However, to do so, it uses ...
6
votes
1answer
6k 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
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 ...
4
votes
2answers
2k 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 ...
6
votes
2answers
3k views

In LyX, how to have itemize inside a proof?

LyX is great. I use it to write everyday documents. But it seems that its environment can only have one type; different types of environments can't be mixed. For example, you can't have itemize inside ...
4
votes
1answer
3k views

Lyx 2.x: Document Class Not Available - Mac OS X 10.10 Yosemite PB 3

I'm running the latest Mac OS X 10.10 Yosemite beta, and I ran into a problem installing MacTeX (2014) and LyX (2.1.2). Upon successful installation of both, LyX would launch with an error: "Document ...
4
votes
1answer
1k views

In Lyx, “Part” section in Arabic numbers and numbering the rest of the sections accordingly

The default in lyx is to have I. First part (roman number) Section 1 1.1 Subsection 1 and I'd like to have First part (arabic number) 1.1 Section 1 1.1.1 Subsection 1 etc. Any ...
2
votes
2answers
2k views

Creating Hotkeys in LyX

How I can I create hotkeys for some of the features in LyX? Are there keyboard shortcuts for the "Horizontal Space" feature?
9
votes
2answers
9k 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 ...
8
votes
1answer
3k views

How to change page number location on ALL pages (including chapter pages) WITHOUT fancyhdr?

Question revised: What must I do to change the page number position on EVERY page (especially for chapters) WITHOUT using fancyhdr? Background and details: I've searched now for many, many hours ...
5
votes
3answers
245 views

Simplify itemize commands typesetting

If your document use itemize a lot of time, you are likely to get fed up putting \begin{}...\end{}. Is there any better way to do this? Something like a org mode of emacs use or lyx use?
5
votes
1answer
2k views

Table, Figure, and Listing prefixes

Background Using LyX and KOMA Script to author a technical manual. Problem The documents are strewn with the following references: \ref{fig:Example-Database-Type} When converted to PDF, this ...
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.
4
votes
2answers
563 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 ...
3
votes
2answers
92 views

tikz: table with mathmode and drawing in article documentclass in LyX

This is a follow up question to my earlier question here (Thanks to @Gonzalo for nice answer). I want to make the same table with boxes in article documentclass. My MWE \documentclass{article} ...
3
votes
1answer
534 views

Group itemize text by placing } in LyX

Is it possible in Lyx to group itemize text with this symbol } ? In order to understand what i want to do , i attach a screenshot :
3
votes
1answer
2k views

Text appearing bold on some pages with images [duplicate]

Possible Duplicate: Why are some pages in my PDF coming out bold? For some reason, all the text on certain pages is appearing bold when there is a picture on the same page. I saw the other ...