{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
72 views

How to “Disable Editing” of a document in LyX?

Sometimes it is useful to open a document as read-only (e.g. when copy/pasting from an old document to a newer one, and wanting to avoid any accidental modifications to the old document). This ...
2
votes
1answer
1k views

LyX not accessing styles, classes, and bibliographies

Precursor info: I'm on a Mac operating OSX 10.9.4, which I updated to months ago, before this problem started. I'm running LyX 2.1. Just a few days ago I was using LyX with no problems. The next ...
0
votes
1answer
74 views

use chinese in lyx beamer slide

I wish to use lyx beamer document type but use Chinese in document. Maybe it's possible to use CJK but not sure how to do it. Anyone can share your suggestion?
0
votes
1answer
106 views

Customizing LyX Shortcuts

I am using LyX 2.0.6 on my macbook and would like to define a few custom shortcuts to make my life easier. In particular, I'd like to add the following command: controlfa should insert an algorithm ...
11
votes
3answers
4k views

A short hyphen in a math formula

In a LyX math formula, I want to write something like "r-number". However, the usual dash looks too long (like a minus sign). I am looking for a short, possibly upper hyphen. I couldn't find it in the ...
1
vote
0answers
281 views

Lyx won't create PDF - “File doesn't exist” [closed]

I'm new using Lyx, and apparently I don't understand it very well. My problem is when I try to compile a file to pdf. When I click "View", the debug messages shows the following: 08:46:53.880: ...
1
vote
0answers
56 views

Slides template in LyX generates option clash for package graphicx [closed]

The slides template in LyX is generating an error even with a very simple example (that is, a single slide with a *.pdf plot) The source, provided below, generates this error: ! LaTeX Error: ...
3
votes
1answer
94 views

LyX - Hiding inserted latex commands

I'm new to LyX. I needed to find an easy way for my boss to be able to edit my reports without the need to learn LaTeX. I found LyX and I think it's the solution. Even in LyX, often times I need to ...
5
votes
1answer
97 views

Highlighting a line in program listings in lyx

I am not able to find how i can highlight a particular line of code in program listings. Syntax highlighting seems to work but I dont need particular language keywords to be highlighted. e.g. for the ...
1
vote
1answer
260 views

Problem when using Tikz in Lyx

I am using Lyx 2.1 on a windows 7 machine with MikTex 2.9. When I embed even very simple tikz code in a Lyx document it appears to go off into a loop and eventually generates the error message The ...
20
votes
6answers
3k views

What is the difference between LyX and LaTeX?

Currently I am using LaTeX to typeset all my math reports. Recently I found out that LyX also uses LaTeX, which can also generate PDF, accept commands from LaTeX, but is easier to use as it does not ...
1
vote
2answers
108 views

Book(standard class), headings for chapter* sections not all caps - urgent help needed

I have a 400 page document in Lyx 2.1, book(standard class), using default settings. The \chapter headings appear in all caps in the header, but the \chapter* headings (which I manually add to the TOC ...
0
votes
1answer
48 views

Numeration of formulas in Lyx

How to numerate formulas in Lyx? Is there exist LaTeX command like "\tag "? I haven't found corresponding info before.
0
votes
0answers
48 views

LyX Layout File for the SIAM book class

Is there a LyX layout file for the SIAM book (SIAM-GH-book.cls) class?
2
votes
1answer
53 views

Lyx doesn't display matrix correctly

I have tried to insert following LaTeX code for matrix in Lyx: $u_{L}(k) = \sqrt{E}\begin{pmatrix} 0 \\ 1 \\ 0 \\ -1 \end{pmatrix}$. In all LaTeX-based sites this code is displayed correctly, but ...
3
votes
1answer
64 views

Conditional Zebra Tables

First, I'm using LyX with a rather long preamble because I want things fairly specific, but almost all the code in the preamble is cut-n-pasted from the 'Net with a couple modifications. I'm not a ...
0
votes
0answers
86 views

How to insert hebrew In backround (with Tikz) in Lyx

I try to do a background with a text on the top right corner of the page (with borders and page number) I succeeded in creating it but I want to insert a hebrew text (it renders english the way I ...
2
votes
0answers
45 views

lyx with background won't load unless I type \newpage after the text

I try to write a document with a background in lyx, I made sure it works on Texmaker, on Texmaker it needed to be built a couple of times and then it got it right but when I try to preview or export ...
2
votes
1answer
75 views

No hebrew shows in DVI (CTRL+D)

I've installed LyX with culmus-latex on Ubuntu 14.04 and set settings according to this tutorial: http://gadial.net/Documents/LyX%20Guide.pdf My problem is that when I preview some document in hebrew ...
5
votes
1answer
121 views

minitoc package adds extra page when used with float and lastpage packages

The minitoc package adds extra page when used with float and lastpage packages. I figured out that this problem can be resolved by loading minitoc package before float and lastpage packages. In LyX ...
1
vote
1answer
130 views

How to make LyX use prettyref or refstyle

In LyXm in "Document Settings" window on "Document class" pane I can choose to use either prettyref or refstyle. However the TeX code looks as if it used ordinary /ref. Why? %% LyX 2.1.0 created ...
0
votes
1answer
59 views

Referencing with bibDesk in LYX

I was trying to insert a bibliography which I created in BibDesk. However, when I insert the bibliography(.bib) in Lyx from 'Insert', and compile it the reference list is empty. Does someone know ...
2
votes
0answers
168 views

Bibliographies by chapter using bibtopic on classicthesis LyX port

I need help with bibliographies by chapter using bibtopic with classicthesis (v4.1 LyX) with LyX (v2.0.2) under Ubuntu Linux (or a better option). I need bibliographies at the end of each chapter (as ...
3
votes
1answer
308 views

BibLaTeX in LyX 2.1.0 with MiKTex on Windows 7: ! Package biblatex Error: Incompatible package 'backref'

I took the tex code from here and imported to LyX 2.1.0 to use BibLaTeX with MiKTeX on Windows 7. But I'm getting the following error: ! Package biblatex Error: Incompatible package 'backref'. The ...
1
vote
1answer
196 views

How to add the exact page numbers cited for books in the references list/bibliography, not in the text?

I am wondering if there is a package or an option in LyX that adds the page number to the references list. I don't want to generate a separate bibtex entry for each page cited of the same reference. ...
4
votes
1answer
43 views

Can't get a MWE to work in Lyx

I'm a newbie and have jumped in at the deep by trying to get this MWE to work. I'm using Lyx 2.1.1. I've left out the first line from the MWE \documentclass{article} Lines 2 - 28 I've inserted ...
4
votes
2answers
383 views

LyX is leaving a big gap between paragraphs in the place where float (figure) should be

I just want to ask about why is LyX leaving a big gap between paragraphs surrounding a figure?. Not all paragraphs, but only between those paragraphs where I inserted a float (figure). The figure is ...
2
votes
2answers
371 views

How to change bibliography to webography in lyx 2.0.2?

I'm writing a report with lyx 2.0.2 and I want to insert in the end a webography which is the same as bibliography but its called webography instead. So what I want basically is either to change the ...
1
vote
1answer
880 views

Undefined control sequence by reference LYX, MikTex

For each reference I put in to the document, I get the following error message. What should I do? Undefined control sequence Document Class: scrreprt 2013/12/19 v3.12 KOMA-Script document class ...
3
votes
2answers
484 views

Greek language issue with moderncv in Lyx

I am using Lyx in order to write my CV but i have an issue with Greek language. I fill the entries like name/family name/adress/tel/mobile/email in Greek from Lyx's preamble but the email must be ...
1
vote
0answers
93 views

How to link an excel document to lyx

I want to insert tables into lyx. And I think the best way is to link the excel document where the tables are stored to the lyx file. I have installed gnumeric and inserted the excel as external ...
1
vote
0answers
43 views

How do I delete a graphic in LyX

This sounds like a joke question but it is not. I have inserted a png file without putting it in a float. It is not in the middle of any text but appears between a latex code float figure and a ...
4
votes
3answers
300 views

Adding background color to table cells in LyX

I'm doing some tables using LyX and I tried to set a color background in the cells , but I got this error: Undefined control sequence \rowcolor {cyan} & The control sequence at the end ...
2
votes
1answer
222 views

How to include child documents in Lyx [closed]

I am new to LaTeX and LyX. For writing my thesis I got 2 files from university: uw_masters_thesis.sty and sample_thesis.tex. The sample file contains \usepackage{uw_masters_thesis} in preamble. If I ...
2
votes
1answer
63 views

Lyx nested enumerate creation

I try to create the following in LyX. But it does not give what i want. 1 (a) text OR (b) text 2 (a) (i) text (ii) text OR (b) text LyX does allow only to produce as shown ...
3
votes
3answers
3k 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 ...
1
vote
0answers
160 views

Lyx View action not working (inactive) [closed]

I have created a very simple document in Lyx and want to preview it. But the "View" action (the one bound to Command+R) and its corresponding tool bar button (with the icon showing two large eyes) are ...
1
vote
0answers
189 views

Lyx in Hebrew doesn't work

I will write the order of when things started occurring. When I started writing with LyX, I couldn't write in Hebrew, until someone sent me this package called culmus, which fixes the problem. The ...
0
votes
0answers
63 views

Problem with Lyx-viewing pdf's

whenever I try to view a pdf of the lyx document (ctrl+r), I get the following error: !pdfTeX error: pdflatex (file ecti1000): Font ecti1000 at 600 not found Also, I cannot properly export the Lyx ...
1
vote
0answers
41 views

Multiple references on one line of bibliography in LyX 2.0 with revtex4-1

The documentclass revtex4-1 allows multiple citations to appear on the same line in the bibliography. This is accomplished by adding a star next to the citation key [1]: \cite{bethe, *feynman, ...
5
votes
1answer
69 views

Vertical space between section and top of the page?

I'm writing my thesis in Lyx and I'm using the Article layout and I would like my section heading to be centred, always starting on a new page and to have some padding from the top of the page. I ...
4
votes
1answer
52 views

Inserting caption for listings in LyX

I'm using LyX 2.1.1 and want to put captions for listings. I can do this by using LaTeX code in ERT but would like to do by using LyX built-in capabilities of Insert > Program Listing. Any help ...
2
votes
1answer
44 views

LYX - Conditional Sections

I've created an automatic report for my company that gets some input datasets and automatically returns a data analysis report with texts, figures, tables, and some data analysis results. Depending on ...
3
votes
1answer
92 views

Conflict between UTF8 and UTF-CJK

I appear to be having a conflict with font encodings. I am currently using LyX 2.1.1 (under Linux Mint 17). I have Chinese text scattered throughout most chapters, but I receive the following error ...
2
votes
0answers
386 views

Windows LyX won't open a file created in Mac LyX

I created a lyX file yesterday on a Mac. It won't open in Lyx 2.0.7 on Windows. I get: Lyx_tempdir.HP7972/Buffer_convertLyXFormat.cr7972 is not a readable LyX document. I am pretty certain my ...
3
votes
1answer
167 views

R Chunk Code within Enumeration Environment with knitr in LyX

I need R Chunk Code within Enumeration Environment in Rnw file. The following .Rnw document works fine. \documentclass{article} \begin{document} \begin{enumerate} \item The quick brown fox jumps ...
5
votes
1answer
70 views

How to set the listings font for the whole document

How do I change the listing font size of the whole document? I am quite sure that it must be specified in Document->Settings->Listings but I do not know the input parameter for setting the font ...
0
votes
0answers
149 views

How do I write a Physical Review or APS paper in lyx?

I am using RevTex 4.1 Document class in Lyx to write an APS paper. I do not find an option to enter Author or Abstract without the words 'Abstract' and 'Author' appearing. Also, when I convert to pdf, ...
0
votes
0answers
46 views

Font zgmr-digits at 600 not found

I'm trying to write a document using GaramondX and I keep getting the error `Font zgmr-digits at 600 not found'. I have tried reinstalling Garamond x, running upmap-sys in terminal and reconfiguring ...
4
votes
2answers
1k 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 ...