{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

2
votes
1answer
244 views

How to fix vertical text frame size (including footnotes)?

I'm using LyX to typeset a document, and get a predictable page size when no footnotes are around. However, when I use footnotes, those are added as extra at the bottom of the page, changing the ...
2
votes
0answers
113 views

Is it possible to omit the word “and” before the last author name in the bibliography? [closed]

Is it possible to omit the word "and" before the last author name in the bibliography? I'll be grateful for any help, because I have no idea about where to find a solution. I use Lyx 2.0.0 and the ...
5
votes
3answers
1k views

Defining shortcuts in LyX

I am used to typing in Tex (since am a member of math.stackexhange), I decided to use an editor to help my with the typing and based on recommendations I installed LyX (I am very new to this and a ...
3
votes
0answers
998 views

LaTeX Error: “cmap.sty” not found [closed]

Could anybody help me with my situation. When I try to see my Lyx document in pdf Lyx write this Error note "LaTeX Error: "cmap.sty" not found" and in description "*** (cannot \read from ...
4
votes
2answers
3k views

Lyx is ignoring typewriter font setting for program listings

I'm using Lyx's Insert|Program Listing to insert a code listing into my document. Unfortunately, Lyx seems to ignore the Typewriter font selection I made in DocumentOptions under Fonts ⇒ ...
3
votes
0answers
389 views

LyX 2.0.3 Mac Version unavailable article document class [closed]

I am trying to use LyX 2.0.3 but for some reason it does not have the Document class article. Is there something else I need to install? I have installed TeXworks as well but for some reason it still ...
4
votes
1answer
261 views

Naming LyX layout appropriately

I am continuing my question from Class relationship between two given .cls file? To use an custom document class one needs to create LyX layout named appropriately. In my custom document class. I ...
4
votes
1answer
2k views

Cell colouring a multirow in LyX

I've got a multirow cell and I need to make it all have one background colour, but I'm having trouble achieving this. I've defined my color (lightgreen) in the preamble, but don' know how to apply it ...
1
vote
1answer
3k views

Can't create pdf in Lyx

I am a third year math student and I decided to start writing in TEX. I installed Lyx 2.0 and wrote a new document, when I tried to export using the option "PDF(ps2pdf)" I got an error: lyx cannot ...
2
votes
0answers
323 views

How can I add automatic consistency tests for formulas in my paper? [closed]

Let me start with an analogy: In test driven software development, you craft a couple of tests that describe what your program is supposed to do. When introducing a new feature, you start with a test ...
3
votes
2answers
1k views

About some shortcuts used in LyX

Please tell me how to use shortcuts in LyX to implement the codes below $\sum\limits_{\substack{0<k<p\\\gcd\left( k,p\right) =1}}$ Notice that do not use the function of inserting TeX code ...
3
votes
1answer
261 views

Insert TeX code from another Beamer presentation (which uses PGF) into Lyx while composing new Beamer presentation

I'm struggling to insert the TeX code for an older Beamer presentation into one that I'm currently putting together using Lyx. The problem seems to be that Lyx doesn't recognize the package import: ...
1
vote
0answers
63 views

Calling an external script from LyX [duplicate]

Possible Duplicate: LyX: How to add command line option/flag for latex compiling? Is there a way to call an external script with LyX? Something like the math-extern command, that sends the ...
1
vote
0answers
234 views

Making math-extern in LyX behave in display mode like it does in inline mode [closed]

In LyX you have the option to call an external math program(CAS or numerical) on a formula. In inline mode it works fine - it takes the last part of your equation, computes it, and appends it after an ...
3
votes
1answer
2k views

LyX Error: Could not find LaTeX command for character '' (code point 0x2009)

I have been trying to copy and paste some code into LyX (via the 'Program Listings' menu item), and when I compile the document I get the LyX error: Could not find LaTeX command for character '' ...
3
votes
0answers
184 views

How can I force all the equations in a document to refresh in the LyX editor? [closed]

Often I'll use Ctrl+scroll wheel to zoom the text to a different size but this doesn't affect the size of equations that have already been entered (though new equations get rendered at a size that ...
3
votes
2answers
2k views

Alignement in columns and spacing between columns of an equations environment

(Too) Long ago, I had some problems with some equation. I wanted them to look like this (this is how they looked in LyX), but when compiled they looked like this: . What botheres me compared to ...
2
votes
0answers
396 views

LyX handles the bibliography environment incorrectly [closed]

Related to this question: Does someone know, why LyX, when I create a bibliography via the "bibliography" module, inserts as the second argument the title of the bibliography section instead of a ...
2
votes
1answer
301 views

LyX layout for Eurographics

Has anyone used/written/heard-of a LyX layout for Eurographics publications? (e.g., Computer Graphics Forum, Symposium on Geometry Processing, etc.) Eurographics publications provide a LaTeX ...
4
votes
1answer
161 views

Adding a space before each item in a multi-item citation

I am using JabRef with Lyx, and currently when I insert a multi-item citation in my document, it shows up something like this: [8,10,23] in the output, without any space before each item (except for ...
7
votes
1answer
4k views

Is it possible to make LyX generate clickable hyperlinks into the PDF result?

Is there a way in LyX to set up a) a reference to a web resource by URL, b) a reference to another location in the same document, in a manner that turns the reference to a clickable link in the ...
2
votes
0answers
1k views

Lyx - Missing $ inserted repeatedly [closed]

I'm lost in the next problem. I am using the last version (2.0) of Lyx to write up one of my final degree projects full of maths formulas, images, drawings and tables. But at the point I'm on right ...
2
votes
1answer
155 views

How to make an indexed word reference another indexed word in LyX?

The LyX-Wiki tells me that it is possible for an index to reference an other one. A possible output could be Index B Bar, see Foo F Foo, 9 which is invoked by Bar|see{Foo}, so the wiki states. ...
7
votes
2answers
11k views

Stop table going off page

I'm aware that my table is too wide as it keeps going off the page on the right. Is there a way to fix this? I'm using lyx as I am a learner.
2
votes
1answer
702 views

How to find out the counter of theorems etc. in LyX

I have a document that has a lot of theorems - all introduced in LyX via the "Theorems"-Module (for those who don't know LyX, that means, that I didn't define my own theorem environment via ...
5
votes
1answer
1k views

Numbering theorems in the appendix by adding the appendix letter in front/after the theorem number

Can someone please tell me how to make definitions, theorems etc. in the appendix look like Definition A1 or Definition 1A (an "A" should be somewhere), if the appendix is "numbered" with A (meaning ...
1
vote
0answers
333 views

lyx change environment level with keyboard [closed]

Much in the way that the tab key iterates over section levels: Part -> Chapter -> Section -> Subsection -> Subsubsection -> Paragraph -> Subparagraph I would like to do the same ...
3
votes
1answer
1k views

LyX: Equation number overlaps equation

Using LyX 2.0.1, using the book (KOMA-script) class with the "Number Equations by Section" module, I have a long equation (in an equation array) that is overlapped by the equation number: Is there ...
2
votes
1answer
603 views

In LyX, what do I need to do to force bibtex to run?

In LyX, if I make changes to code related to my bibliography or citations (e.g. chaining the citation style in BibLaTeX) these changes are (generally) not reflected in my document until I close and ...
5
votes
1answer
549 views

What shell commands are executed by LyX View menus?

For a variety of reasons, I'm using LyX as my primary LaTeX document creation tool, but I want to avoid doing things or relying on features of LyX that make it hard to use other tools as well. While ...
14
votes
3answers
30k views

Lyx: Quick way to insert Dirac bra-ket

In LyX, what is a quick way to insert mismatched delimiters in math environment? I tried typing \left|\right>, but it is not interpreted automatically.
4
votes
2answers
997 views

Asymmetric quoting in LyX

In LyX, when I enter quoted text, the generated LaTeX source has uses different quotes for left and right: `` for the former and '' for the latter so that "Ugly quotes" produces ``Ugly quotes'' ...
6
votes
1answer
296 views

Clicking on a link I don't jump to the **exact** location of the label, just somewhere around it

When I label an equation and later have a reference to it, then by clicking the corresponding link the pdf I jump to that equation, with the equation being exactly at the top of the page. Same goes ...
1
vote
1answer
765 views

LyX unable to access needed font resources

I'm getting an error in LyX when I attempt to use certain features that require access to font resources, even though these same features work fine in TexShop. For example, if I attempt to enable ...
6
votes
4answers
654 views

Latex not data driven enough, Embed XML+XSLT?

Ok, so I've been using Lyx for about a year now. I haven't really dug too deep in to the LaTex/Tex side of things. I've a little more experience with XML + XSLT. It has a nice seperation of Data from ...
2
votes
1answer
447 views

How can I have subfloats with knitr in LyX?

I have two knitr chunks in LyX that work fine by themselves in their separate floats (this post applies to both figures and tables). But when I try to put them in as subfloats (by selecting both and ...
1
vote
1answer
339 views

How do I reference an object inline in LyX that is in a knitr chunk?

Suppose I have an object that was processed in an earlier knitr chunk, say my_df <- read.dta('somefile.dta') x <- mean(my_df$age) Putting an inline knitr chunk does not work -- the knitr ...
3
votes
2answers
2k views

How can I get capitalised cross references in LyX with refstyle

LyX (v2.03) uses refstyle for cross references. By default if you use the GUI to create a reference it produces source that looks like: \tabref{label1} \figref{label2} which produces an output like ...
2
votes
0answers
244 views

How to add a parameter to a LaTeX class via the LyX layout? [closed]

I want to have this LaTeX document class code produced by LyX: \documentclass[english]{lni} My Layout class looks like this: #% Do not delete the line below; configure depends on this # ...
2
votes
1answer
1k views

Reducing R figure sizes in lyx?

I am using LyX with the Sweave module to generate some R figures within a document. I can't seem to get the figures to be smaller, and they tend to take up half a page which is far too large. I have ...
2
votes
1answer
3k views

How to add a PDF file in appendix in Lyx?

I'm writing a thesys Using LyX, it worked fine up to now. I need to insert a PDF of 4 pages in Appendix, so I looked for a solution. Here in StackOverflow I found a possible solution, using a ...
4
votes
2answers
609 views

Conditional Bibliography in LyX Subdocument

I am using LyX to manage a multi-part document (my thesis) and I would like to be able to produce stand alone sub-documents (e.g. a chapter) that include a bibliography, but only when the sub-document ...
2
votes
1answer
400 views

Bibliography shows citation locations in LyX

I'm rather new to LaTeX and as a result I'm starting out with LyX. The problem is that in my bibliography I cannot get rid of the citation locations. You can see here it sometimes (though not ...
0
votes
1answer
562 views

Mathematica Diagrams in LyX

Is is possible to use diagrams from Mathematica and put them in a LyX document? This is not just restricted to a graph or table. Also, I am wondering if one can import diagrams from wolframalpha to ...
9
votes
1answer
532 views

I wrote an article in Lyx but publishing journal wants it in TeX - Which steps do I take now?

I have written an article in LyX but have been requested to submit in the journals format (detailed TeX package is here) following their instructions from: ...
1
vote
1answer
802 views

Is there a way to position a footnote in LyX without using TeX code “manually”?

I'm using the tufte-latex document class with LyX and would like to adjust the positions of some "footnotes" in my document by specifying an offset. I understand that I can do this manually by ...
4
votes
2answers
516 views

Vertical alignment of tables when using numbered list in LyX

I have a table on my numbered lists but the number is appearing in the middle, I want it to be at the top like normal. This is what it looks like when using tables. (Screenshot below) I've attached a ...
10
votes
1answer
1k views

Numbers and programming code

This happens when I use programming code and enumeration, how can I add a gap between the numbering and the line numbers of the code. I'm using this in LaTeX Preamble: \usepackage{listings} ...
3
votes
1answer
748 views

Representing hyperlinks differently in a single pdf file

Can someone tell me how to color/represent (only internal) hyperlinks in a pdf differently (preferably just by using LyX,i.e. without diving deeper into pure latex) ? For example I would like the ...
5
votes
2answers
946 views

How do I prevent LyX from using fontenc by default?

All of the documents I create with LyX have \usepackage[T1]{fontenc} in the preamble, which causes problems when I use certain classes or try to switch from pdfLaTaX to XeTeX (for example). Is ...