{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
1answer
37 views

How to see preview of child document in Lyx

I have a .tex file containing a table. In my master Lyx document I went to Insert > File > Child Document and entered the file. It compiles fine, but I'd love it if I could see a preview of the table ...
2
votes
1answer
47 views

Use \multicolumn in array environment in Lyx

I want to break an equation in a longer equation array in Lyx. In pure Latex I can do something like \documentclass[a4paper,10pt]{article} \usepackage{amsmath} \begin{document} \begin{eqnarray} ...
3
votes
2answers
32 views

Enumerate a list of images [in Lyx]

Here's the problem. The list counter appears at the bottom of the image. I'm simply trying to enumerate a list of images, no text is involved in the list. How do I fix this to appear at the top-left ...
2
votes
1answer
39 views

How to number citations in the bibliography

I use lyx , elsevier class. I choose the citations to be natbib/numerical, style : plainnat. The citations in the produced pdf are not numbered. I am not sure how to number the citations. The lyx ...
2
votes
0answers
43 views

Why the table number is much smaller than the caption [duplicate]

I am using lyx. I am not sure why my tables looks like this The "Table 1" is much smaller compared to my caption and table content. I set the normal size to 10 pt in lyx, and use large in caption ...
0
votes
0answers
157 views

File 'iftex.sty' not found

I'm struggling with a problem of using Lyx with hebrew on Windows. I have the latest version (2.1.4), and I try to compile this document: \documentclass[12pt,english,hebrew]{article} ...
0
votes
0answers
12 views

Abstract in Lyx [duplicate]

I need to change the abstract's margins width in Lyx. I tried \enlargethispage{1.50in}~\[-1.1in]\leftskip -1.83in\rightskip -1.0in but it changes the size of the page and not the abstract's ...
1
vote
0answers
22 views

Trouble adding new .layout to LyX based on .cls

I'm having problem with transformation of .cls to .layout of the IACAS format. I tried using Using a new document class/template with LyX?. I wish I could ask the question there but the on-site popups ...
3
votes
1answer
56 views

How to solve encoding issues with Zotero-generated BibTeX file?

I'm using Zotero to manage and export reference lists. Sometimes text fields contain an accent, circumflex, umlaut etc. When I used such bib files in LyX (tried the plain and unsrturl styles), I get ...
1
vote
1answer
100 views

KOMAScript on Microsoft [closed]

I recently recommended lyx to a fellow writer. He downloaded it onto his MS box, but the download evidently didn't include KOMAScript. Questions: Does the CTAN KOMAScript package run on MS? If ...
3
votes
0answers
25 views

Poblems with minipages in LyX in main pdf file

I am writing my thesis in LyX. It is in the report class and have two chapters as child documents. Both chapters have objects on mini pages. Both chapters produce fine pdf independently. But in the ...
2
votes
1answer
117 views

LaTeX Error: Encoding Scheme `15' unknown

So I just finished a document I need to turn in before midnight, but I can't export to PDF for some reason. It keeps showing me this picture: My guess is that I'm missing some kind of package? The ...
3
votes
2answers
85 views

Can't make Line-less Fraction

I'm trying to make a line-less fraction to more accurately show vector coordinates. At least my teacher wants us to show them in brackets one above the other like a fraction, but without the fraction ...
1
vote
1answer
484 views

Lyx doesn't generate pdf when using hyperref

If I don't use hyperref package everything's fine, but if I use it, after a while a message appears with something like "Command dvilualatex "filename.tex" has not yet completed. Do you want to stop ...
3
votes
1answer
61 views

What typeset does LyX use, and how to convert it to AmS-LaTeX (amsart)

I have a document in LyX, and I would like to convert the typeset to AmS-LaTeX (amsart) (if it is not in that form already). What typeset does LyX naturally use? Is there a way to do this directly on ...
2
votes
0answers
122 views

Hyperref linking to wrong item in TOC(Lyx) [closed]

I added the hyperef package and a TOC to my document using Lyx's built-in options. It seemed to work almost perfect except one problem: the first item in the TOC is linked to the page of the second ...
2
votes
1answer
409 views

knitr not working on LyX after installation of Mac OS X El Capitan

I updated my Mac to OS X El Capitan and knitr doesn't work on it. Before the update everything was fine. Now LyX is saying : "The module knitr requires a package that is not available in your LaTex ...
1
vote
0answers
106 views

Sections in appendices are moved to table of contents under references instead of loa [closed]

I am very new to LaTex. I started by using a template in Lyx. In this template, chapters,sections etc are written in table of contents and only chapter names for the appendices are written to list of ...
0
votes
0answers
50 views

“Missing $ inserted” error; when results='asis'

I have a problem in LyX when I want to export a PDF file using knitr. My chunk is as follows: <<echo=FALSE>>= read_chunk('resumen_3.R') @ <<3_0,echo=FALSE,results='asis'>>= ...
1
vote
0answers
53 views

EINVAL Error in Lyx

When I am typing text in the Lyx main editor window the following message keeps appearing in the Progress/Debug Message pane: Error returned from iconv_open EINVAL The conversion from UCS-4LE to UTF8 ...
0
votes
0answers
79 views

Install packages in Lyx for Mac

I am using Lyx 2.1.2.2 in Mac and I am trying to install/use the sgame.sty and egameps.sty in my document. Can anyone give me instructions on how to install these packages? Thank you.
5
votes
1answer
343 views

LyX enlarging inserted images

I have a problem with inserting images in my thesis that I write with LyX. Images in exported pdf are always larger than they actually are. Here is what it looks like in the editor, that's the real ...
10
votes
2answers
1k views

Pythontex workflow with LyX

I've recently learned about PythonTeX (Conference presentation). It's a tool that lets you execute python code in your LaTeX documents. This is useful for, e.g., creating matplotlib figures inside ...
4
votes
2answers
847 views

LyX Install Not Recognizing Installed Spellcheck Dictionaries

I just installed LyX on my Windows 10 machine. I have Language Settings > Language > User Interface package set to "Default" (I have also tried English (UK)), package set to "Automatic" and there is ...
0
votes
0answers
70 views

Error when importing gnuplot in Latex(Lyx)

I was trying to import a Gnuplot graphic in Lyx (I'm using Window 8). First of all I generate a .tex file with Gnuplot. The code is: set terminal tikz set output "sin.tex" plot sin(x) Now I open ...
3
votes
0answers
127 views

LyX claims it's exporting a PDF, but it isn't

I recently reinstalled both LyX and MiKTeX (on Win10, if it matters), hoping to fix a longstanding error where I couldn't export to pdf via pdflatex. Now, instead, no pdf exports work. It reports that ...
3
votes
0answers
91 views

can't compile simple plain text in Lyx (lyx_tmpbuf2)

I have recently installed a portable Lyx 2.0.8 in Win7. I already run Miktex update and reconfigure Lyx. However, I just write a few lines on Lyx (plain text, no more) and cannot compile it on pdf. ...
1
vote
1answer
59 views

\cdot screen representation in LyX

I just had my first experience with LyX 2.1.3. To my (unpleasant) surprise, a \cdot command is rendered indistinguishable from a \times command in the on-screen preview (as a cross, that is). Up until ...
1
vote
1answer
111 views

Yosemite, Lyx and Preview : it jumps to the first page

I just installed Yosemite 10.10.5 on my imac27 and I ran LYX. I can view the compiled pdf file using cmd+T as usual. Problem is: each time I modify the file and want to see the result on the pdf, the ...
1
vote
0answers
81 views

LyX Spellchecker not working Windows

I'm running Windows 8.1 and have tried almost everything to get the LyX spellchecker working. I know that there have been questions asked before on this site here and here. I've tried almost ...
1
vote
2answers
90 views

Squiggly arrow in xypic giving error in LyX

I am trying to compile \xymatrix{A\ar@{\sim>}[r] & B} in LyX and I get the following error message: How can I fix this? The code compiles in ERT, just not in the native xypic mathmode. Here ...
1
vote
1answer
30 views

LyX Beamer [t] on plaint itle frame

Here, I read how to set [t] globally for a beamer template in LyX. However, is it also possible to just set the [t] option for the PLAIN TITLE frame and leave centering for all other? Best, Fabian
1
vote
1answer
64 views

LyX-LaTeX argument error \@firstoftwo

I'm editing my CV with LyX 2.1.3 in Ubuntu 15.04. The following code produces an error ! Argument of \@firstoftwo has an extra }. The error appears in LyX and also when exporting to LaTeX and running ...
3
votes
1answer
33 views

Is it possible to define snippets in LyX?

While using LyX, I usually have to define some new theorem environments. For example, I define a new environment rst to state "Restriction". \newtheorem{rst}{Restriction} In LyX, I need to type ...
1
vote
1answer
41 views

Displaying pilcrow signs at end of lines in LyX

I am a total noob in LyX and my friend using it is probably not much better, so we often have problems in that lines are broken where they shouldn't. The problem is usually caused by an end of line ...
3
votes
1answer
98 views

Running pythonTeX with Lyx under Windows

I am trying to get pythonTeX running with Lyx 2.4.1 in Windows 10 by following this post. I have installed pythonTeX and verified it is working when running a test file with the commands: pdflatex ...
0
votes
2answers
42 views

Normal italics in LyX

My friend is using LyX for a course's assignment, and neither she nor I know how to get normal \itshape italics in LyX: all we know is how to get \mathit. So how do you get \itshape (besides using TeX ...
1
vote
1answer
216 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 ...
1
vote
1answer
106 views

BibLatex keep producing errors in Lyx 2.1.4 with MikTex

As many people suggest to use BibLatex instead of BibTex, but I cannot get it working in Lyx 2.1.4 with MikTex. I have seen many webpages, but still confused. I followed the instruction in lyx wiki ...
5
votes
2answers
61 views

Missing equation number using \omit

In this answer I found a very useful approach to easily center certain elements in a alignat environment using a new command: \newcommand{\ccol}[1]{\omit\hfill $#1$\hfill} I inserted the $’s ...
3
votes
2answers
360 views

LyX style for command with multiple arguments

I would like to create a style for a command that takes multiple arguments: \classify{A}{B}{C} I started creating a style Style Classify Category FrontMatter LatexType Command ...
1
vote
0answers
33 views

Mini Pages to child tex document

I am trying to make minipages work in lyx. I have a tex(1.tex) file, which contains the body of the minipages with the float figures I have, which goes like this \begin{figure} ...
2
votes
1answer
42 views

ERT code not working in a particular document

I wanted to use biber as a bibliography processor in Lyx and that involves some manual settings as explained here . The last bit invloves inserting a LaTeX command \printbibliography in ERT (TeX ...
4
votes
1answer
159 views

Using custom-aligned subarray in LyX [closed]

I need to write a vertically stacked subscript in a notation meant to say "evaluate expression at k=..., and k'=...". In the end it should look like / SOME \ | BIG | \ ...
2
votes
1answer
59 views

Lyx / Knitr - R Code in chunck goes beyond set width

I use Lyx (2.1.4) with knitr (1.10.5). I have a lot of trouble having the code chunks respect the width that I tried setting through various ways: In the chunk options (width=50); ...
1
vote
2answers
60 views

Lyx only properly works as root in ubuntu

I recently updated my ubuntu to 15.04, since then if i open lyx not as root i cannot save files or change documents settings. Only when i run it with root privileges i can change documents settings ...
2
votes
1answer
441 views

Stata tables to Latex

I have been using outreg2 to get tables in tex format, in Stata; and then to Lyx. However, you always have to make changes to the code: add lines, arrange the notes to the table, change caption of ...
2
votes
3answers
60 views

Embed Latex equation in LyX

I would like to transfer the LaTeX: \begin{equation} W(\mathbf{F},\lambda_{\chi})=\min_{\textbf{R}\epsilon S^{2}} \end{equation} which gives the subscript {\textbf{R}\epsilon S^{2}} right under ...
2
votes
1answer
218 views

Lyx - side-by-side figure inside two-column layoutt

I have created side-by-side images in Lyx using this link It works just fine in 1-column article. But If I switch to two columns, images started to overflow page. I have set image scale for each of ...
4
votes
1answer
61 views

Insert an external PDF file in LyX file

I am trying to add my 10 pages external PDF file in between the LyX document. But when I convert my whole file in PDF version the external file only shows its first page. What should I do now?