{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

3
votes
1answer
74 views

How to change/add column background colors in Lyx? I can easily change/add colors of rows, but not columns

Bear with me, this isn't a duplicate question. I can successfully change the row color in tables using the instructions here: http://wiki.lyx.org/LyX/Tables (A similar question exists here: ...
1
vote
1answer
66 views

Lyx Making Theorems Not Italic Globally

Before I used Lyx, I used \declaretheoremstyle to make the bodyfont into normal in theorems. But in Lyx, I'm using Theorems(AMS) and Theorems(Numbered by Chapters) Module and cannot find a way to ...
0
votes
1answer
89 views

Fixed column width ruins alignment of table row using Lyx

I am having the worst luck with a table I am trying to create. The problem occurs when I want to have multiple lines in a column, I use the trick posted on here (and I think Lyx's wiki) and set a ...
2
votes
0answers
29 views

Where I could find this particular typrewriter-like font in lyx? [duplicate]

I'm writing my thesis in philosophy using Lyx and found out that most of them are written with this particular typewriter-like font. Could someone tell me where i could find this font? Does Lyx ...
2
votes
1answer
103 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
140 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
63 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
31 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
1answer
74 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
77 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
51 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
132 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
62 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
148 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
75 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
33 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
120 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
73 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
24 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
32 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
140 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
55 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
60 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
35 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
93 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
70 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
97 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
46 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
95 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
291 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
89 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
56 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
128 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
27 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
99 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
35 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 ...
1
vote
1answer
218 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 - ...
0
votes
0answers
70 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
42 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
262 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
21 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
76 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
54 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
59 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
151 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
211 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
73 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
120 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
117 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 ...