{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

11
votes
4answers
5k views

Two-sided document: reverse page margins for hardcopy

Background Wrote a manual in LyX. The PDF is two-sided. Using KOMA Script v2. The pages are 8.5" x 11". Problem The spacing on the margins is not printer-friendly, it is reversed: Since this ...
1
vote
1answer
607 views

Unequivocally force first reference to same page as the referred item?

Background Writing a manual using LyX. All tables, figures, and source listings are always referenced in the paragraph (or enumerated step) that immediately precedes them. The preamble to the manual ...
4
votes
1answer
322 views

Use a longtable in Lyx

The following compiles well in Kile but when imported into Lyx the title is duplicated and the "continued on next page" incorrectly appears at the end of the table. %% LyX 1.6.7 created this file. ...
3
votes
1answer
4k views

How do I fix missing 'fi' characters in LyX?

I have a paper written and edited in LyX. On a printing today I noticed that all 'fi' combinations are not visible. The characters are in the document and displays in the PDF but doesn't print. Is ...
3
votes
2answers
4k views

How do you install a module in Lyx?

How do you install a module in Lyx? I find this site is not helpful enough: http://wiki.lyx.org/Layouts/Modules
6
votes
1answer
6k 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 ...
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, ...
12
votes
2answers
4k views

Use xcolor for colored tables in a beamer slide

How can I use a table with alternately colored rows like this in a beamer slide? There seems to be a conflict with beamer and xcolor. I am using LyX too, bonus marks for something that works well in ...
9
votes
1answer
944 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 ...
7
votes
1answer
8k views

Using BibTeX with LyX: errors in auto-generated .bbl

I've been puzzling with this for hours now and I can't solve it. I'm using LyX for my article and I made a BibTeX file with JabRef. I inserted the BibTeX bibliography into LyX, but when I try to ...
1
vote
1answer
6k views

Create appendix in Lyx

I am trying to create appendix in Lyx. I use 'Document->Start Appendix Here' just before the beginning of the appendix text, and I can see that the text before the Bibliography is wrapped in an ...
0
votes
2answers
1k views

Why don't my images show up?

I am using LyX to create my documents. I then export them to plain LaTeX and use XeLaTeX to create a PDF output. My images show up in the LyX document but not in the PDF output. LyX generates this ...
3
votes
1answer
1k views

Newline in a “cases” environment

I have the same issue as in this question: Split-like environment inside cases environment with one difference - I would like to get the same result with LyX, using as little LaTeX code as possible. ...
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. ...
11
votes
1answer
2k 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 ...
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 ...
4
votes
1answer
804 views

Creating wysiwyg preview for a custom math functions on lyx

Let's say I want to create a "macro" called \limx that will be defined as: \newcommand{\limx}{\displaystyle{\lim_{x\to\x_{0}}}} How can I make LyX recognize it and make an auto-prieview of it? ...
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 ...
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 ...
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 ...
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 ...
2
votes
1answer
2k views

Autofit table column with booktabs

Background Using booktabs produces the top table in the following image: Both tables reside in floats, but even when outside of the float the same result is produced. The Application and Version ...
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.
3
votes
1answer
4k views

Paste images into LyX

A fair amount of my homework is of the form: prove some statement then paste in a bunch of graphs verifying it experimentally. LyX makes me save images I paste in, which is really annoying when I ...
15
votes
5answers
2k views

How to include graphs in my document?

I've just started using LyX for my Economics essays. Using Inkscape, I have been able to create some very neat diagrams to go with them. However I really need to be able to insert graphs (XY charts, ...
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 ...
7
votes
2answers
6k views

Setting document width in Lyx

When I view my document in a PDF with pdflatex, my stuff is squished into like only 60% of the page, leaving the rest an ugly, unused whitespace. How do I fixed this (preferably in Lyx)?
7
votes
2answers
5k views

Customize line-spacing and indentation of a list in LyX

I am currently using a list with bullet-points; however, I think the lines are spaces too far apart and they're indented way too much. I don't see any way to correct this in LyX, however.
8
votes
2answers
786 views

Can one “fold” part of the paragraphs in LyX

By "folding", I mean condense some part of the codes, and by one click , you can unfold them.
6
votes
2answers
733 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 ...
4
votes
1answer
2k views

LyX new macros and instant preview

When we define new macros in LyX, can we still have instant preview for them? For example, I defined a new command \abc, but when I put \abc in the math inset, it does not have instant preview. ...
3
votes
1answer
233 views

What is the black part in the Lyx window?

Just some very basic questions as a new user... What is that black part under the pink part of the Lyx window? Can we change the pink color? Can we remove the black part? Why can't we use "Enter" to ...
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 ...
3
votes
1answer
2k views

LyX AMS align environment justification/ horizontal alignment

I'd like to know how to justify individual columns in the AMS align environment. In the matrix environment, the Table toolbar buttons are active, but not inside the AMS align environment.
1
vote
2answers
7k views

Lyx template for scientific paper

Anyone know of any simple Template for scientific paper which is easy to modify and looks great? So that i don't have to use several hour to find out the syntax.
2
votes
4answers
8k views

Lyx template for scientific paper

Anyone know of any simple Template for scientific paper which is easy to modify and looks great? So that i don't have to use several hour to find out the syntax.
21
votes
3answers
19k views

Converting LyX to LaTeX

I'm working with a colleague who uses LyX (I use LaTeX), and we have a hard time exchanging documents because of conversion issues. Is there any easy way to convert LyX to LaTeX and vice versa?
4
votes
1answer
1k views

How can I disable the linking for figures in LyX?

Complete LaTeX and LyX newbie here. I am currently writing a document in LyX and I'm using hyperref to have links in the ToC, citations etc. The problem is that I added a figure (with float) and when ...
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 ...
5
votes
4answers
12k views

Reducing the title spacing

I use LyX. When I use the "Title" environment under article(hebrew), it uses very big spacings between it and the rest of the document. How do I control the spacing and make it use a compact title so ...
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 ...
7
votes
2answers
2k views

Automatically define macros in LyX documents

I'm using LyX all the time and over the last 2 years I've accumulated some very handy macros for my lecture notes. As it is today, every time I start a new document, I copy and paste the macros from ...