{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

5
votes
0answers
63 views

LyX - Does not appear to recognize all class variables

I have written my dissertation with LyX (which has been great), but now I need to submit it. This means I need to accord with my school's template. I have acquired and installed the class ...
2
votes
0answers
45 views

After updating to LyX 2.13: getting this message Sweave Noweb syntax? [closed]

After updating to LyX 2.1.3, I'm getting this message Sweave Noweb syntax?. I wonder what message mean and why I'm getting it? After clicking on ok, it works but I'm looking to not show this ...
2
votes
0answers
89 views

Make LyX Configuration Emulate to Scientific Workplace Workspace [closed]

I'm wondering if anyone is aware of a customization of LyX (or similar program) that emulates the workspace found in Scientific Workplace. So, for instance, similar colors, toolbar locations, ways of ...
1
vote
1answer
114 views

Lyx wrong numbering in figure and subfigure

the latex source is as follows: \begin{figure}[h] \begin{centering} \protect\caption{Accuracies comparision of different methods \label{fig:comparision}} \par\end{centering} ...
2
votes
0answers
95 views

LyX footnotes do not create footnotes, only text in body [closed]

Ever since I updated my MacBook Air to Yosemite (very late -- just this week), LyX has been malfunctioning in its footnote functionality. I did a fresh install of both TeX and LyX, but the issue ...
2
votes
0answers
136 views

Forward search in Lyx/SumatraPDF not working anymore

I use "Lyx" as a Latex software. I have being using the Forward/Reverse search using SumatraPDF without a problem. I used the approach described here: http://wiki.lyx.org/LyX/SyncTeX#toc1 I am using ...
1
vote
1answer
41 views

Mac shortcut in Lyx Beamer to have text associated with new frame

What is the Mac shortcut for Alt-Shift-Right in Lyx using Beamer. I have a new environment (new frame) and I am typing text underneath it that does not appear on the slide. In Windows, Alt-Shift-Right ...
1
vote
1answer
64 views

Why does this fail in LyX 2.1.3 but works in .Rnw?

This code works fine in .Rnw but does not work in LyX 2.1.3. In LyX 2.1.3 it throws the following error: Error in getModel.baseGmm(all_args, ...): could not find function "is" Any idea how to ...
2
votes
2answers
134 views

How to increase space/indentation of lists like labels and enumerations in LyX?

When I use a label, it leaves a default space between the label and the following text. I want to increase this horizontal space/indentation by a lot more in LyX, but I'm not sure how to do that. ...
2
votes
0answers
29 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} ...
2
votes
1answer
106 views

Maple 18 output in LyX

I have the following problem: I want to import the outcome of solve(b^4-(2-d)*b^2-2*d*b+d+1 > 0, [b], parametric), which is a maple code, into Lyx. Even though I managed to export the solution of ...
0
votes
0answers
59 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
75 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
220 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 ...
0
votes
0answers
56 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 ...
2
votes
0answers
92 views

Changing citation style in LyX from numeric to author-year

I'm trying to change the citation style from numeric to author-year but it somehow keeps both of them (Pyke et al. [4]). As you can see it doesn't show the year, only the ID number. I tried to change ...
4
votes
1answer
105 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
74 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: ...
0
votes
1answer
87 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
85 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 ...
-2
votes
1answer
78 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
0
votes
1answer
47 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?
1
vote
1answer
67 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?
2
votes
1answer
46 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
197 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
164 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 ...
3
votes
1answer
120 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
83 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
106 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
30 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
194 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
234 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
71 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
37 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
81 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
93 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
61 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
197 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
80 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
183 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
82 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
36 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
127 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
90 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
27 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
34 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
225 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
60 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
78 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
42 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 ...