{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

8
votes
3answers
7k views

Adjusting space between array rows and columns

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \begin{document} % ... \[ \begin{array}{ccccc} x(1) & = & \frac{x(0)}{1} & = ...
3
votes
1answer
60 views

grayed box for enumerate

I am using a lyx article template . I want to put my all enumerate items in grayed box . How can I define the enumerate environment in preamble so that all my enumerated lists appear in a grey boxes. ...
2
votes
1answer
88 views

2 column: how to squeeze line numbering closer, shift code over in Lyx

I'm using 2-column in otherwise-default Lyx, with several program listings. Some of them have line numbers. Due to the 2-column layout, the line numbers take a good chunk of the gutter between ...
1
vote
0answers
19 views

(Lyx) How to add a graphic to titlepage [duplicate]

I'm using mostly standard setting, artlcle class, custom=titlepage. I generate a separate titlepage, and separate abstract page. I would like to add a graphic to the titlepage, either between title ...
4
votes
1answer
97 views

Lyx: Works Cited + (separate) Annotated Bibliography

I'm using mostly default settings in Lyx. How can I create two distinctly titled sections at the end, one for "Works Cited" and the next for "Annotated Bibliography"? Also, if I have normal ...
6
votes
1answer
52 views

Automatic width setting in LyX

Is there any preference setting so that LyX automatically adjusts images width to \linewidth when they are added, instead of doing so by hand whenever a new image is inserted?
3
votes
1answer
144 views

Latex fonts causing “Undefined control sequence” error in pgfplot

I am trying to modify the font size of some text labels in a pgfplot graph I'm playing around with, but it seems pgfplot doesn't understand certain font sizes such as \normal etc. Yet the pgfplot ...
3
votes
0answers
57 views

Citations when importing a .tex file into Lyx

I relatively new to LaTeX and Lyx. I am using the Scrivener -> MMD -> LaTeX workflow. For citations, I used Papers2, as it allows me to insert MMD-style citations into Scrivener. When compiling, the ...
5
votes
1answer
95 views

Vertical spacing in multi-line title

Using LyX I have set the document to 1.5 spacing and it is applying to my title causing a weird space since my title goes into a second line. Other places in the document changing the paragraph ...
2
votes
2answers
152 views

Automated copy and paste?

I have found a program that can convert PDF to LaTeX, and so I have .tex files of various math textbooks. I want to make a list of theorems from the book, and so I have been manually copying and ...
4
votes
7answers
6k views

Adding empty lines for readability

I'm a new user of LyX, and reading the tutorial I found that I can't add freely spaces and empty lines to the LaTeX code, since it's about formatting the text, and it's done by the compiler. I can ...
1
vote
1answer
63 views

comma separated Lyx Ieeetran bibliography citations

How do you setup Lyx with the ieeetran template to produce citations that are comma separated? for instance: "foo is reported to be bar percent in [1,2,3]". or equivalently: "foo is reported to be ...
1
vote
0answers
30 views

How to scale or resize a long equation in LYX without using Latex Code? [duplicate]

I am completely new to Latex and I am using LYX editor. I am looking for a way to scale a long equation in LYX without using Latex code?? I have found similar questions but all the answers were given ...
2
votes
1answer
49 views

Unitled section in Lyx

I am writing a Lyx document with untitled sections. As Lyx does not permit to create untitled sections, I use to insert the latex code \section, but it would be very much convenient to have "Lyx ...
1
vote
0answers
23 views

How to improve appearance of hindi deonagari font on lyx [closed]

If you use deonagari font on lyx, it does not appear properly on lyx user interface though the pdf generated is okay. What can I do it to improve it?
1
vote
1answer
40 views

Short cut for exporting pdf on lyx

What is the keyboard short cut for exporting pdf (xetex) on lyx? If there is no existing short cut, how can I create the one ?
3
votes
1answer
76 views

Wrap figure floats and Hebrew

I'm trying to create a wrap-float but even if there's nothing in the text it won't work. I'm using LyX 2.0.5.1. This is my MWE: % Preview source code %% LyX 2.0.5.1 created this file. For more ...
4
votes
1answer
127 views

Complex nomenclature entries in LyX

When I try to make a particularly complex nomenclature entry - in particular, inserting curly braces, and in specific, $E_{\left(A_i|B_I\right)}$ - the result simply doesn't appear in when the ...
1
vote
1answer
121 views

Want to eliminate the automatic time stamp of pdflatex (or lyx?)

Whenever I create a document with lyx, and if there is title and author in the document, today's time is automatically put in the document. For example, if I pdf-fy the following code by WinEdt, or ...
6
votes
1answer
62 views

How to prevent distributing vertically over whole page in Lyx?

I work with the documentclass book (koma-script) in Lyx. In the final pdf, all text, pictures, etc., are distributed vertically over the whole page. I prefer to put them on the page from the top with ...
1
vote
0answers
29 views

Run LaTeX with the equivalent of pdflatex -shell-escape [duplicate]

I edited a document with LyX and clicked Ctrl+R in order to convert it to PDF. I got the following error message: "You need to run LaTeX with the equivalent of "pdflatex -shell-escape" Or turn off ...
4
votes
1answer
50 views

Save from LyX to PNG

I have a LyX file with a PSTricks picture. Currently, when I want to convert it to a PNG image, I save the file as PS, then open the PS in gimp, then save it as PNG. Is there a way to save to PNG ...
6
votes
1answer
132 views

How to make unavailable document classes available for LyX on Macbook?

I have a problem with making unavailable document classes available for LyX on Mac OS X. I have installed LyX and MacTeX (latest versions). I can see the nature class in TeX information of LyX, but ...
6
votes
1answer
3k views

How to install an unavailable document class for LyX on Mac

I am new to LyX so I'm sorry if this question is really naive. I'm using LyX on a MacBook and I'm hoping to use the AEA document class on it. Since it is not available automatically, seems that I ...
2
votes
2answers
447 views

Lyx bibliography displaying section number

I am using LyX to write my thesis. I am using a BibTeX Generated Bibliography (generated in Jabref) which works fine. I just have one problem, in the actual PDF, the Bibliography section after each ...
5
votes
1answer
370 views

Using a new document class/template with LyX?

I tried googling this elsewhere but I'm new to LaTeX and extremely confused about certain things. Basically I downloaded MikteX and I'm using the latest version of Lyx with it. Now all I basically ...
3
votes
2answers
167 views

LyX, How to use more than the thirteen Roman fonts listed under Document Settings Fonts?

I noticed that LyX 2.0.6 has a very limited selection of Roman (Serif) fonts listed under the Document Settings Fonts dropdown menu. I'd like to be able to use any of the LaTeX fonts that come with my ...
5
votes
3answers
174 views

Simplify itemize commands typesetting

If your document use itemize a lot of time, you are likely to get fed up putting \begin{}...\end{}. Is there any better way to do this? Something like a org mode of emacs use or lyx use?
3
votes
1answer
140 views

How to make the equations at the center

(I'm using LyX). When I'm writing multiline equations, with \aligned the align of the equations is right, how can I make it to be center? For example: Here how it looks when I writing at math ...
3
votes
1answer
45 views

Bold claim environment through local layout in LyX

I would like to create a new bold "Afirmação" ("Claim" in portuguese) environment through "Local Layout" in LyX (I don't want to create a new layout file). So I went to Document -> Settings -> Local ...
6
votes
2answers
2k views

Is it possible to type LaTeX code and see its real time preview in LyX?

I'm new to LyX. I have just given it a try and written my first article. I discovered a panel from Menu > View > View Source. It shows the source code of my article. But as far as I see, I am ...
5
votes
1answer
769 views

How to insert LaTeX formulas in LibreOffice?

I am using Libreoffice normally, but I need have Gauss Matrix (http://en.wikipedia.org/wiki/Gaussian_elimination) in Libreoffice . I found that Latex can do that. I installed Lyx on Ubuntu. How can I ...
3
votes
2answers
96 views

batch conversion of lyx to pdf

Is it possible to "batch" covert lyx documents to pdf? I have more than 250 lyx docs in a folder. I want them in a pdf format. I can do it manually one by one. But there has to be a better way. Hope ...
4
votes
1answer
3k 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 ...
3
votes
1answer
39 views

insert author name in table of content

I am using latex editor LyX. I write a book with many authors. I want to list each author name in each chapter in table of content. How can I list author name in table of content?
1
vote
1answer
33 views

How is it possible that references are not in the correct order if I put them in a figure caption in LyX?

I'm using LyX and I added a reference to a figure caption. Now this reference is the number [1] in the reference list even if it appears later than many others. It looks like the float captions have a ...
4
votes
1answer
53 views

How to make LyX process TeX code without converting it into .lyx format?

When I do \input{file} in a .tex document I later import in LyX, LyX converts file.tex into file.lyx and changes \input{file} to \input{file.lyx}. But LyX doesn't do well with the TeX code it does not ...
2
votes
2answers
104 views

Double header in longtable

I'm trying to make a longtable and use some R tools for generating them. The problem is that when a long table has more than one columns, it creates double headers, as shown here: ...
17
votes
5answers
2k views

How to embed screenshots properly?

I have a .png screenshot and I want to insert it in a LyX document. However, the screenshot needs scaling to fit in my column width. Downscaling (or upscaling) the image, if done wrong, gives all ...
2
votes
1answer
84 views

LyX table too wide

I am a newbie with LyX, and with LaTeX in general. I have a quite big table (11 columns), that it is too wide to fit in a page. I've then tried to rotate it of 90 degrees, but it is still too wide. ...
1
vote
0answers
71 views

LyX headers and footers don't span page [closed]

I'm creating a document using LyX with various packages in the preamble. I'm setting different fonts, setting colours and I have multicols working. The problem is that for some reason, the headers and ...
3
votes
1answer
137 views

How to create A/B with LaTeX/LyX?

I want to create frac with this style: Is this possible? I try to find another way, alternative to xfrac.
3
votes
1answer
81 views

LyX texcount custom converter

Is it possible to define a new Converter in LyX so I can use texcount -sub and produce a .txt file with the statistics of the file? I was thinking in going to Tools -> Preferences -> Converters ...
3
votes
0answers
48 views

How to convert a TeX file with custom commands into LyX? [closed]

LyX doesn't understand certain pieces of a .tex file when it converts it into .lyx via tex2lyx program. For instance: \rowcolors{1}{gray!15}{white} If this line is present in the .tex file, LyX ...
3
votes
1answer
264 views

Xetex Hebrew PDF output problem in Lyx

I am trying to compile a document that contains both English and Hebrew. The problem is, that although I have selected Documents | Settings | Use non-tex fonts via XeTeX |LuaTeX, there is no option to ...
4
votes
3answers
555 views

Two math sections of the same type in a row?

Whenever I try to create two sections of the same type in a row LyX unites them as if they were one. I write a definition, press ENTER for a new line, and then want to write another definition on that ...
3
votes
2answers
60 views

XeTeX problem compiling when I have a table

I'm trying to compile using XeTeX and I get this error ...ab:Quizzes-open-times}Quizzes open times} Your command was ignored. Type I <command> <return> to replace it with another ...
1
vote
1answer
382 views

Linking files into TeXnicCenter: main file, .eps figures, and a .bib file

I am trialling TeXnicCenter 2 on files used by LyX 2, with the latter linking all files and producing correct PDF output. My files are an article class file, a number of .eps figures, and a .bib file ...
1
vote
1answer
137 views

How to make a shortcut for \mathbb font in LyX?

I want to make a shortcut for the \mathbb font (or other fonts) in LyX. How can I do it?
1
vote
0answers
41 views

Address book similar to BibTeX to be used on LyX

I have a list of addresses. While writing the report (not in letter), I need to add address repeatedly. Is their something similar to BibTeX, which I can use with LyX for automating inclusion of ...