{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
0answers
26 views

Using 3dplot package in lyx

I'm trying to get the following tikz code to run with LyX: http://www.texample.net/tikz/examples/the-3dplot-package/ My preamble contains: \usepackage{tikz} \usepackage{3dplot} \usepackage{pgfplots} ...
0
votes
1answer
29 views

Natbib doesn't add a's and b's to same-author-same-year references

I am using natbib with bibtex8 in lyx to get my references sorted. It all seems to work fine except that natbib does not properly deal with "same-author-same-year" references. Rather than giving me: ...
1
vote
1answer
266 views

Lyx in Hebrew doesn't work

I will write the order of when things started occurring. When I started writing with LyX, I couldn't write in Hebrew, until someone sent me this package called culmus, which fixes the problem. The ...
1
vote
1answer
48 views

Hyperref ruins formulas in Lyx 2.1

I am writing lecture notes in LyX 2.1 on Windows and I have recently enabled hyperref in document settings and since then I get strange crossed L marks before every formula I put, e.g.: Anybody ...
0
votes
0answers
36 views

LyX 2.1.3 on Windows 8 Best Long Multi-column Table

I was wondering what the best 'LyX' way was to create a long multi-column (>5 columns) table with unigrams as in Figure 5.8 here. I have seen similar solved queries for LaTeX but I have not been able ...
0
votes
0answers
48 views

Part and Chapter in Header

Following up on this post: earlier question I have problems setting this style for my soon to submit thesis. Actually, it works for the beginning, but not for the entire project (created in Lyx, ...
1
vote
0answers
45 views

Problem with URLs in bibtex file when using new Thesis class/template [closed]

I am using a thesis template for my thesis write up using Lyx interface. For my bibliography, I use JabRef manager to produce .bib file. It works fine except for the entries which have URL values, ...
1
vote
1answer
42 views

How to put notes under table in LYX

I'd like to ask how to write notes under the table (in float) in LYX? I found the following, but it is strangely written (how can a table be at the same time out and in the float???): 'Table ...
4
votes
2answers
2k views

How to reduce Program-Listing line spacing in LyX

Using LyX 2.06. I have a standard document with 1.5 line spacing, but I want my program listings to use 1.0 line spacing. Is there a simple way to do this?
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 ...
4
votes
1answer
46 views

How to alternate row color and specify column color simultaneously in LyX

I'm trying to set column 0 of my table to gray as well alternate its row colors, for example: I've managed to get the alternative row colors working by inserting the ERT before the table: ...
0
votes
1answer
54 views

Why many BibTeX styles under LyX don't work?

I'm testing a well-formatted bib file with a single entry, @misc{various_authors_main_2015, title = {Main {Page}}, copyright = {Creative Commons Attribution-ShareAlike License}, url = ...
1
vote
1answer
41 views

Convert from LyX/Latex to wordpress post

I have some documents in LyX/Latex and I want them as a wordpress post. I have tried converting latex to HTML (with latex2html) and afterwards, pasting that code in the wordpress editor but everything ...
6
votes
1answer
6k views

Newline in table cell possible?

I am trying to add linebreaks in my table cell but found that Lyx doesnt allow me to. How can I do that?
8
votes
2answers
8k views

Centering figure captions in IEEEtran

I am working on a paper using the IEEEtran template in LyX. I have run into a problem: While the contents (in this case, a table) of the figure float are centered, the caption is aligned to the left ...
-2
votes
1answer
70 views

LyX how to reproduce a label [closed]

What can I do in LyX to to reproduce (borders included) you can find a source file (.odt) for the label at address https://mega.co.nz/#F!x1Bx1QaB!wVg-o2BV_RX97PveXMpBGA
3
votes
2answers
4k views

In LyX, how do I indent the paragraph right after an lists (itemize/enumerate) environment

See the example above, I want to indent the second paragraph. The generated .tex file is %% LyX 2.0.4 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really ...
0
votes
1answer
29 views

Lyx and Memoir class - setting stock and paper dimensions

I'm using Lyx 2.1.2 and the Memoir class. I want to define a non-standard stock and page size. Where do I add the commands \setstocksize, \settrimmedsize and \settrims?
0
votes
0answers
35 views

Labeling figures as Figure 1, 2, 3 in LyX

I am making a document in LyX but my figures are labelled here as figure 2.1, figure 3.1, figure 3.2 etc instead of figure 1, figure 2etc. How can I fix this issue?
3
votes
2answers
434 views

Using breqn in unnumbered equation in LyX

I finally found a way to use automatic line breaking in long math formulas in LyX from the last post in: http://stackoverflow.com/questions/2904807/lyx-breaking-long-formula-lines I soon realized ...
2
votes
1answer
33 views

how to make changes in table source code

I need to make changes in my table source code, source pane is not editable. Kindly anyone tell me how to make changes in table source code. Your help will be highly appreciated. See this is my ...
3
votes
2answers
55 views

How to edit LaTeX preamble in source pane under LyX?

I want to add some lines in LyX preamble but not finding how to do that. If anyone help that would be much appreciated. See this is my preamble: \documentclass[english]{article} ...
1
vote
1answer
47 views

Lyx error while importing LaTeX file

I am trying to import a LaTeX file to LyX, but I am getting this error: An error occurred while running: "/Volumes/LyX-2.1.3/LyX.app/Contents/MacOS/tex2lyx" -f "root.tex" "root.lyx" Any help would ...
2
votes
1answer
61 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 ...
3
votes
1answer
39 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
53 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 ...
1
vote
1answer
179 views

Make a 2cell diagram more beautiful (or less ugly)

I want to draw a two-cell diagram using xypic, the problem is that the bigone label is to long, how can I make the following diagram: looks like this one: using exclusively the two-cell feature ...
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 ...
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
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 ...
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 ...
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
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 ...
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
68 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
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 ...
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 ...
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
101 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
3k 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
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
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
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 ...
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 ...
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 ...
4
votes
2answers
153 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
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 ...
0
votes
0answers
114 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, ...