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

Lyx code tag with highlighting for C

I just installed Lyx and when I try to insert the program I observe that there is no syntax highlighting. What is the best way to allow for syntax highlighting in LYX?
2
votes
1answer
60 views

LyX cannot output to pdflatex for a specific file

A friend gave me a copy of his thesis template (which works for him), but when I try to use it myself, most of the LaTeX 'view' options are grayed out: Strangely enough, the options aren't grayed ...
1
vote
0answers
43 views

Instant preview does not work in LyX 2.1.3 on OS X 10.10.2 yosemite

I'm having trouble with the instant preview in LyX. It seems to work in the LyX document about xy pics when I open that from the help menu, but if I generate a commutative diagram in a new doc it ...
1
vote
1answer
24 views

What is the keyboard shortcut for inserting URLs in LyX?

I've looked through the keyboard shortcut documentation, and none of it shows an easy way to create a URL inset in LyX. I know that one can theoretically add a function in preferences, but every time ...
0
votes
0answers
49 views

undefined control sequence - \@rllanguagename

I've been using LyX for a while for math typing. So far I was using the "standard article" class, and everything worked well. But when I'm trying to use an AMS article class, I get this error (even if ...
2
votes
1answer
56 views

Is there any way to have more than one word in the label in LyX?

In LyX, when I use "labeling" under "Lists", the first word I type is turned into a label followed by a large space. Is there any way to have more than one word as the label. LyX isn't allowing me to ...
0
votes
1answer
30 views

knitr-manual.lyx fails to compile on LyX 2.1.2

My error message gives me the following: An error occurred while running: Rscript --verbose --no-save --no-restore "C:/Program Files (x86)/LyX 2.1/Resources/scripts/lyxknitr.R" ...
0
votes
0answers
67 views

Best way to Insert R code into a LyX document

Let's suppose that I have a set of R (3.1.2) scripts that I would like to display in LyX (2.1.2). I could use Program Listings, but I think this looks very unprofessional. I am wondering if anyone can ...
2
votes
1answer
49 views

Insert knitr (1.9) Chunks From Separate File Into Lyx (2.12) Document

I have a LyX document (report class) called mwe.lyx and I would like to execute the following Rmd chunk called "mwe.Rmd". {r, eval = FALSE, echo = TRUE, cache = FALSE} 2+2 Of course, I can ...
8
votes
1answer
122 views

Remove Indentation of Theorems

I am working with amstheorem and amsbook, and I'm trying to remove the indentation before the numbers of theorems so that they are aligned exactly to the left. Is there any way to do this? In ...
2
votes
1answer
53 views

LyX and biblatex authoryear-comp and same authors: Parentheses wrong [closed]

I use LyX with biblatex 2.9a, biber 1.9 and the authoryear-comp style. My biblatex configuration is below: \usepackage[backend=biber,style=authoryear-comp,natbib=true]{biblatex} When I insert two ...
0
votes
0answers
27 views

Custom style in LyX

I am having trouble editing this template in LyX. After downloading the .tex and .sty files I can compile with pdflatex nips2013.tex which works fine. In LyX, I click File > Import > LaTeX ...
4
votes
3answers
113 views

What is the [american] option under Extbook?

I noticed that my upgraded Lyx installation adds the following line to the book class using the extsizes package: \documentclass[a4paper,oneside,american]{extbook} I looked at the package ...
1
vote
1answer
54 views

Koma Script handbook says chapters can start on any page using headings=openany?

On page 87 of THE GUIDE: Koma Script [2015-1-14] under the section "Structuring of Documents" the guide lists many "options" for changing the default output of \chapter sectioning, such as ...
2
votes
0answers
21 views

How can I make “smart” macros in Lyx?

I want to make "smart macros," in the sense that I can write something like \mat3 in lyx and it turns into a 3x3 matrix, while \mat4 turns into a 4x4 matrix. Instead of writing out each macro for each ...
1
vote
0answers
27 views

How to place Lyx macros in all my documents?

I figured out how to make macros in Lyx (insert->math->macro) so I'm super excited. But they only seem to apply in the document they are in. How can I include my macros automatically in all documents ...
2
votes
2answers
94 views

How to put my name, current date and paper title in the header of every page?

I just started using Lyx and I'm very confused. It doesn't allow me to show the LaTeX code so that I cannot edit LaTeX directly. But it also has no apparent options to set certain things. What I need ...
2
votes
1answer
50 views

\swapnumbers drops chapter

I'm trying to use \swapnumbers to get the numbering of theorems etc first in amsbook, as detailed here: \swapnumbers in lyx However, when I add \swapnumbers, it seems like the numbering scheme ...
0
votes
0answers
36 views

Problem with LyX installation on Mac Yosemite

after installing MacTeX and the recent version of LyX, I receive the following error message: "due to some error in it, the layout file could not be loaded. lyx will not be able to produce the correct ...
0
votes
0answers
24 views

Inputs diacritical marks instead of punctuation marks (LyX on Mac)

For some reason, punctuation marks on my keyboard produce diacritical marks (accent marks such as "á"); pressing the keyboard key twice actually produces the desired key. For example pressing period ...
2
votes
1answer
67 views

Pressing ALT key in LyX causes command Bar

I'm working in LyX (in Ubuntu 14.10) and I'm trying to use simple math macros using the Alt + M + XX combination, where XX could be anything, such as F for a fraction or ( for parentheses. However, ...
2
votes
1answer
53 views

\swapnumbers in lyx

I'm using LyX 2.2dev on Mac together with Theorems (AMS), Theorems (AMS-Extended), Number Equations by Section and Theorems (Numbered by Sections) modules. I put \swapnumbers in my LaTeX preamble, but ...
5
votes
1answer
74 views

Modules (Theorem,Claim,Proof etc) LyX Question

I have a question about LyX. When I use for example Proof, I write stuff, but in the middle of the proof I have to prove another lemma. So I click Lemma, but it ''closes'' the proof. I don't really ...
0
votes
0answers
29 views

Lyx - Siggraph template not generating pdf

I am trying to use the Lyx and ACM Siggraph template but I cant seem to generate the pdf. I have used this link - http://wiki.lyx.org/Examples/AcmSiggraph - as a reference. I get the following and I ...
1
vote
0answers
69 views

no pdf output - view command disabled in LyX (2)

Yesterday I wrote : I am working in LyX with documentclass{amsart} and all was doing well until MiKTeX Update made impossible to produce PDF output, error messages being amscls.sty not found or ...
2
votes
1answer
136 views

Yet another “LaTeX Error: File '***.sty' not found” question

My apologies for what is probably a duplicate question, but I've looked through similar queries, and I either can't make head nor tail of them or they haven't helped me (likely due to my own lack of ...
1
vote
1answer
64 views

Pixelated PDF output [duplicate]

The PDF output of my LyX documents is rather pixelated as can be seen on the image. Does anyone know how to fix this? This is pdfTeX, Version 3.14159265-2.6-1.40.15 (MiKTeX 2.9) (preloaded ...
2
votes
0answers
51 views

Formatting Versions of the same Document

So I have a puzzle here that my Google-Foo is insufficient to handle. I've written my dissertation in Lyx with one master-document and a pile of child-documents for each important chapter or logical ...
1
vote
1answer
77 views

Unable to use utf8 with the LyX ClassicThesis version 4.1

This is a question about using UTF-8 symbols (e.g. å, Ä, Ö) in the LyX version of ClassicThesis. Using such symbols in the main document lyx files work without any changes at all to the ClassicThesis ...
2
votes
0answers
26 views

How can LyX create a pdf file that's suitable for Amazon Createspace publishing? [duplicate]

LyX by default creates documents in pdf file format version 1.5 Amazon Createspace says that it supports pdf submissions in pdf file format version 1.4 and below. They don't say they support this ...
2
votes
0answers
77 views

Can't move sidecap figures from top of page

Thanks for your help in advance. I am using LyX to typeset my dissertation. However when I export to plain LaTeX the problem persists, so I know is is a LaTeX problem. I am using sidecap with ...
0
votes
0answers
32 views

Child Documents have different sectioning levels than Master Document. How can I incorporate?

I have three Lyx documents I would like to insert into a Master Document as Child Documents. However, the child documents begin with a Chapter. I need them to begin with a Subsection in the Master ...
0
votes
1answer
121 views

apacite+natbib in lyx: always error “too many }'s”

I spent the last hours breaking my head and the internet over what is wrong with using apacite and natbib in lyx (since I seem not to be the only one... here is what I did: in settings - literature ...
0
votes
0answers
42 views

How to display footnote in beamer slide using Lyx?

I am using Lyx in beamer mode on a Mac to create a presentation. I insert a footnote on a slide title. I want the footnote to appear at the bottom of that slide. Instead I don't see it appear ...
0
votes
0answers
36 views

Beamer remove literature heading

For some reason, even though my literature frame is called Literature, the generated PDF has Literature I in the heading instead. How can I get rid of that number?
0
votes
0answers
19 views

Writing definition, theorem, lemma more than once in Lyx [duplicate]

I am trying to make a list of definitions and theorems and everything, however, I can't write definition, theorem, lemma etc. consecutively. For example I write a definition, I press enter twice , so ...
1
vote
1answer
122 views

Preview of tikz/pgf in Lyx

I'm using tikz/pgf in Lyx. I included the \usepackage{pgfplots} in my header and the output pdf works fine. However, I'm using Lyx to be able to see a preview of my document as I write. Did anyone ...
0
votes
1answer
18 views

Jump to cross-reference inside lyx-document?

Is there a way to jump to a cross-reference inside a lyx-document? example: click on an equation reference, say [eq:some_equation], to jump to the referenced equation?
1
vote
1answer
46 views

How to Add Whitespace to Lyx?

It is a sad day but I find myself needing to indent (or at least add whitespace) to a document in Lyx. In particular, I have to write a formal proof, but I also have to indent it in a specific way ...
0
votes
0answers
36 views

In-line citation using cross-referenced bibliography

I am trying to place in-line citations using a bibliography built in a separate LyX file. For example, I have Document1.lyx and I'd like to cite John Doe who wrote a paper on the subject I'm ...
2
votes
0answers
50 views

Adding an environment to LyX for dividing a proof into steps

My question is basically a combination of the questions Is it possible to use the enumerate/itemize environment within the proof/remark environment in a nice way? and Create new paragraph style in ...
1
vote
2answers
119 views

Installing LyX over a vanilla TeXLive

As the title says, I would like to install LyX over a vanilla TeXLive. However, when I do yum install lyx the whole distro TeXLive is set to be installed, which I obviously don't want. On the other ...
0
votes
1answer
201 views

LyX say that no classes are available

I'm using LyX for some Maths coursework, I've installed LyX with MiKTeX twice now (re-installed after first encountering this problem) but I'm still getting the same problems. Basically none of the ...
4
votes
1answer
65 views

Lyx doesn't compile a kth root

A LyX document I wrote won't compile after I added in a mathematical formula the command root (in fact, \root[k]{\alpha}). I would have written you the code, but the document is long (over than 20 ...
1
vote
1answer
78 views

Insert labels inside table rows

I have a long table with different equation, I need to make a label and then refer to them in some cells, trying to do that by putting usual label giving me wrong results in LyX, more precisely if the ...
2
votes
1answer
95 views

Nomenclature section

I used the following code to make sections in nomenclature. This totally works. While I wanted to add the fourth section "Matrices" which is now commented out I faced with an error. I attached the ...
0
votes
0answers
43 views

The picture of tikz is not shown [duplicate]

I am new to the pgf package ant I wrote that code but when I compiled it (successfully), the picture was not shown. The code: %% LyX 2.1.2 created this file. For more info, see ...
2
votes
0answers
91 views

How to generate a professional table in LyX? [closed]

Many academic journals ask authors to make tables in a professional style, i.e., only have horizontal rules (usually 3 horizontal rules) without any vertical rules. In LaTeX, the booktabs package ...
6
votes
5answers
183 views

How can I input normal quotes in LyX?

For example, if I type "this" into LyX file, the output PDF will show “this”, the quotes change to a set of curly quotes. But I want it looks like "this". Especially in LyX, there are six quotes ...
2
votes
1answer
64 views

Writing Hebrew With LyX

I am doing my first steps trying to write Hebrew articles with LyX (Or any other solution). I am using Mac and do not know what to do after I have download LyX. Thanks