{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

3
votes
1answer
360 views

R Chunk Code within Enumeration Environment with knitr in LyX

I need R Chunk Code within Enumeration Environment in Rnw file. The following .Rnw document works fine. \documentclass{article} \begin{document} \begin{enumerate} \item The quick brown fox jumps ...
1
vote
1answer
184 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 ...
2
votes
1answer
427 views

Putting all cross references in brackets in LyX

I have many equation occurrences in a long document, where LyX automatically cross-referenced its equations with \ref{} rather than \eqref{}. I want all references to be in parenthesis. A few ...
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 ...
3
votes
1answer
216 views

Lyx nested enumerate creation

I try to create the following in LyX. But it does not give what i want. 1 (a) text OR (b) text 2 (a) (i) text (ii) text OR (b) text LyX does allow only to produce as shown ...
2
votes
1answer
124 views

How to keep image file extension when exporting LyX to LaTeX

With the workflow: LyX -> LaTeX -> ePub (via pandoc) And I'm having a problem where an image filename included in LyX (say "image.jpg") will be converted into "image" (no extension) in LaTeX. pandoc ...
3
votes
1answer
402 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 ...
1
vote
0answers
42 views

cannot import tex file into LyX [duplicate]

I have installed the LaTeX class files for Springer svjour3 as instructed at http://wiki.lyx.org/Examples/Springer But I cannot import template.tex into LyX (using plain latex option). The error ...
1
vote
0answers
36 views

external reference with lyx [duplicate]

I am attempting to reference labels in an external LyX document. I have found how to do this using the xr package in .tex files. However, I see no way of doing this in LyX without having to export to ...
3
votes
2answers
365 views

(lyx) Chapter Number after Part Number (Chapter 4.4 instead of Chapter 4)

I know its counter-intuitive and doesn't make any sense at all, but bear with me. I am using the classic thesis style (in lyx), and the recommendation of my university ask me to do so. So currently My ...
1
vote
1answer
86 views

How to use Rnw and bib files in Lyx?

I am writing for publication in Transportation Research Board. Someone un-officially created a LaTeX template for the journal (here). The template consists of 3 files with these extensions: .bib ...
1
vote
4answers
851 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
1answer
510 views

vertical alignment of multirow tables in lyx

After having searched a lot, I still didn't find an option to align multirow cells vertically correctly in Lyx' native tables. There seem to be some solutions but I haven't found any for use with Lyx ...
2
votes
1answer
245 views

Nomenclature sequence in Lyx

I am using the Nomenclature package in Lyx. I am sorting my entries between Greek symbols, Roman symbols and acronyms. As you can see in the screenshot the symbols are further separated: with or ...
0
votes
1answer
48 views

ambiguity in the name of the header

I use Lyx 2.1, document class : report. I created a chapter called "list of acronyms" after "list of tables". At the 2nd page of the chapter "list of acronyms" header is incorrect.
2
votes
1answer
507 views

lyx inserting endframe in the wrong place

I create a slide using the beamer template in LyX using the following steps: Set environment to Frame Edit the Frame title to "Test" Press the right arrow and enter, change environment to itemize ...
6
votes
2answers
497 views

Spacing problem at List of Figures

I use Lyx 2.1, document class : Report. My problem is that the titles of figures are written on the numbers at List of Figures.
0
votes
1answer
289 views

Lyx add page number in abstract

Hi I'm desperately looking for a way to display the page number on my page in abstract. I'm trying to do this with the \chead{\thepage}, yet it won't work. The following screenshots show the view in ...
5
votes
1answer
154 views

Renew command on mbox makes it freeze - Fix subscript size

I'm trying to change the font style of \mbox, but all my tries have failed. All commands I try either have no effect or make pdflatex recursively keep working and never finish and freeze. This makes ...
2
votes
1answer
57 views

Help with Lyx type problem

I am new to LaTeX and Lyx. I was typing my text when I changed something in Lyx and now, for example, I need to type two times dot (.) to show up at the display. If I type dot + space, it shows one of ...
1
vote
0answers
18 views

How to remove enumerated chapter latex in lyx [duplicate]

I found an example of template's Lyx and I work fine with it, so lets explain what I'm doing: I'm writing a book's intership this later start by 3 chapter wich aren't numerated for example here: if I ...
3
votes
2answers
1k views

Table of Contents numbered in Roman in Lyx

I use Lyx 2.1, document class : report. I want the pages table of contents, list of figures and list of tables etc. be numbered with roman numerals. I put this tag before the table of Contents : ...
4
votes
1answer
105 views

Lyx margin settings for binding

I would like to edit the lyx default settings in respect to page margins in order to allow for a larger binding margin. However, when I print two-sided I can not simply use a larger margin for the ...
1
vote
1answer
282 views

Hanging indent of citations in footnotes using koma-script

I'm writing a thesis using Lyx, the Koma-script bookclass and jurabib. I'm trying to format the footnotes/citations so that the citations are not indented in The trival example below (edit to remove ...
2
votes
1answer
198 views

Lettrine: Put a letter lowercase in Lyx

I use Lyx 2.1, document class : report. I inserts a "lettrine", the letter that follows in uppercase, I want this letter to be lowercase. Code : \begin{onehalfspace} \lettrine{F} ace
2
votes
1answer
557 views

the spell checker has no dictionaries lyx 2.1.0 (windows7)

yesterday my spellchecker have been worked fine, but today I opened it to complete my work and when I press F7 it tell me the spell checker has no dictionaries I use hinspell and lyx 2.1.0 and I ...
2
votes
0answers
184 views

How to force LyX to convert a GraphViz file into a vector format

In the "Converters" section in LyX preferences, I have the two following converters automatically defined for GraphViz: Graphviz Dot -> PNG Graphviz Dot -> EPS When I export my document as PDF, ...
2
votes
0answers
322 views

LaTeX template for Journal of Computational Biology

I am using lyx and have to insert citation by following rules. I could not find any specific citation style in lyx. References should be presented in the following style: Journal Paper: Fujar, B.R., ...
0
votes
1answer
485 views

Creation of a bibliography in Lyx

I use Lyx 2.1, document class : report. I inserted the bibliography at the end of the document Lyx. I created my. bib with JabRef: citation order is wrong: if I add a new citation, it takes the ...
1
vote
1answer
158 views

How to use Harvard style citation in body of text in Lyx?

I am using Lyx 2.1 with Harvard style referencing (Documents > Settings) but when I cite in the body of text, it renders something like following: In Canada, the for-hire trucking activity ...
4
votes
1answer
2k views

Add an unnmbered section to the table of Contents in Lyx

I use Lyx 2.1, class document : report. I created a general introduction as unnumbered chapter, but at the table of Contents, the introduction does not exist.
7
votes
1answer
3k views

Insert second slide with Lyx and Beamer

I am trying to create a presentation in LyX using Beamer. I am using LyX 2.1.0. I created a new document, and selected Document -> Settings -> Document Class -> Presentations -> Beamer. ...
2
votes
1answer
109 views

In LyX, how can I remove the title and newline in a subsubsection?

I'm using the KOMA-script article class (\documentclass{scrartcl})and would like to remove the title and newline from the subsubsection, leaving me with a number followed by standard text. Ideally ...
3
votes
1answer
159 views

Creating a Macro for an n-by-m Matrix in LyX

Specifically, I'd like to create a matrix such as $\left[\begin{array}{cc|c} a_{1} & a_{2} & a_{3}\\ b_{1} & b_{2} & b_{3}\\ c_{1} & c_{2} & c_{3} \end{array}\right]$ But in ...
5
votes
2answers
475 views

Align text in tables in LyX

I want to align the text of one of my tables like this: However, I got this: The header of the table are centered and rotated (in case of the first column header) and the rest of the text are ...
1
vote
2answers
211 views

Curly Quote usage in XeTeX via LyX

I have this preamble in my LyX document: \widowpenalty=10000 \clubpenalty=10000 \raggedbottom \usepackage{dtklogos} \usepackage{fontspec} ...
5
votes
1answer
234 views

Problems using Expert Fonts

I recently purchased an expert font, Calluna (exljbris). There is only one problem when using the font: The font is encoded with Old Style numbers by default. I don't know how to access the Lining ...
0
votes
0answers
114 views

Setting up a document in Lyx

I use Lyx 2.1, document class : report. I want to set the document as follows: font: Times New Roman size: 12 points space between the title and paragraph : 6 before and after
4
votes
2answers
773 views

LyX 2.1 cannot open older Beamer presentations

I have recently upgraded my LyX installation form 2.0.7 to 2.1. Everything was fine until I found out that I am no longer able to open my older Beamer presentations made with LyX 2.0.6 or 2.0.7. ...
4
votes
2answers
439 views

Create 3 blocks in a 2-1 layout in beamer

Is it possible to create 3 blocks in a single frame in beamer with a distribution as shown in the image below? The blocks must have the same width, and block C should be centered. ----- ----- | A | ...
0
votes
1answer
94 views

Problem at the Table of Contents in Lyx

I use Lyx 2.1, document class : report. At the table of Contents, no spacing between "a few" under sections.
2
votes
1answer
207 views

make all pages with the same style footer

I use Lyx 2.1. I want to make all pages with the same style footer. The first page of each chapter has its own style (Style No. 1) Other pages have a different style (Style No. 2) is it possible to ...
2
votes
1answer
987 views

How to frame a figure in Lyx

I use Lyx 2.1. I want to frame the figures. I inserted a simple box and I put the figure inside it. But, I encountered these errors :
3
votes
1answer
4k views

Change page margins in LyX

I use LyX 2.1, and I want to change the margins of a document as follows: Top and bottom: 2.5 Right: 2 Left: 3 How can I do this? Thanks.
1
vote
1answer
435 views

Header font in LyX

I would like to change the header font in my book ms from serif to sans serif. I've spent much time trying to find the answer on the web. I'm using book (KOMA script) and fancyhdr. Can some kind soul ...
1
vote
0answers
137 views

lyx - Lost table of contents [closed]

All has been going well for weeks, but in an attempt to change font-style in headers, I've lost the table of contents: e.g. it doesn't show up in the pdf. **** Here's my preamble: % DO NOT ALTER ...
1
vote
0answers
12 views

How can I define a command before the begin{document} instruction in LyX? [duplicate]

I'd like to use the command: \usepackage{pifont} before the begin{document} instruction in LyX. But I don't know where to put it exactly. Is it possible someone can help me? Thanks!
4
votes
3answers
1k views

Adding background color to table cells in LyX

I'm doing some tables using LyX and I tried to set a color background in the cells , but I got this error: Undefined control sequence \rowcolor {cyan} & The control sequence at the end ...
4
votes
0answers
532 views

beamer doesn't compile

This is a LyX question... I updated my LyX to the latest 2.1.0 and since then it does not compile the PDF file when I use beamer (other files it compiles fine). I get the following error message: ...
1
vote
0answers
150 views

How to use feynmf in LyX?

LyX documentation suggest to to use feyn package to draw Feynman Diagrams, It works fine, but unfortunately too restrictive and simple for my needs, I tried to use feynmf package instead, but it ...