{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

13
votes
2answers
4k 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. ...
2
votes
1answer
2k views

how to bold equation in lyx

I have equations inside text. I tried to bold equation from lyx text style->series bold but only text is bolded but equations are not. I can make font larger for equation and other options but bold ...
2
votes
2answers
729 views

Hyperref to external file in LyX

I have two separated folders, each includes LyX files with the needed attachments (pictures...etc.) , I found that I need to to use zref-xr package to make hyper cross references between those files ...
2
votes
1answer
172 views

Is it possible to search for bibtex citations in Lyx

In LyX, is it possible to search for a citation I've already inserted by BibTex key? I'm inserting references from a BibTex file using Insert -> Citation. For example, I would like to find all the ...
14
votes
3answers
3k views

Cornell Notes - A lyx or latex solution needed

I teach academic writing to computing students and one of the tasks they have to carry out is to compile a set of research notes which can then be developed into an essay. I find that the Cornell ...
2
votes
2answers
325 views

LyX, LaTeX, LaTeX2e

I need to know (for publication reasons) which are the features of LaTeX2e and the differences between LaTeX2e and normal LaTeX. On the other hand I'm working with LyX. I have no problems in ...
2
votes
4answers
5k views

Problem with \maketitle in moderncv

I downloaded the moderncv template for LyX, I tried to compile it but this error appears: \maketitle Your command was ignored. Type I to replace it with another command, or to ...
7
votes
1answer
1k views

TikZ in LyX: Package tikz error?

I am trying to compile a document that uses the tikzpicture and pgf packages, but I am getting this error UPDATE Code: \begin{tikzpicture} \begin{semilogyaxis}[ ...
1
vote
1answer
6k views

Floats appearing in wrong places

In Lyx I'm using float figures. I have to put three pictures one after the other, so three different float figures. When I output a pdf, the floats all appear at the top of three different pages. ...
4
votes
1answer
4k 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
1k views

want table to look like this

I use lyx with elsarticle class with two-column document but I made span columns so table will span over the two columns. I tried it with adding the caption package: ...
1
vote
0answers
330 views

How to get the page numbers within the margins specified in the settings in Lyx? [closed]

I have specified the right, left, top and bottom margins in the Lyx settings under Page margins, but the page numbers appear outside those margins. How can I force the page numbers to be within the ...
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
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
391 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
102 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
778 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
516 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
975 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
457 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
706 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
232 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
698 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
253 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
271 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
882 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
434 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
510 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
384 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
412 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
635 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
453 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.
6
votes
1answer
5k 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
389 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
420 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
369 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), ...