Tagged Questions

{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

1
vote
1answer
153 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
54 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
228 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
97 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
44 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 ...
3
votes
2answers
70 views

Lyx bibstyle problems

I'm trying to get citations rendered like this: (Bunks et al. 2001; Alex 1999). Please mind there is no comma after author's name. I already tried natbib, authordate1-4 packes but with no success. In ...
3
votes
1answer
268 views

BibLaTeX in LyX 2.1.0 with MiKTex on Windows 7: ! Package biblatex Error: Incompatible package 'backref'

I took the tex code from here and imported to LyX 2.1.0 to use BibLaTeX with MiKTeX on Windows 7. But I'm getting the following error: ! Package biblatex Error: Incompatible package 'backref'. The ...
2
votes
1answer
177 views

How to include child documents in Lyx [closed]

I am new to LaTeX and LyX. For writing my thesis I got 2 files from university: uw_masters_thesis.sty and sample_thesis.tex. The sample file contains \usepackage{uw_masters_thesis} in preamble. If I ...
3
votes
0answers
144 views

Lyx citation style: et al only when three or more authors

I'm using lyx and bibtex for my master thesis. In lyx, I changed the bibliography style from standard to natbib (author-year). The problem occurs when I cite a paper with two authors. The reference to ...
1
vote
1answer
45 views

How can I tell LyX to differentiate between left Alt and right Alt (AltGr / 3rd Level)

To increase my productivity, I would like so simplify some of the existing keyboard shortcuts (in particular Greek letters), by using either Left Alt or Right Alt in a non-interchangeable manner, i.e. ...
1
vote
0answers
66 views

LyX reference problem

I'm having a minor reference problem. Im using LyX 2.1.0 on Mac and Jabref 2.9. My problem is that when I'm making a reference to an article/book, etc. that have exactly two authors it says "and" ...
5
votes
1answer
101 views

Instant preview color in LyX

I'm using the instant preview feature in LyX, which as I understand is based on a LaTeX package of the same name. As I have LyX configured with a dark background - Is there anyway to configure the ...
3
votes
1answer
121 views

Need information to get scientific notation for the coefficient

Good afternoon everyone, I wanted to know if anyone knows how to put scientific notation for the coefficient of a variable. If you look at my results you will agree with me that to get a table with a ...
1
vote
1answer
37 views

Can I save pasted image to last used directory in Lyx?

I save figures in ./fig folder. While every time I paste an image, the file dialog always opens ./ folder for me, then I have to select ./fig folder and rename the image file. Can I make it default to ...
5
votes
1answer
441 views

Writing a thesis in Lyx using a Latex Template - What am I doing wrong?

I'm looking to write my thesis in Lyx as I'm impressed with all the document handling features. I have found, what is called, a Latex template for my university's thesis here: ...
2
votes
1answer
125 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
0answers
140 views

Installing KOMA for Mac (Lyx) [closed]

I'm new to using Lyx and installing packages, so please be kind and patient. :) I've downloaded the entire KOMA package and folder, but have yet to install it. I will get error messages from Lyx that ...
3
votes
1answer
147 views

Footnotes: Label in paragraph, text somewhere else?

TL;DR: Is there a package that allows writing the text of a footnote after the position where the mark should be inserted? Note that I'm asking about positioning of source code, not about positioning ...
1
vote
1answer
420 views

LyX error - 'Document format failure' for file in temporary folder

I have been working during the last year in my thesis with LyX. Yesterday I opened my file in another computer and when I open it in mine this error appears: What can I do to solve this issue? ...
3
votes
2answers
111 views

LyX table row error

I hope someone can help with this problem. I have a 3x4 table which is too wide for a page if just entered as is. Therefore, I have fixed each column width at 25% of the text width and then used ERT ...
1
vote
1answer
104 views

How to make LyX use prettyref or refstyle

In LyXm in "Document Settings" window on "Document class" pane I can choose to use either prettyref or refstyle. However the TeX code looks as if it used ordinary /ref. Why? %% LyX 2.1.0 created ...
1
vote
0answers
91 views

PDF crashes after previewing from LyX

I'm currently having a bit of a problem with LyX and have tried to fix it but to no avail, so I decided to post here in an effort to solve it once and for all. So basically, I'm using the latest ...
2
votes
1answer
70 views

Editing-like style in Lyx

Is it possible to achieve the below in Lyx (words above/under sentences)?
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
0answers
60 views

How to follow the DRY (Dont Repeat Yourself) in multidoc?

What is the best way to keep the configurations and same content in different parts of the main document reusable from single location (e.g. from child document)? First idea was to have this ...
1
vote
0answers
19 views

Why the LyX getting reset toolbars layout every time it starts?

Every time I open Lyx it doesn't restore already opened toolbars (e.g. version control, table of contents), but instead shows only the default toolbars. How to fix it (make toolbars layout permanent)? ...
2
votes
0answers
62 views

How to make gv (DOT) files work under LyX

I'm using LyX. After adding this gv file using Insert->Graphics, LyX automatically generated a perfect preview of the file, as expected. However, when I try to export or get a preview using dvi ...
2
votes
1answer
73 views

No hebrew shows in DVI (CTRL+D)

I've installed LyX with culmus-latex on Ubuntu 14.04 and set settings according to this tutorial: http://gadial.net/Documents/LyX%20Guide.pdf My problem is that when I preview some document in hebrew ...
2
votes
1answer
45 views

Creating a Table without a caption

I'm using LyX and would like to suppress any caption under a Table. How can I do that?
3
votes
2answers
25 views

How to get Lyx to process aliases from the preamble in the graphical editing mode

I was trying to create my Lyx document in a structured way by defining a new latex command in the preample for the representation of complex conjugation, to keep all flexibility in case I would like ...
5
votes
3answers
76 views

Lyx itemize returning to last number

I would like to have the following output: Text (a) Text Text Text That is, after a subitem, I want to return to the last number without creating a new one. Is there any way to do this without ...
3
votes
2answers
64 views

Is it possible to get LyX to display non-standard symbols?

I currently need the symbol \mapsfrom, available in the package stmaryrd. If I input \mapsfrom in math-mode, then it is not replaced by a graphical representation of the symbol. Is it possible to get ...
2
votes
1answer
92 views

How can I change the margins of quote environment?

I am writing a text with LyX in the KOMA Script document class and have set the following margins under Document->Settings->Page Margins top: 2.5cm bottom: 2.5cm inner: 2.5cm outer: 3cm As I am ...
0
votes
1answer
42 views

Is there a shortcut in LyX to exit ERT mode?

I know that C-l ENTERS ERT mode, but my question is- Is there a shortcut in LyX to EXIT ERT mode ?
2
votes
1answer
141 views

Adding Web Pages to JabRef

I want to add webpage article (from New York Times) in my research paper. How can I add it to my bibigraphie . I can add using JabRef (research Article, Book, Booklet, .. ). but how can I add ...
2
votes
1answer
118 views

Page Content Misalignment

I've started using LyX to write technical specification documents. As a result of numerous hasty Google searches (many ending at this site) I have cobbled together a LyX file that mostly delivers ...
1
vote
1answer
629 views

Lyx on Ubuntu 14.04: Spell checker has no dictionaries

Situation: I'm trying to spell check for German in Lyx on Ubuntu 14.04. Currently I'm having Enchant selected under Preferences, but I'm open to any alternative to gain "in document" spell checking ...
3
votes
1answer
101 views

Why is LyX not allowing numbered chapters in my book?

LyX v2.0.6 on Linux. Document class is book (extra font sizes). Scenario I have a master document including two child documents (so far), both of which are the same document class as the master. The ...
1
vote
0answers
50 views

Classicthesis and space between emphasized text [closed]

I'm using classicthesis and LyX to write my graduate project, but I'm having issues in the resulting PDF. If I have a word emphasized, in typewriter family, etc., the whitespace before and after is ...
4
votes
1answer
80 views

How to insert newline in Lyx-macro?

I want to create a Lyx-macro that takes two inputs in math and stacks them above each other, upper and lower part of the same size. Below is the definition in Latex and its desired use. How can I ...
3
votes
1answer
68 views

Quotations spanning multiple paragraphs in csquotes with french guillemets under LyX

This question was already raised and answered here for american: \documentclass{article} \usepackage{csquotes} \usepackage[american]{babel} \DeclareQuoteStyle[american]{english}% verified ...
2
votes
1answer
124 views

blindtext, unicode-math, and babel won't play nice because of setmathfont (in LyX)

Usng unicode-math, I am trying (in LyX) to use a font for my main font, and also for math Latin and Greek characters, while keeping the rest as is. At the same time, I want to use blindtext. ...
4
votes
1answer
50 views

Depending on the edition, but in the same language, I want different kind of quotes

When I write ``something'', I want the output to be one of the following inside the whole document, just changing one setup in the preambul: "something" « something » “something” One solution is ...
2
votes
1answer
45 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 ? ...
7
votes
1answer
316 views

How to use LyX to create PDF file from the command line

I'm using LyX for technical documentation and want to automate the process of creating PDF files. Within LyX, I can simply click the button "View PDF (XeTeX)", and LyX performs the whole build ...
1
vote
1answer
41 views

“You are using two French options for Babel” due to the use of \theendnotes with frenchle?

While compiling to pdf a LyX document that uses packages frenchle and endnotes, I get: "You are using two French options for Babel" when I try to generate the pdf. The solution is given here for ...
3
votes
1answer
112 views

Higher sections like Part are missing in my table of contents

I am using LyX. My document uses Part*, Section*, Subsection*, Subsubsection* sections, and babel with \usepackage[english,frenchle]{babel}. With the memoir document template, only Subsection* and ...
3
votes
1answer
229 views

Change the style of chapter in LyX

I'm trying to change the style of chapter using LyX 2.1.0. Like this style (I have the code TeX but I failed to execute): The class of my document is report. here is the code for the chapter ...
2
votes
1answer
88 views

LyX: How to hide text style labels by default

I just upgraded to LyX 2.1.0. I use the "Code" text style from the Logical Markup module. In prior versions, whenever I formatted a word as code, it was just displayed as such (see the first line of ...