{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

2
votes
1answer
2k views

Lyx: remove subsections from table of contents

I don't want subsections to appear in the table of contents of my Lyx document. How do I turn them off? I went to Tools -> Settings -> Numbering & TOC, but it won't let me modify anything. What ...
1
vote
1answer
406 views

How to define a hotkey in LyX to insert an inline listings?

In LyX, I can define a hot-key for listing-insert. But in this case, what appears is the \begin{lstlisting}...\end{lstlisting} environment. In fact I want to insert a inline listings command ...
3
votes
0answers
29 views

Ruby Code Highlight in Lyx / Latex [duplicate]

Possible Duplicate: Ruby highlighter for LaTeX I am working on a tutorials document / short book and I was wondering if there is a way to use Ruby colour code highlight within Lyx ? I have ...
1
vote
1answer
2k views

Changing default paragraph style in LyX

I tried for couple hours changing Chapter, Paragraph...etc styles (especially font and it's color) in LyX, I managed to do that by modifying layout files (for example db_stdsections.inc) by simply ...
1
vote
1answer
103 views

Can a LyX (RCS) “revert to repository version” be undone?

In LyX I accidentally clicked 'Version Control' -> 'Revert to Repository Version' as it's just below 'Check In changes' option. This resulted in loss of all work since last check in, and using ...
2
votes
2answers
803 views

Lyx bibliography displaying section number

I am using LyX to write my thesis. I am using a BibTeX Generated Bibliography (generated in Jabref) which works fine. I just have one problem, in the actual PDF, the Bibliography section after each ...
4
votes
1answer
532 views

Two Page Numbers in One Page

I am using LyX to layout a collection of essays. There is one page-number-position per spread in the design. Please find the example below. Instead of showing 59, is it possible to show 58—59? I am ...
1
vote
1answer
70 views

problem with numbering when exporting to latex

I am using LyX, and want to export into a LaTeX format. I did it, but when I compile, the number of citation or reference does not appear and a question mark appears instead. Does anyone know how to ...
0
votes
0answers
1k views

Clean import of LaTeX into LyX: environment instead of ERT [closed]

I am importing a LaTeX code into LyX. This code has multiple uses of amsmath environments (lemma, theorem etc.). After importing, all theese environments turn into ERT boxes in LyX. I was wondering if ...
6
votes
1answer
984 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.
5
votes
1answer
462 views

Similar header format for my company

I need to reproduce the following header format: Please help; I'm a completely starter at LaTeX or TeX. I work with LyX and this is included in the document's preamble: \usepackage{fancyhdr} ...
3
votes
2answers
4k views

In LyX, how do I indent the paragraph right after an lists (itemize/enumerate) environment

See the example above, I want to indent the second paragraph. The generated .tex file is %% LyX 2.0.4 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really ...
0
votes
1answer
715 views

Lyx: fails to insert nomenclature

I am having problems inserting nomenclature entries using Lyx. I enter the symbol and description, press OK, and the nomenclature entry is not made ( ie no box Nom: ...) [no error messages]. I haven't ...
6
votes
1answer
239 views

Is it possible to change the font of line numbers in a code listing?

Using LyX I can add line numbers to my code listing. However, these are in the document (serif/Roman) font and look strange next to code blocks (Typewriter font). Is it possible to change the font of ...
3
votes
2answers
706 views

Changing length of an arrows from a vertex to itself

I'm working with LyX. I would like to change the length of an arrow from a vertex to itself. I would like to make the arrow stretch longer up before returning down to the encircled vertex. The code I ...
2
votes
1answer
211 views

Getting email address as endnote in LyX revtex document

I'm having trouble getting the author email address to appear as an endnote -- marked with a letter -- in a LyX revtex document. Instead, it's showing up as a footnote. Here's a .lyx document and an ...
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 ...
1
vote
1answer
2k views

Some styles work in Lyx's BibTeX Generated Bibliography, others don't

Some styles work correctly for Lyx's BibTeX Generated Bibliography, others give errors. For example, if I set the style to IEEEtran, then all is well. However, if I set it to apsrev, I get output ...
1
vote
1answer
257 views

What is the easiest way to insert Thai words in an English lyx document?

I am a big fan of Lyx, but find that when I want to include a few Thai words within an English document, things start getting difficult. There are many solutions posted online, not all of which are ...
2
votes
1answer
274 views

How do I write multicol in Lyx on the title page?

I'm trying to write some text in two columns on the titlepage, but unfortunately everytime the tabular part is on a new page with a blank page between. I guess it has something to do with \maketitle, ...
5
votes
1answer
904 views

How to add Go to the programming languages list in Lyx

I'm adding Go code to my document via 'Insert->Program Listing' in Lyx. The language Go is not available in the language dropdown in the settings. Is there an easy way to add Go syntax ...
1
vote
1answer
436 views

Writing a text as LyX user together with an LaTeX user? [duplicate]

Possible Duplicate: Can I think of LyX as a LaTeX IDE? I know that LyX can import and export LaTeX. But e.g. comments and formatting of the LaTeX code is lost every time. If I send my text ...
2
votes
1answer
514 views

Defining dynamic LyX shortcuts

I use LyX especially for writing math, and I created my own bind file for my preferred shortcuts. Among other commands, I defined shortcuts that insert a command-sequence, for inserting long data ...
1
vote
1answer
1k views

“Preamble” menu item does not appear in LyX

I'm trying to use xy-pic in LyX to create diagrams and using this tutorial. It says on page 3 to go Layout->Document->Preamble to enable the xy-pic package. However, there is no "Layout" menu on my ...
3
votes
1answer
393 views

Command right after closing a verbatim environment

I need to use a form of a verbatim environment, so that after the closing of the environment, there immediately follows another command. In particular I need something like the following - assuming ...
1
vote
0answers
413 views

Lyx suddenly stopped working, completely lost [closed]

I've been using Lyx (on windows) to write my thesis and for some reason tonight it just stopped working. If i try opening a new file, no layouts are available. I am able to open my thesis file, but I ...
2
votes
1answer
651 views

Combine many files in LyX

I have written dozens of exercises as LyX documents in separate files. Each of them has its own unique number. For example: 1013, 2053 etc. I would like to create a booklet with all the exercises, ...
2
votes
1answer
458 views

LyX Question on Table Numbering

How can you change table numbers in LyX. I want to get tables numbered within section (Table 1.1, 1.2 etc.). For some reason \numberwithin{table}{section} is not working.
7
votes
1answer
6k views

How can I add a blank page before the title of a book in tex or lyx?

I was trying to make a little booklet in Lyx. I want to export it to .pdf and then use to brochure-print function of adobe reader. Anyway I need to put an extra blank page in before the title page so ...
4
votes
1answer
3k 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 ...
2
votes
2answers
393 views

Not able to switch to any other document class than “article”

I'm using LyX with Hebrew and whenever I'm trying to change my document setting to something else than article (i.e. article(AMS)) I can't create a pdf. I'm getting these errors: Undefined control ...
6
votes
1answer
4k 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 ...
5
votes
2answers
2k views

Lyx 2.0 Formatted references to theorem/lemma/claim environments

In Lyx 2.0, I'm trying to use a formatted reference to a claim, but I cannot get the "formatted" part, i.e. I can't get it to typeset "claim" as well as the claim number. I'm using modules "Theorems ...
2
votes
1answer
426 views

How to type in both English and an RTL language in LyX

I wish to write a (math) document in Hebrew, but that will contain some English (and math), currently the LyX starts a new document in LTR and I do not know how to change the language to Hebrew (I was ...
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, ...
2
votes
1answer
378 views

Sans-serif font different in output

I am currently using Lyx. I was typing with sans-serif font and the interface shows it like the Arial font. However, the output is different; it's still sans-serif but the letters have more spaces in ...
1
vote
2answers
2k views

Lyx Modify Document Class

I have spent the last few hours trying to modify article.cls to conform to my professor's paper requirements (title above abstract, page numbers don't start until the second page of the introduction), ...
6
votes
1answer
663 views

How to avoid page break after \end{multicols*}?

I am experimenting in LyX to create a page which has a single column and two column text. I inserted the following TeX code in the file. \begin{multicols*}{2} \lipsum[1] ...
1
vote
1answer
5k views

Using Bibtex with LyX help [closed]

I am currently using LyX, and I have a .bib file with all of my BibTeX references. Everything seems to work fine at first, but then goes terribly wrong when I try to view the pdf. I have added the ...
1
vote
0answers
2k views

How can I add a logo to a page header in Lyx? [closed]

I am writing a thesis and want to add the university logo accross the top of my first page. I have a banner.pdf file, which will fit nicely accross the top of the page. But how do I go about placing ...
1
vote
1answer
436 views

Use of \hiderowcolors & \showrowcolors within LyX

Loading the xcolor package with the [table] option provides the command(s) \rowcolors(*) for alternate table row coloring. Any attempt, however, to use \hiderowcolors and \showrowcolors inside table ...
2
votes
1answer
510 views

Cross references broken in Lyx master document [closed]

I've got a child document which contains cross references. When I export the child document to PDF, the cross references are fine. However, when I export the master document to PDF the cross ...
1
vote
2answers
760 views

Inserting evil red code in LyX in mathmode

How can I put code inside a math environment in LyX. For example, I want to insert a matrix, that is created via the \tikzpicture command, like in the first answer from here. But if I just copy the ...
0
votes
3answers
7k views

PDF Preview not working

I'm using LyX 1.6.8 on Windows 7 Pro x64. Today I installed Adobe Reader X - and it doesn't work with LyX any more: Adobe Reader does not open the generated PDF after you created the PDF with LyX. It ...
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 ...
1
vote
0answers
749 views

Migrating Indesign [closed]

I've been producing a technical book in Lyx. I've decided that for this work, I'ld be better off using Adobe Indesign. it need allot of complex layout/graphical stuff. Like timelines, sidebars, ...
2
votes
1answer
366 views

Automatically index bold terms in lyx

I'm writing a document in LyX and I whish to auto-index all the terms in bold. I'm using the Insert -> Index Entry every time I need to index a word, but since I don't require special modifications ...
4
votes
1answer
238 views

Switch to LyX Code Keyboard Shortcut

In LyX, is there a keyboard shortcut to switch from the standard input to LyX code input?
1
vote
0answers
474 views

How to insert links to file in LyX? [closed]

I am writing a report in LyX. I want to insert a link to a PDF file. I used the hyperlink feature available in LyX. Then in the target field I gave the path. In the name field I gave a random name. ...
0
votes
2answers
1k views

Problems with compiling a lyx document (error is related to limits of sum)

I am having problems compiling a lyx document I created, the problem seem to be with the limits on the summation I made, can someone please tell me how can I fix this problem ? The problems are in ...