Questions tagged [lyx]

Lyx is a multi-platform document processor that serves as a frontend to the LaTeX typesetting environment.

LyX is a document processor that encourages an approach to writing based on the structure of your documents (What You See Is What You Mean) and not simply their appearance (What You See Is What You Get).

LyX combines the power and flexibility of TeX/LaTeX with the ease of use of a graphical interface. This results in world-class support for creation of mathematical content (via a fully integrated equation editor) and structured documents like academic articles, theses, and books. In addition, staples of scientific authoring such as reference list and index creation come standard. But you can also use LyX to create a letter or a novel or a theatre play or film script. A broad array of ready, well-designed document layouts are built in.

LyX is for people who want their writing to look great, right out of the box. No more endless tinkering with formatting details, “finger painting” font attributes or futzing around with page boundaries. You just write. On screen, LyX looks like any word processor; its printed output — or richly cross-referenced PDF, just as readily produced — looks like nothing else.

LyX is released under a Free Software/Open Source license, runs on Linux/Unix, Windows, and Mac OS X, and is available in several languages.

201 questions
3
votes
1 answer

Automatically define macros in LyX documents

I'm using LyX all the time and over the last 2 years I've accumulated some very handy macros for my lecture notes. As it is today, every time I start a new document, I copy and paste the macros from one of my other documents. Is it possible,…
Amir Rachum
  • 76,817
  • 74
  • 166
  • 248
3
votes
1 answer

How to install the IOP (Institute of Physics) Latex document class for Texlive and the Lyx Document Processor (Answer Provided)

Background I originally asked a question on Stackoverflow, asking how I add the IOP document class to the list of available document classes in Lyx. (I will try to remove or merge that out dated quesiton.) I now understand that this is a 2-stage…
FreelanceConsultant
  • 13,167
  • 27
  • 115
  • 225
3
votes
2 answers

How do I merge cells of the same column in LyX?

I have 3 subfigures I want to arrange so that 1 will be in the left and 2 will be in the right (one above the other): Figure 1 | Figure 2 Figure 1 | Figure 3 Figure 1 should appear only once of course - across the entire column. I thought I…
brickner
  • 6,595
  • 3
  • 41
  • 54
3
votes
2 answers

LyX system reconfiguration failure

I've recently been encountering a LyX error in a Windows installation that worked previously without a hitch. I've tried reinstalling LyX and MiKTeX, to no avail. When I open LyX, no document classes are available. When I attempt to reconfigure LyX,…
Alex Ames
  • 107
  • 1
  • 5
3
votes
1 answer

Setting up a shortcut for knitr chunk in Lyx

I'm new to Lyx and would very much like to set up a new shortcut for inserting a new Chunk (Insert > Custom Insets > Chunk) I saw here how to set one up, but this is not the same; the Chunk menu item from the Custom Insets doesn't require the <<>>=…
Dominic Comtois
  • 10,230
  • 1
  • 39
  • 61
3
votes
3 answers

Insert algorithm in Lyx 2.1.1 with line numbers

I am able to insert algorithms directly with Lyx 2.1.1 using insert->float->algorithm , however the algorithm lines are not numbered in the generated pdf. Is there any option that can number the algorithm lines or any work around to include…
Shan
  • 5,054
  • 12
  • 44
  • 58
3
votes
1 answer

Difference between ERT and LyX' custom knitr insets

What's the difference, if any, in terms of control, between using ERTs, as in the minimal example, and using, instead, LyX' own Custom Insets (Chunk, S/R expression, Sweave options) for knitr? I've replicated the "minimal" examples, using also the…
Nikos Alexandris
  • 708
  • 2
  • 22
  • 36
3
votes
1 answer

Showing labels in BibTex [LaTeX]

I'm currently using the apalike style for my bibliography, using natbib for author-year, however when I generate the bibliography I lose the labels that normally precede the reference, i.e. [S. Rostami, 2010] Shahin Rostami (2010)…
asleep
  • 4,054
  • 10
  • 34
  • 51
3
votes
3 answers

Lyx 2.1 RC1, warning message "the selected document class Article" requires external files

I just installed 2.1 RC1 bundle on windows 7 Each time I try to save a document (also when I first open Lyx), I get this message LyX-210RC1-Bundle-1.exe why this happens? Do I need to configure something else? I had Lyx 2.0 before, but I…
Nasser
  • 12,849
  • 6
  • 52
  • 104
3
votes
1 answer

Newbie to LyX having issues with tex2lyx -f

I am working on an article with LyX, using the springer open template: http://www.springeropen.com/authors/tex Anytime I try to import I get the error: An error occurred while running: tex2lyx -f"bmc_article.tex""bmc_article.lyx" Any help? Raheem
3
votes
2 answers

Possible to have the 'Part' section to always start on odd page number?

Is it possible to always have the 'Part' section to start at an odd page number? So that if the part one section extends to page two, then part two automatically moves to page three. I'm using Lyx to create the Latex file. EDIT: Just discovered that…
Orjanp
  • 10,641
  • 12
  • 36
  • 39
3
votes
1 answer

Cannot get LyX to produce two plots are not on same line when using knitr

Knitr newbie here. Love the package, and everything is going well except that two plots don't appear side-by-side once compiled in LyX. Not sure what is going on, as I'm copying the example from the knitr graphics manual (knitr-graphics.lyx)…
Adrian
  • 684
  • 3
  • 20
3
votes
2 answers

Error in eval(expr, envir, enclos) when sourcing files inside the R file

I have a problem of environment when I try to "knit HTML" or generate a pdf with LyX. When I run directly the R code (or compile an HTML notebook with Rstudio), it's ok. I have done the test with knitr@1.3.7 (dev version). I had not the problem with…
abret
  • 127
  • 1
  • 10
3
votes
1 answer

LyX child document that contains a knitr Sexpr{} cannot find cached value

Lyx file F knitr chunk caches a value for x then text A contains several Sexpr{} calls, including Sexpr{x} Compiling F to pdf works fine Now I move text A into a separate LyX file C, make C a child file with F the master file Rewrite F -- should…
2
votes
2 answers

LyXliteral programming

I keep writing codes in gedit but at the end of the week we need to submit a lyx literal programming file. Copying and pasting or importing is painful, since , we need to keep pressing tabs or enters. Can anyone suggest a simple alternative to this?…
Vishwanath
  • 835
  • 1
  • 7
  • 19