{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

1
vote
1answer
236 views

Hebrew in lyx 2.1 (using MiKTeX 2.9)

Recently I've upgraded my OS to windows 8.1 and I had to reintsall lyx and LaTeX. After finished the installation, I ran the culmus-miktex-0.2.1 file but when I want to compile my document I get the ...
1
vote
1answer
146 views

Getting LyX to Find and Use OpenType Fonts

I have a family of opentype fonts which I want to use directly in LyX? I know that the TeTeX and LuaTeX backends to LyX can use opentype fonts directly. How can I get LyX to see the fonts and use them?...
18
votes
2answers
10k views

How do I add something to the preamble in LyX?

I'm trying to add something to the preamble, but don't know how. I tried Insert -> Latex Code and just picked places on my article, but I guess they were never in the preamble? I guess I cannot ...
2
votes
2answers
233 views

Add tree command output into LyX document

I need to add the following listing into LyX, but instead of having the following result, I obtain the one at bottom of this page. What can I do? How it should be: $ tree . ├── AndroidManifest....
3
votes
1answer
460 views

Tikz code not working in LyX but working in pure Tex

I'm trying to add a TikZ picture in my LyX document. To do this, I organize the TikZ tex code in Texmaker (a friend sent me a tikz code model in a .tex file) and then I copy it to a ERT in LyX (making ...
6
votes
1answer
675 views

LyX + SyncTeX + Document Viewer Evince

I am running LyX 2.0.2 in Ubuntu 12.04 and using the default PDF viewer Evince. I want to setup SyncTeX to go back and forth between the document and the source, at the right position in the text. ...
1
vote
1answer
54 views

How to get numeric bullets in a Master document in LyX which contains input Lyx documents

I want to create a master document in LyX. From there, I want to input (using the meaning of input as in LyX) 4 different LyX documents. Each one of these other LyX documents contains a list of ...
2
votes
1answer
233 views

Problem with pdf preview in LyX

I have just downloaded LyX and I have been trying to preview my work as a pdf file. The problem is that I have been getting this error: The path of your document (C:/ ... /) contains ...
0
votes
0answers
73 views

cmbright with Xelatex and lyx

Is it possible to use cmbright with xelatex for both math and text? The way to use it in the text is here Use cmbright with unicode text under XeLaTeX But the math still appear in usual latin form....
2
votes
1answer
491 views

How to include program listings in C# with custom font and syntax highlighting in LyX?

I'm rather new to LaTeX and use LyX editor to create my documents. There are similar questions but none of them answer how to do that in LyX. I am wondering, how to include a program listing in C/C++/...
1
vote
1answer
218 views

Lyx generated PDF with JavaScript encounters NotAllowedError

I am trying to generate a pdf file that opens another pdf file with this code \usepackage[pdftex]{insdljs} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Main Script %%%%%%%%%%%%%%%%%%%%%%...
7
votes
2answers
5k views

italic font in LyX?

How does one generate italic font in LyX? I just want to select some text and click something in the menu system or type a keyboard shortcut to do this. I have previously found it in the menu system,...
3
votes
1answer
209 views

How do I prevent LyX from loading fontspec automatically?

I would like to use non-TeX fonts in LyX. To do this, I use the Document->Setting->Use non-TeX fonts setting. This setting causes LyX to insert the \usepackage{fontspec} statement automatically into ...
6
votes
1answer
220 views

LTR bibliography in a RTL document

I have a Lyx document in Hebrew(RTL Language), while all the sources are in English(LTR Language). Therefore, I've added \selectlanguage{english} before the bibliography, and \selectlanguage{hebrew} ...
1
vote
1answer
92 views

From LyX to LaTeX and back without losing information

I work in LyX but my colleagues work in LaTeX. If I export from LyX to LaTeX, then send them the tex file, then receive the tex file with their editions and then import it back to LyX, will I have all ...
1
vote
1answer
220 views

Editing Math equations in LyX

Entering math is slick, and within a half an hour I could work as fast as I used to in Frame Maker, much faster than I can using asciimath (with the ton of extra ()'s) I'm cursed with awful ...
1
vote
0answers
35 views

LyX 2.1 Report Class Changing Part to Other Text When Using non-TeX fonts (via XeTeX/LuaTeX) [duplicate]

I am using LyX 2.1 with the document class "Report". I am writing my thesis, which consists of three essays. How do I change word "Part" for each section to "Essay"? I have not been able to find an ...
3
votes
2answers
375 views

Insert explanatory text into numbered list in LyX

I try to insert some explanatory text into numbered list as below: 1. Number 1 explanation of Number 1 2. Number 2 But when I do it in LyX, I try to change the "explanation" line as "Standard", ...
3
votes
1answer
417 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 ...
1
vote
1answer
321 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
744 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 ...
2
votes
0answers
2k 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
340 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
424 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 ...
6
votes
1answer
442 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 ...
2
votes
1answer
1k 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 ...
26
votes
6answers
13k 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
386 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
70 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
144 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
88 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
108 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 ...
2
votes
0answers
87 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
106 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
277 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
587 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
480 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 ...
4
votes
1answer
85 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 ...
2
votes
2answers
713 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
6k 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
903 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
417 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 ...
2
votes
0answers
222 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
2k 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
1k 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 ...
4
votes
3answers
7k 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
1k 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 ...
0
votes
0answers
300 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
141 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, *bohr,...
5
votes
1answer
239 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 ...