{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

0
votes
1answer
11 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
11 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
26 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
98 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
26 views

LyX and biblatex authoryear-comp and same authors: Parentheses wrong

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
19 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 ...
0
votes
0answers
25 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
43 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
18 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 ...
0
votes
0answers
33 views

How to read .lates extension on osx? [on hold]

I am trying to read a .latex file but don't know what program I need on OSX to open the file. Usually I write my documents in LyX but that program cant seem to open .latex extension.
1
vote
0answers
20 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
59 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
42 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
11 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
16 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
45 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
42 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
45 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
12 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
29 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
55 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
votes
0answers
103 views

no pdf output - view command disabled in LyX [on hold]

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 Undefined control ...
1
vote
1answer
52 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
41 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
36 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
25 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
64 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
27 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
72 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
25 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
32 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
65 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
14 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
30 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
27 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
43 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
78 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
183 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
59 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
55 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
63 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
73 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
136 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
43 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
0
votes
0answers
108 views

MacTeX 2014 TeX Distribution panel broken under Mac OSX Yosemite

I've installed MacTex-2014 on my Mac running on Yosemite. The Tex Distribution window is broken, and am unable to explore all the templates on the Lyx. Is there any way to fix it?
2
votes
2answers
63 views

How can I format this in lyx?

I'm trying to format a confusion matrix in lyx. I want the data to look like this. a b c d e f g <-- classified as 1 5 10 8 4 2 0 | a = 3 3 ...
1
vote
0answers
32 views

Installing New Doc Classes in Lyx

I have been following the instructions for installing a new doc class in lyx but when I open up lyx under document - settings - document class my doc class appears under unvailable. So what's gone ...
1
vote
1answer
46 views

How can I use a specific font in a program listing in Lyx?

I would like to know how to use a specific font (Arial, for example) in a program listing. The idea is to insert in my document a part of code in a 'program listing'. I found a way to insert some ...