{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

4
votes
1answer
236 views

Transferring Lyx Keyboard Shortcuts

I recently updated my version of Lyx from 1.6.7 to 2.0.6. I would like to transfer my old keyboard shortcuts to this new version, but I am having difficulty because I was inconsistent with the way ...
5
votes
2answers
203 views

How to line-number 1,5,10,15,20,25… in Program Listing in Lyx

I basically want every 5th line numbered, but would like to keep to 5,10,15,20,... as that seems intuitive to readers. So that means 1,5,10,15,... The first gap is 4, all subsequent ones are 5. Is ...
2
votes
1answer
474 views

What is the '}{' character that appears in LyX modern CV example and how to re-produce it?

I'm using LyX 2.0.6 with MikTex 2.9 I came across these }{ characters while trying to use the Modern CV example to create a CV. My question is: What are these and how can I insert one. I've noticed ...
2
votes
1answer
186 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 ...
3
votes
1answer
106 views

How to decrease space above shaded parbox in Lyx?

I'm using default settings in Lyx for document class etc., and use several small shaded boxes (via Insert -> Box -> Shaded Background). How do I decrease the amount of vertical space above and below ...
3
votes
1answer
273 views

How to output Bibliography on separate page in 2-column layout (LyX)

I'm using LyX with the default document class & settings, except with 2-column layout. How do I get the Bibliography to output on a separate page? I tried inserting a New Page, but that just bumps ...
4
votes
1answer
280 views

Resize figures that are too high or too wide in LyX?

I would like to know how to define a preamble in Lyx to resize the width and the height if the figure is too wide or high. I've already tried this: \usepackage{graphicx} % Determine if the image is ...
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?
3
votes
2answers
245 views

Q: How to globally add space before subsubsection* headings in Lyx?

How do I set the document to add extra space above each subsubsection*? Does one redefine the subsection command in the preamble, like the following? Formatting section titles I am using KOMA ...
2
votes
0answers
94 views

Change spacing for lists in LyX through template

I want to change the vertical spacing of a list in my resume. I am using the moderncv style file through LyX in Ubuntu 12.04. One of the list environments defined in the moderncv is Computer ...
1
vote
0answers
139 views

Configure CV in LyX [closed]

I would like to ask help in configuring my CV in LyX. I am using moderncv style with LyX in Ubuntu 12.04. I shall say that I have found a close solution to my problem in this post on blank spaces, ...
3
votes
0answers
158 views

I had an install error and all of the default layout/class files are missing. How do I fix this?

During the installation process there was an error and it seems that none of the default class layouts are available. I have tried looking at the LyX wiki but it seems that only user made layouts are ...
2
votes
1answer
107 views

LyX / LaTeX Numeric Referencing question

I am writing a paper using numeric referencing. Say I have a list of references like so: ... as presented in [3], [4], [5] How do I instruct LyX or LaTeX to typeset it as: ... as presented in [3] ...
2
votes
0answers
150 views

Integral operator does not compile [closed]

When I put \int on LyX it doesn't compile. I had tried to refresh and update and nothing works. It throws me this error: Font\U/esint/m/n/12=esint10 at 12pt not loadable: metric data not found or ...
2
votes
1answer
204 views

beamer presentation with enumerated list problem

I have a beamer presentation. In the presentation I have a numbered list... within each number I have a sub-numbered list which I would like to be like the following. How do I fix this problem? 1. ...
4
votes
1answer
411 views

relative paths for bibtex in lyx

I insert a bibliography into my LyX document through insert > list/TOC > bibtex bibliography. I find my file and everything works out. However, the path it uses is absolute as opposed to ...
4
votes
1answer
922 views

Lyx: How to add option to package automatically load

I got the problem, that links in \url only break in LyX when there is a \ character in it. I found the solution to add \usepackage[hyphens]{url} to my preamble. But the problem is, LyX loads the ...
1
vote
0answers
79 views

Lyx Graphics context menu “Edit Externally” is not working (Windows 7) [closed]

Insert an image using the Lyx menu Insert->Graphics. Right click on the image preview and click Edit externally Current Behavior: The viewer is launched but the file is not opened. Expected ...
1
vote
1answer
471 views

How to output Title & Abstract each on a separate page?

I am using default settings with Lyx 2.0.6 and need to generate PDF with a title page, an abstract page, and then the rest of the report. I tried the newpage-insert command and it caused latex errors. ...
2
votes
1answer
142 views

Multipage pdf not displaying correctly in Lyx

I have a pdf file with multiple images that I want to insert into my Lyx document as individual images. I've managed to successfully do it as described here using the \includegraphics method. ...
0
votes
1answer
150 views

Lyx - Bibliography order [duplicate]

I'm using a Lyx 2.0 for my thesis and I have a problem. The bibliography order is the bibliography order of figures index, and not the order of citations in text. Can I solve this? I use an external ...
3
votes
0answers
158 views

LyX: crossreference keeps popping up in ToC [closed]

I have a slight problem with LyX in my latest document. I do have a rather large appendix and have inserted titles to structure it a bit. Since my appendix has to be unnumbered I used \subsubsection* ...
4
votes
1answer
181 views

includeonlyframes not working in lyx beamer

I am trying to use the \includeonlyframes option in a Lyx file created using the beamer template. but it is not working. ( I am trying this solution. http://tex.stackexchange.com/a/27354/38845 ) Here ...
2
votes
1answer
2k views

How to cross-reference labels in the text using LyX?

I'm having trouble using labels and cross-referencing in Lyx. I put a label into the document where I want it. It is not embedded in anything, it's just in the text. Then I put a cross-reference to ...
4
votes
1answer
2k views

How can I make the LyX - Table of contents (TOC) page be empty after the end of the TOC and not continue with the other pages?

I have created a TOC in my LyX by simply using the TOC from the Insert menu. I have found that after the TOC ends the rest of the page is not blank as expected, but rather what I wrote comes directly ...
3
votes
1answer
79 views

\newcommand for a specific chapter

I write a document with LyX, to which I add PSTricks pictures in ERT sections. I defined a \newcommand in a certain ERT section, and it was available during this ERT section, but not available in the ...
5
votes
1answer
1k views

Cannot insert TiKZ LaTeX code in LyX [closed]

I'm trying to embed TiKZ code in my LyX document. When exporting the document to pdf (pdflatex) I get a blank area instead of the TiKZ output. Here's what I've done: I've added the following two ...
2
votes
1answer
115 views

How to generate a database or reference in bibliography?

I am new to LyX. I want to add bibliography but I don't have any database to insert. So how can I type the references directly in LyX or how to create a database and then insert it? Also is there any ...
1
vote
0answers
185 views

Problem Inserting PDF into LyX Document [closed]

I really hope someone can help me with this as it is driving me mad. I have tried to insert a PDF document into my thesis but when I try to create the PDF, I get the following error: \usepackage ...
2
votes
1answer
110 views

Can I make lyx produce double dollar signs instead of \[ and \] it currently produces for inline math?

I am using LyX to type answers and questions for Math.SE and many times I need to use use inline math (by writing two dollars signs instead of just the one, i.e $$). After finishing typing I copy the ...
1
vote
1answer
371 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 ...
2
votes
1answer
273 views

Lyx minted environment layout

Before I resolved a problem to set up a minted environment in LaTeX. Now, I would like to add this environment as a LyX layout. I have tried with Style MatlabCode Category MainText ...
4
votes
0answers
98 views

hyperref link to file at position

I'm a newbie. I've figured out how to set up a hyperlink link to a file (in my case, a PDF) on the hard drive. But I would also like to change the starting position when this PDF opens up. This PDF ...
2
votes
0answers
58 views

bibliography author-year style, without hyperlinks [duplicate]

I an confused by the vast BibTeX bibliography styles available in LyX. I can't find the style that fits the requirements of my university. I currently use the "natbib" citation style, and the ...
3
votes
1answer
1k views

hyperlink with beamer using lyx

I am using LyX to build a beamer presentation that has hyperlinks. I create the hyperlink in the following manner: \hyperlink{test}{\beamerbutton{mybutton}} Then, there is a frame after the ...
3
votes
2answers
513 views

Downloading LyX 2.1 Beta1, for Windows

I am considering downloading Beta Version 2.1 of LyX, I am currently using version 2.0.6 I have Three questions. The first is, how reliable is this beta version? Second, which files should I download ...
1
vote
1answer
597 views

Change text color of ToC entries in LyX

I've inserted a table of contents with LyX using Insert->List/TOC->Table of Contents and it is good, but the text color text is red and I want it black. I'm using book(KOMA-script) as document class. ...
4
votes
0answers
45 views

An external file with macros [duplicate]

I have many common macros in all my documents. how can I move them all to external file, and include it in each document?
2
votes
1answer
86 views

Sharing an “Unavailable” layout

I am writing a document, on which I work on several computers, and also with a colleague. The document uses a certain article layout that by default is unavailable on LyX. The LyX wiki page says ...
2
votes
1answer
589 views

Error of pdflatex in LyX

I prepared a document, which was entirely okay, until some changes have been introduced (perhaps associated with the use of bibliography, or breqn/mh package, or split environment). They lead to the ...
7
votes
2answers
202 views

Putting labels inside section headings

I usually work with LyX, and when I want to label a section (in order to reference it later), I put the label inside the section heading. This usually works, but recently I tried to create an article ...
1
vote
0answers
147 views

How to remove the page number for the title in classicthesis? [closed]

I'm trying to remove the page number which appears in the title page of my classicthesis document. Unfortunately, I can't make it work by using \thispagestyle{empty} probably because classicthesis ...
4
votes
2answers
514 views

Problem installing culmus-latex on ubuntu 12.04

I'm trying to get Hebrew to work for my LaTeX/LyX on Ubuntu 12.04. I have TeX Live 2012 installed and the Hebrew works for that. Then I followed the instructions for installing LyX + Hebrew support, ...
2
votes
1answer
2k views

How to change subcaption font size in Lyx?

I want to set the font for captions and sub-captions in my Lyx document to 'large'. There is no issues with changing size of captions, but I can't change sub-captions. Here are the preambles I try to ...
4
votes
2answers
302 views

Lines overrun margins

I use custom 1 inch margins for most of my homework but for some reason LyX likes to ignore the margins sometimes, for example: I don't know why it keeps doing this it happens in a lot of my ...
2
votes
1answer
403 views

Cross reference line number within program listing in lyx

I'm trying to cross reference program code line numbers within a program listing using lyx. From what I can tell, both labels and ERT are disabled within the program listing, but I'm not sure why. I ...
4
votes
1answer
1k views

LyX - undefined control sequence but package seems to be added

I am using LyX with MikTeX and I am trying to use the following command \oiiint but I am getting the following error: \oiiint The control sequence at the end of the top line of your error message ...
4
votes
1answer
912 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 ...
5
votes
1answer
263 views

insert -> Senseless!

Working with LyX, I opened the Insert menu in order to insert a label. Accidentally, my mouse selected something else, I don't know what, and before I knew it, I saw the phrase "Senseless!!!" in the ...
12
votes
3answers
2k views

Extracting only the BibTex records relevant to the paper [duplicate]

My colleague asked me to write a page for a paper he writes. I wrote the page in LyX, compiled it to LaTeX, and sent him the TeX files. Then he reminded me that I forgot to send the .bib file with all ...