{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

0
votes
0answers
30 views

Manually change citation style in Lyx\Tex

I'v been cracking my head over this for a few days now. I'm using Lyx and would like to manually change the way my citations look inside the text (what's inside the brackets). So, for example, what ...
2
votes
1answer
46 views

Lyx, harvard style reference help

i need to produce the following reference style in Lyx -> (AKAMAI, 2013). i'm Having lots of problems in finding a way to produce the above mentioned reference style. Any help how to achieve this ? ...
3
votes
1answer
40 views

How to perform keyboard shortcuts like Ctrl+I for italics or Ctrl+U for underlining in LyX?

Every time I try to use the aforementioned keyboard shortcuts, LyX says "Command Disabled". How do I activate these shortcuts?
3
votes
1answer
698 views

How to define default 'program listing' title and parameters in Lyx

I'm using LyX software and need to embed python code snippets and the option I found is to put snippet in a file and then use: insert> file> Child Document ----> choose the snippet file ----> set ...
4
votes
1answer
70 views

Make Notes from Lyx into Annotations on the PDF

Lyx Supports Notes. It would be great to have any notes in lyx show up as Annotations in a draft produced PDF. For example: LyX: PDF: The use case I have in mind is when showing this draft ...
5
votes
1answer
131 views

removing custom text style

I wanted to make the font of my figure captions smaller, so I just went from figure to figure and changed the captions using "Text Style -> Customized -> Font Size -> Smaller". Then I found out that ...
4
votes
1answer
4k views

Numbering equations with LyX

I am using LyX with layout report for my thesis. I would like to have numbering on my equations but dont know how to do it. I'd like the first number to show the chapter and the second one the number ...
0
votes
0answers
27 views

How do I include figure or equation references inside algorithm environment in Lyx?

I would like to cross reference figures (and also maybe equations) inside the algorithm environment in Lyx but could not figure out how to do this. Help please?
1
vote
1answer
44 views

Automatic Lyx newcommands

I am starting to gather a list of LyX macroes that I use frequently - \del to \nabla, for example. I'd like a way to automate this. Making *.sty files and putting it in the default preamble seems to ...
0
votes
0answers
39 views

How to link to link table in lyx

I have edited a few tables in an lyx file A. And now I am creating a beamer presentation based on that file. Is there a easy way to use the tables created in file A in the presentation. The ...
20
votes
3answers
15k views

Converting LyX to LaTeX

I'm working with a colleague who uses LyX (I use LaTeX), and we have a hard time exchanging documents because of conversion issues. Is there any easy way to convert LyX to LaTeX and vice versa?
1
vote
1answer
40 views

changing document configuration with lyx

this is my first time with Lyx and what I wat to do is to change : the "Part" into chapter section 1 to section "ChapterNumber.sectionNumber" (1.1) subsection 1 to ...
2
votes
1answer
87 views

Is there an Elsevier LaTeX2e book class?

I am interested in evaluating LaTeX2e book classes used by specific book publishers. I would like to lay my hands on the LaTeX2e book class, if it exists, for preparing book manuscripts for ...
3
votes
1answer
140 views

Package `fixltx2e` conflicts with `float` and cannot be resolved in Lyx

The latex package fixltx2e conflicts with float and prevents using the option H for floats. This can be solved in LaTeX if fixltx2e is loaded prior to float. However, this doesn't work in Lyx, and an ...
1
vote
0answers
38 views

Chapter Style in Lyx

Im using Lyx for my lab reports, but i dont like the way it displays chapters. How can i change it so it shows 1. "Chapter Name" and not Chapter "Chapter Name" ? Every help is highly appreciated!
1
vote
1answer
46 views

Frame break in LyX

I'm trying to use the insert frame breaks in LyX. [allowframebreaks] before/after the frame title and \framebreak don't seem to work. I'm indeed using those two as TeX codes. Thanks
3
votes
1answer
4k views

How to control figure numbering in Lyx

I have a single figure in a Lyx document, and it is part of a paragraph which itself is part of a section. It is expected that Lyx will produce a caption for it as 'Figure 1: ....', however, the ...
2
votes
1answer
147 views

How to set the justification for all the standard paragraphs in a LyX document

This must be trivial. I am new to LyX but I have read most of the 183 page User Guide and not found the answer. When I change the justification setting (to remove right justify) it only does it for ...
0
votes
0answers
62 views

Importing Word Documents Into LyX

I found this link which explained how to import Word documents into LyX. I downloaded word2lyx and put the unzipped word2lyx into D:\ (Windows 7). Then created the new converter as shown below: ...
0
votes
1answer
38 views

Importing OpenDocument into LyX 2.1.2

I'm trying to import .odt document into LyX 2.1.2. This throws the following error: An error occurred while running: w2l -clean Any help will be highly appreciated. Thanks in advance.
1
vote
1answer
71 views

Two fonts for two languages using lyx

I have decided to shift to lyx for simpler use. I use following template. I encountered two problems while trying to customise lyx. 1. The devnagari does not display properly on lyx. 2. I did not ...
12
votes
2answers
3k views

Can LyX automatically save the PDF output in the same folder?

I use LyX 2.0.4 (on Mac OS 10.7) and would like it to do the following: whenever I hit "View" it should automatically save the pdf output of the lyx file in the same folder the lyx file resides. ...
3
votes
2answers
1k views

EPS Figure is cutoff on right when built to pdf, .eps is fine

I have to make an .eps file from a large png for publication in PRL. When viewing the .eps in ghostscript/inkscape/illustrator/... it looks fine, but when I build it into a pdf using latex -> DVI -> ...
1
vote
1answer
51 views

Lyx: change screen fonts for “section” and “part” environments

Default screen fonts for Part and Section are the same, which makes them confusing to use. Is there a way to change them?
1
vote
0answers
85 views

Lyx - Enable emphasized text hyphenation, prevent overflow

I use emphasis in Lyx to indicate variables in a description of a computational algorithm. Some of these variables have a long name. Lyx does not attempt to hyphenate these variables when they enter ...
6
votes
1answer
8k 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 ...
0
votes
0answers
42 views

LyX file from windows with mac OS X

I would like to open a LyX file create in windows on a mac. But I can open the document but I can't create the pdf. I think the problem is when when LyX load pictures because the adress of the picture ...
1
vote
1answer
42 views

Slight customization to bibtex cites in LyX

I am using LyX and BibTeX for my bibliography. I would like the following setup for my citations: In the text a cite should have a comma between the last author name and year (LAST_NAME, YEAR). ...
2
votes
1answer
29 views

Problem using Lyx command sequence for side by side figure

I have inserted this sequence command command-sequence float-insert figure ; escape ; char-delete-backward ; paragraph-params-apply \align center ; box-insert frameless ; word-backward ; inset-modify ...
1
vote
1answer
65 views

Is it possible to load a package before the LyX preamble?

I was wondering if it was possible to edit the packages that LyX load before the preamble. When I use XeLaTeX, LyX loads the package fontspec. The problem is that I load in the preamble the package ...
1
vote
1answer
82 views

no new lines in lyx output from the latex code insertion

\begin{widetext} \begin{displaymath} a+b=c;\\ d+e = f;\\ e+m = n;\\ \end{displaymath} \end{widetext} I am using the above code as an inserted Tex Code in Lyx ...
3
votes
2answers
244 views

apacite not working in tex

I've been requested to change the bibliographic reference style of one of my papars to APA style, but when using the apacite command the document is not compiling. A MWE is shown below. My problems ...
12
votes
4answers
8k views

Scale (resize) large images (graphics) that exceed page margins

Background A large number of screen captures have been scaled 300% at 288dpi. They appear correctly when embedded in OpenOffice, but not LyX. Problem Images that do not extend beyond the margins ...
5
votes
2answers
472 views

List of BibTeX references in PDF using LyX

I have a list of references created in BibTex and now I'm trying to put in in LyX, to then create a PDF. I tried doing: Insert -> List -> BibTex Bibliography and I get a grey box saying BibTex ...
0
votes
1answer
48 views

Wrong page headers in front matter

I am just finishing off my thesis and have run into the following problem. My front matter contains: Table of Contents, List of Tables, List of Figures, Nomenclature (renamed to List of Abbreviations ...
1
vote
1answer
152 views

Hebrew in lyx 2.1 (using MiKTeX 2.9)

Recently I've upgraded my OS to windows 8.1 and I had to reintsall lyx and LaTeX. After finished the installation, I ran the culmus-miktex-0.2.1 file but when I want to compile my document I get the ...
1
vote
1answer
46 views

Getting LyX to Find and Use OpenType Fonts

I have a family of opentype fonts which I want to use directly in LyX? I know that the TeTeX and LuaTeX backends to LyX can use opentype fonts directly. How can I get LyX to see the fonts and use ...
11
votes
2answers
4k views

How do I add something to the preamble in LyX?

I'm trying to add something to the preamble, but don't know how. I tried Insert -> Latex Code and just picked places on my article, but I guess they were never in the preamble? I guess I cannot ...
2
votes
2answers
70 views

Add tree command output into LyX document

I need to add the following listing into LyX, but instead of having the following result, I obtain the one at bottom of this page. What can I do? How it should be: $ tree . ├── ...
3
votes
1answer
189 views

Tikz code not working in LyX but working in pure Tex

I'm trying to add a TikZ picture in my LyX document. To do this, I organize the TikZ tex code in Texmaker (a friend sent me a tikz code model in a .tex file) and then I copy it to a ERT in LyX (making ...
6
votes
1answer
191 views

LyX + SyncTeX + Document Viewer Evince

I am running LyX 2.0.2 in Ubuntu 12.04 and using the default PDF viewer Evince. I want to setup SyncTeX to go back and forth between the document and the source, at the right position in the text. ...
1
vote
1answer
29 views

How to get numeric bullets in a Master document in LyX which contains input Lyx documents

I want to create a master document in LyX. From there, I want to input (using the meaning of input as in LyX) 4 different LyX documents. Each one of these other LyX documents contains a list of ...
0
votes
1answer
36 views

Problem with pdf preview in LyX

I have just downloaded LyX and I have been trying to preview my work as a pdf file. The problem is that I have been getting this error: The path of your document (C:/ ... /) contains ...
0
votes
0answers
31 views

cmbright with Xelatex and lyx

Is it possible to use cmbright with xelatex for both math and text? The way to use it in the text is here Use cmbright with unicode text under XeLaTeX But the math still appear in usual latin ...
2
votes
1answer
127 views

How to include program listings in C# with custom font and syntax highlighting in LyX?

I'm rather new to LaTeX and use LyX editor to create my documents. There are similar questions but none of them answer how to do that in LyX. I am wondering, how to include a program listing in ...
1
vote
1answer
61 views

Lyx generated PDF with JavaScript encounters NotAllowedError

I am trying to generate a pdf file that opens another pdf file with this code \usepackage[pdftex]{insdljs} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Main Script ...
4
votes
2answers
49 views

italic font in LyX?

How does one generate italic font in LyX? I just want to select some text and click something in the menu system or type a keyboard shortcut to do this. I have previously found it in the menu ...
2
votes
1answer
62 views

How do I prevent LyX from loading fontspec automatically?

I would like to use non-TeX fonts in LyX. To do this, I use the Document->Setting->Use non-TeX fonts setting. This setting causes LyX to insert the \usepackage{fontspec} statement automatically into ...
6
votes
1answer
69 views

LTR bibliography in a RTL document

I have a Lyx document in Hebrew(RTL Language), while all the sources are in English(LTR Language). Therefore, I've added \selectlanguage{english} before the bibliography, and \selectlanguage{hebrew} ...
1
vote
1answer
62 views

From LyX to LaTeX and back without losing information

I work in LyX but my colleagues work in LaTeX. If I export from LyX to LaTeX, then send them the tex file, then receive the tex file with their editions and then import it back to LyX, will I have all ...