{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

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 ...
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 ...
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 ...
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 ...
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 ...
1
vote
0answers
33 views

LyX 2.0.7.1, Mac 10.7.5: LyX text scrolls while I'm working on it

LyX 2.0.7.1, Mac 10.7.5: LyX text scrolls while I'm working on it. I often need to hit UNDO to find my way back to the insertion point. 26 Feb 2015: I have the same (continuing) problem with Mac ...
3
votes
1answer
114 views

Creating a Macro for an n-by-m Matrix in LyX

Specifically, I'd like to create a matrix such as $\left[\begin{array}{cc|c} a_{1} & a_{2} & a_{3}\\ b_{1} & b_{2} & b_{3}\\ c_{1} & c_{2} & c_{3} \end{array}\right]$ But in ...
4
votes
2answers
4k views

Shortcut for “vertical space” in LyX

Has someone got an idea what the shortcut is/where I can create one for the \medskip{} command (or any other command, that generates a vertical space in my document)? I looked in ...
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
1answer
94 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
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 ...
2
votes
2answers
143 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 ...
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 ...
4
votes
2answers
172 views

xypic: 2-Cell Triangle Identities

I would like to typeset, using xypic, the triangle identities from the definition of adjoint functors in category theory. My problem is with creating the double arrow connecting the hypotenuse and the ...
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 ...
0
votes
0answers
128 views

Lyx on Mac inputs diacritical marks instead of punctuation marks

I've just installed Lyx 2.0.7.1 on Mac OS X (Mavericks) and when trying to type in Lyx, some keys behave irregularly. More specifically, typing some punctuation marks on my keyboard (such as period, ...
7
votes
4answers
5k views

LyX enumeration style from numbers to letters

I'd like to use, for this specific instance, letter style enumeration [ like a) b) c) ] . I realize that I can nest one enumerate environment in another and the style will change, but I don't want a ...
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
100 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
1answer
57 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 ...
4
votes
2answers
5k views

How to add my name on every page corner in Lyx?

My teacher has asked me to add my name on every page of my report. Is there a nice way of doing this so my name appears in a subtle way?
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 ...
3
votes
1answer
213 views

Long file path get out of right margin on PDF

A simple LyX document consisting of one long file path, is wrapped inside the LyX GUI to the next line; but when exported to PDF it 'continues' after the right margin end. I'd expect it to be ...
6
votes
3answers
4k views

Using LyX, how can I make a 6 column table with the second row having multiple lines of text?

Using LyX, how can I make a 6 column table with the second row having multiple lines of text? I am trying to create the following layout in LyX: I'm using LyX 2.0 for mac. What are ways to ...
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
172 views

Rotated Text in Table Extending into Rows in Lyx

I'm trying to create a table with some rotated text in it, but the rotated text is extending into the rows below the cell, as shown here: Here is what my screen looks like in Lyx: I've tried ...
1
vote
1answer
83 views

How to improve appearance of hindi deonagari font on lyx

When the devnagari or hindi font was used on Lyx, the font appear as a garbage on Lyx GUI. This can be easily seen by pasting "इस पृष्ठ पर इन्टरनेट पर उपलब्ध विभिन्न हिन्दी एवं देवनागरी सम्बंधित ...
2
votes
1answer
134 views

Converting LyX Nomenclature to Glossaries

I would like to add a nomenclature to my LyX document. Currently LyX only supports the nomencl package. However, since this package has not been updated since 2005 I would like to use the glossaries ...
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 ...
2
votes
1answer
126 views

LyX: put space between first and second columns of table

When inserting a table in LyX, there's a space between the first and second rows, which I can get rid of by selecting the first row and turning off "bottom line", or selecting the second row and ...
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 ...
1
vote
1answer
266 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 ...
1
vote
2answers
366 views

Is there a way to disable middle-click=paste in LyX

I use LyX 2.0.0rc3 on Mac OS X. Like on other systems, it automatically maps middle-click to paste, which on my hardware leads to numerous accidental pastes of gobs of text. Is anyone aware of a way ...
1
vote
0answers
50 views

Lyx 2.0.7 for mac Navigate Menu No Document Open [closed]

I am using Lyx 2.0.7 for Macintosh on OSX 10.9.1 I am editing a document that was created in a previous version of Lyx. When I go to the Navigate menu to navigate to subsections I get a message that ...
2
votes
1answer
95 views

Why an online equation editor cannot be used to produce matrices in LYX?

I've started using LyX just a couple of months ago. As a beginner sometimes I use the graphic method (cmd+m), while other times I try to write TEX code by myself (cmd+L). Lately, I've discovered a ...
3
votes
2answers
234 views

IEEEtran Export to PDF version 5 or above

I'm writing a paper for an IEEE conference and am checking the PDF with PDFExpress. One of the errors that I'm getting is that the PDF version of my paper is under 5: (actually "version 5" in an ...
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 ...
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
0answers
44 views

Why the LyX getting reset toolbars layout every time it starts?

Every time I open Lyx it doesn't restore already opened toolbars (e.g. version control, table of contents), but instead shows only the default toolbars. How to fix it (make toolbars layout permanent)? ...
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 ...
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?
8
votes
1answer
6k views

Set all paragraphs to be double spaced in LyX

Currently I have to manually go to the Edit->Paragraph Settings menu and set double spacing for each individual paragraph in the document. I'm using the article ( hebrew ) doc class as a base for ...
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 ...