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

tikz-Picture in classicthesis-LyX v4.1

I exported a plot from MATLAB using matlab2tikz into a file testfig.tikz. As written here, I included \usepackage{pgfplots} \pgfplotsset{compat=newest} \pgfplotsset{plot coordinates/math ...
3
votes
3answers
1k views

Can I make LyX automatically use 'smart' parentheses [\left( \right)] in math mode?

When I type in math mode I always prefer to use the parentheses using \left and \right. Currently, I go into math mode and then press the button on the ribbon that appears in this mode and creates ...
0
votes
4answers
429 views

Presentations that don't take up too much time to create

I am teaching a course in the upcoming semester and am trying to settle on a way to prepare presentations as rapidly as possible. I have used LaTeX beamer for years, and have even contributed some ...
1
vote
0answers
40 views

Hyperref ruins formulas in Lyx 2.1

I am writing lecture notes in LyX 2.1 on Windows and I have recently enabled hyperref in document settings and since then I get strange crossed L marks before every formula I put, e.g.: Anybody ...
1
vote
0answers
241 views

Lyx/Tex installation problems on Linux Mint 17

I've spent two days messing about with this now! If I install TexLive from the repositories, I'm unable to use tlmgr to update it, and Lyx can't find any of the document classes. the "Tex ...
0
votes
1answer
69 views

Unable to change the Chapter Number to Roman numeral alone

When I am using the following command \renewcommand\thechapter{\Roman{chapter}} to set the chapter # to roman. It is also changing the subsection numbering to roman. Do you have any idea, why? ...
2
votes
1answer
50 views

How to convert sty and files to LyX layout

I need to import in Lyx the following layout: brain_damage.sty http://gregorywheeler.org/latex/phil-style1.html How can I convert it to a format that LyX can understand?
3
votes
1answer
97 views

A simple line plot in LyX

I am a LyX user and I would like to use a line plot in one of my papers. This is simply a line with few identified points. For me the points of interest are 24, 32 and 38. Could you please tell what ...
4
votes
1answer
151 views

How to make the Table of Contents, List of Figures, List of Tables to appear in Uppercase?

The following images depict my Lyx doc which gives the first output when converted to PDF. I am looking to capitalize them. I am using Koma documentclass This is the current Latex Preamble: ...
2
votes
1answer
75 views

How do I put color on frame at \xymatrix?

I'm writing *++[o][F-,]{3} at \xymatrix for example. How can I make that the 3 will be green and the frame at red? And one more Q please: How can I make the *++[o][F-,]{3} that will be more dark? ...
0
votes
0answers
35 views
3
votes
2answers
71 views

Pasting vs typing into LyX

I have this bit of LaTeX code. f(n)=\begin{cases}n/2&\mbox{if }n\equiv0\\(3n+1)/2&\mbox{if}n\equiv1.\end{cases}\pmod{2} I want to see it rendered in my LyX document. If I copy and ...
1
vote
1answer
104 views

How to use double line in Lyx tables

I want to have double lines in the top row in my tables in lyx. I searched through the site but could not find how to do this.
1
vote
1answer
55 views

How to set a 5 spaces indentation from the left for all paragraphs in LyX?

In each chapter now the first paragraph is not indented. But, to get all paragraphs to be equally indented I need some steps.
1
vote
0answers
25 views

Custom color in keywordstyle for listings under LyX [duplicate]

There are several Questions and Answers regarding the use of listings under LyX. And they mention, or explain, how to enable syntax highlighting. While this is easy to achieve, my attempt to use a ...
0
votes
0answers
34 views

Run an external script from within lyx

Is it possible to run external scripts from within lyx, passing information about the current file as arguments? I am thinking of usecases like Interacting with file versioning software not ...
2
votes
1answer
112 views

Overwrite \def to check if the command exists?

LyX supports math-macros, but sadly when passed to the latex processor, they are defined by a \def rather than a newcommand. I have found overwriting commands (e.g. using \def\v{\mathbf{v}}) to ...
1
vote
1answer
53 views

LyX doesn't know `eqref`?

LyX somehow can't use eqref. (I use version 2.0.2 and wouldn't want to update, if possible, since I've set up everything in a very specific way and wouldn't like a new version to perhaps tamper with ...
0
votes
0answers
21 views

What characters cannot be in LyX file name?

After wasting a good deal of time, I re-discovered that LyX file names cannot contain apostrophes, otherwise the typesetting doesn't work. I kept getting a "pdflatex.exe has stopped working" error. ...
1
vote
0answers
43 views

file exporting DRAFT notation [closed]

I am exporting my lyx file to pdf by going to File -> Export -> PDF (pdflaetx) However, when I open my exported pdf file I get a notation at the top of some of the pages with the word DRAFT followed ...
1
vote
1answer
46 views

Cannot copy Red Evil Text in LyX on Windows

I just installed the latest version of LyX for Windows (2.1.2). When I copy a RET and paste it, all I get is the first line of the RET. For example, I click Ctrl-L, enter some lines ("abc", "def", ...
1
vote
1answer
93 views

How can I get LyX to compile child documents selectively?

I am writing a book using LyX. The book is divided into parts which contain chapters. The book publisher, whose LyX layout file I am using, requires the references to be listed by chapters. I am, as a ...
2
votes
1answer
105 views

I need occasional Hebrew letters in my English text

I am writing a humanities work in book format with LyX 2.1.2 in Linux Mint 17. I need text output in PDF format in an English language document with a few occasional words in Greek, and Hebrew. I ...
0
votes
0answers
27 views

Letting Lyx ignore margins for equations only

I'm using the default article template in lyx. I want to add one exception to it's margins preferences - Let equation break margins. I want that in order allow long oneliner-equations.
2
votes
0answers
103 views

Lyx how to call a local .sty file

I created a .sty file that I used locally with a tex file. I mean that I put the tex and the styfile on the same folder (in my documents) and call the styfile as a \usepackage{mycustomstyfile} ...
9
votes
3answers
2k views

Shortcut for typewriter font/style in Lyx?

I want to format part of a paragraph in typewriter font. Is there a shortcut to quickly switch to the typewriter font in Lyx? Or even better: is there a concept like character styles in Lyx so that I ...
1
vote
1answer
87 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 ...
4
votes
1answer
246 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
3answers
3k views

How to force a page break in LyX?

Page break, New page, Clear page, Clear double page functions does not work for me in LyX. I tried to enter them via Insert ->.... and via LaTeX code \pagebreak etc. But I desperately need to brake a ...
2
votes
1answer
65 views

How to modify default parameters in the Algorithmic Environment module using LyX?

I'm using LyX together with the Springer Journal LaTeX template to write a document. I'm also using the Algorithmic Environment module to create an algorithm layout within my document. The problem is ...
0
votes
2answers
237 views

What size should MacTex be? I'm trying to download it and it's huge! [duplicate]

I'm totally new to LaTeX and similar programs. I'm actually trying to get started with LyX as I want something easy to use and basic. I'm trying to download the MacTeX 'distribution' (I think that's ...
2
votes
1answer
398 views

Avoid figures encroaching on page numbers with LyX

I'm using LyX and have figures in floats and wraps but some of them are too high on the page when converted to PDF and overlap with page numbers. Is there a way to avoid this and respect the text ...
3
votes
0answers
146 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 ...
0
votes
0answers
17 views

How can I modify the preamble in Lyx? [duplicate]

I am using Lyx and need to modify my document's preamble. Where should I add \documentclass[openany]{scrbook} \usepackage{classicthesis} \begin{document} \chapter{A} in order to remove blank ...
4
votes
1answer
667 views

remove blank pages from ClassicThesis

I am using ClassicThesis in LyX. I have problems with the autogeneration of blank pages in the template. At the moment a blank page is inserted infront of a chapter if the chapter would have started ...
0
votes
0answers
200 views

epstopdf error in lyx

I have read many answers here, but nothing work. I have an error in my lyx with eps to pdf conversion. when I use epstopdf in terminal it works, but with lyx doesn't work. this is my latex code: ...
1
vote
0answers
29 views

LyX XeTeX and hyperref error hline

I have a main LyX document with a number of child documents, which have English, Hebrew and Greek text. On compilation, I get an error: ! Undefined control sequence. <argument> \@currentHref ...
1
vote
0answers
51 views

LyX + Biblatex => XHTML (for conversion to ODT)

I am writing a document in LyX (2.1.2) and need to share it for editing and review purposes with others who do not use LyX/LaTeX. I am also using Biblatex + Biber for the bibliography. LyX's inbuilt ...
1
vote
1answer
42 views

Add figures to a minipage

I've been trying to add figures to a minipage in lyx but couldn't really find a way. Does someone know how this is done in lyx?
1
vote
1answer
77 views

How to make a sub-list with numbers (at LyX)

How do I make a sub-list with numbers? i.e.: 1. 2. 2.1 2.2 3. instead of: 1. 2. a. b. 3. Thank you!
0
votes
1answer
55 views

Lyx Convertors for Lilypond to pdf

I want to include Lilypond snippets in my report, but I'm getting an error: An error occurred while running pdflatex "project_name.lytex" I believe I don't have the convertor set up correctly in ...
6
votes
1answer
410 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?
1
vote
1answer
18 views

LyX Toolbar off screen

Somehow my LyX standard toolbar went off screen in Windows 8 (I think it may have something to do with the full screen toggle) and I have no idea how to move it to its original position. I have ...
3
votes
1answer
973 views

bflabel undefined

After updating LaTeX (MacTex) with Tex Live Utility the other day I've had trouble compiling using \bflabel: ! LaTeX Error: \bflabel undefined. The document I'm trying to compile is a modified ...
3
votes
2answers
2k views

Lyx - Add appendix after bibliography

How can I insert Appendix after Bibliography ? If I put the cursor after the last character of the bibliography, then the last line of the bibliography is inside the appendix. If I click return after ...
2
votes
2answers
194 views

Can't modify document settings on LyX

I'm running Lyx 2.0.7dev on Ubuntu 12.04 LTS. I modified a document's language, but the "ok" and "apply" buttons are disabled... why? I already checked the file's permissions and they're "read & ...
0
votes
1answer
458 views

enumitem.sty not found

I'm trying to compile a document on Lyx but it keeps throwing 'enumitem.sty' not found. I installed the BasicTeX package from MacTeX website. Is there anything else I need to install?
2
votes
1answer
118 views

How can I fix a “*.sty not found” error in Lyx, when it works in pdflatex?

I've just installed a gantt chart package, which I'm trying to use it in LyX. I attempted to use the first minimal example, but this failed in LyX with LaTeX Error: File 'forloop.sty' not found. ...
0
votes
1answer
111 views

LyX: 'Available Citations' (and .bib files) list blank

LyX seems to be having trouble accessing my .bib files. Precursor info: I use a MacBook Pro with the latest versions of both LyX (2.1.2) and MacTeX. I use BibDesk for source management. I recently ...