{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

14
votes
2answers
1k 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 ...
11
votes
4answers
7k 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 ...
11
votes
3answers
5k 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
2k 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 ...
38
votes
6answers
3k 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 ...
17
votes
5answers
2k 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 ...
16
votes
3answers
4k 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 ...
13
votes
2answers
4k 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 ...
3
votes
2answers
2k 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
152 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
4answers
5k 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 ...
6
votes
1answer
3k 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 ...
4
votes
1answer
1k 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 ...
7
votes
3answers
5k 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

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
238 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 ...
4
votes
1answer
4k 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
620 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 ...
4
votes
1answer
3k 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 ...
2
votes
1answer
132 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 ...
9
votes
1answer
3k 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, ...
5
votes
2answers
312 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 ...
3
votes
2answers
279 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 ...
7
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
2answers
940 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 ...
4
votes
1answer
940 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 ...
3
votes
2answers
2k 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 ...
8
votes
1answer
3k 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 ...
5
votes
3answers
174 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?
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
1answer
13k 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.
3
votes
2answers
55 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} ...
2
votes
1answer
46 views

Producing .bbl file with Lyx and JabRef

How do I produce the .bbl file required for arXiv using JabRef for bibtex and Lyx?
2
votes
1answer
283 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 :
11
votes
1answer
1k views

Alternatives to $\backslash$

Background Instead of marking up the text with bold or emphasis, I read (and agree) that it is better to define a command, or environment, that describes the content. Then apply text formatting ...
9
votes
1answer
784 views

Can Lyx syntax files override document class defaults?

I'm editing a client's Latex file in Lyx, where the client has used a document class not supported by Lyx. In these cases, I use tex2lyx with either -c article or -c report to ensure Lyx can import ...
5
votes
1answer
853 views

Make volume bold in custom bibliography style .bst

Since I could not find the style that met my teacher's requirements for the bibliography I have to do, I created my own bst with latex makebst on my mac. I had chosen to make the volume bold but it ...
4
votes
1answer
90 views

includeonlyframes not working in lyx beamer

I am trying to use the \includeonlyframes option in a Lyx file created using the beamer template. but it is not working. ( I am trying this solution. http://tex.stackexchange.com/a/27354/38845 ) Here ...
4
votes
1answer
351 views

LyX - undefined control sequence but package seems to be added

I am using LyX with MikTeX and I am trying to use the following command \oiiint but I am getting the following error: \oiiint The control sequence at the end of the top line of your error message ...
4
votes
3answers
554 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 ...
4
votes
1answer
1k views

`backgroundcolor` in `lstset` does not work

When I use the backgroundcolor option in lstset, all I get is a colored line above the listing: \lstset{% language=Matlab, backgroundcolor=\color{blue} } and in the document: ...
3
votes
1answer
76 views

Transferring Lyx Keyboard Shortcuts

I recently updated my version of Lyx from 1.6.7 to 2.0.6. I would like to transfer my old keyboard shortcuts to this new version, but I am having difficulty because I was inconsistent with the way ...
3
votes
1answer
179 views

In Lyx, align text inside a float caption

I'm trying to align a legend inside a table caption, so that the colons are vertically aligned. I can do it with the align ambient outside of the caption, but if I use the same code inside the caption ...
3
votes
1answer
2k 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 ...
3
votes
1answer
2k views

In Lyx, how to change the “Part” section to “Chapter”?

I am using the default Lyx document "article". My sections range from "Part" to "Subsubsection". When I compile my pdf, I would like to replace "Part 1 Title1", "Part 2 Title2", etc by "Chapter 1 ...
3
votes
1answer
656 views

Representing hyperlinks differently in a single pdf file

Can someone tell me how to color/represent (only internal) hyperlinks in a pdf differently (preferably just by using LyX,i.e. without diving deeper into pure latex) ? For example I would like the ...
3
votes
2answers
1k 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 ...
2
votes
1answer
563 views

Put figure text under images?

In LyX, how can I set a float that contain figure so that the caption is under the figure? By default the caption is always on the left side of figure.
2
votes
1answer
435 views

Package sidecap not working with Lyx 2.0.4

I tryed to use the package sidecap to put the caption beside the immage, I didnt found any other (working ^^) way to do that apart sidecap, but it is not working. I tried to make a new file, ...
9
votes
2answers
2k views

Can LyX automatically save the PDF output in the same folder?

I use LyX 2.0.4 (on Mac OS 10.7) and would like it to do the following: whenever I hit "View" it should automatically save the pdf output of the lyx file in the same folder the lyx file resides. ...