{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

4
votes
1answer
168 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 ...
8
votes
1answer
8k 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
2k 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
194 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. ...
2
votes
1answer
900 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 ...
6
votes
1answer
2k 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
376 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 ...
1
vote
1answer
387 views

Right-centered columns in LyX

This is very near to my topic: How to align integers on the right, but still center them. However, I do not get it to work under LyX. This is the code I have: \begin{table}[H] \centering ...
0
votes
0answers
346 views

Is it possible to draw simple diagrams with LaTeX/LyX? [duplicate]

Possible Duplicate: Best way to generate a nice function graph in LaTeX? How to draw Venn diagrams (especially: complements) in LaTeX I wonder instead of images, can I have LaTeX/LyX draw ...
4
votes
1answer
3k views

Using PGF in Lyx

I just tried coping & pasting code from How to draw Venn diagrams (especially: complements) in LaTeX and I get errors ... I suppose I need to install/configure Lyx to use PGF/Tikz?
1
vote
2answers
334 views

Misaligned paragraph (after subsubsection)

I'm new to LaTeX & LyX. I find that in LyX, when I have a "subsubsection" then "standard" block of text, it looks like where the immediate line after the subsubsection is aligned with the ...
4
votes
1answer
2k 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
868 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
799 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 ...
3
votes
1answer
3k views

Shortcuts for Lemma, Claim, Theorem etc

I'm using Lyx 2.0.2 I would like to define keyboard shortcuts for creating mathematical sections such as Theorem, Lemma etc. I'm pretty sure those do not exist ...
2
votes
2answers
3k views

Creating Hotkeys in LyX

How I can I create hotkeys for some of the features in LyX? Are there keyboard shortcuts for the "Horizontal Space" feature?
4
votes
1answer
2k 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 ...
4
votes
2answers
2k 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
442 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 ...
2
votes
1answer
977 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 ...
1
vote
1answer
445 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 ...
2
votes
1answer
536 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 ...
2
votes
0answers
313 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 # ...
8
votes
2answers
2k views

Automatically define macros in LyX documents

I'm using LyX all the time and over the last 2 years I've accumulated some very handy macros for my lecture notes. As it is today, every time I start a new document, I copy and paste the macros from ...
8
votes
2answers
4k views

In LyX, is there a way to toggle the display of TeX code in math expressions?

Is there a way to toggle the display of math expressions in LyX between the default, which makes an attempt at replacing TeX code with easy to read symbols (but is short of actual rendering), and the ...
2
votes
1answer
577 views

Problems with character display in LyX

When I type some Romanian characters (ș and ț, to be more specific) in LibreOffice and in LyX, they are not displayed. I just see blank spaces, nothing shows up. However, the same characters are ...
10
votes
1answer
655 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: ...
0
votes
1answer
671 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 ...
1
vote
1answer
971 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 ...
3
votes
1answer
872 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 ...
10
votes
1answer
2k 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} ...
4
votes
2answers
641 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 ...
5
votes
2answers
1k 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 ...
1
vote
1answer
9k views

Best style (.bst) for Harvard bibliography with Natbib using LyX

Learning LaTeX and using LyX. I'm using BibTeX and natbib.sty for citing. Which .bst is the best for Harvard bibliographies? elsearticle-harv.bst is the closest one I have come across. I have tried to ...
6
votes
2answers
6k views

How to make the reference label start with a capital letter?

I have the following lines in my document: In \secref{2}, a very basic review is presented. \secref{3} compares different structures. \secref{3} must start with a capital letter. However, LaTeX ...
4
votes
2answers
4k views

LyX: set width of image to 100% of page width

When I insert an image into LyX and set it to 100% page width, its left side is not at the farthest most edge of the left page. Instead it starts where the text margin is, and since it's too large to ...
2
votes
2answers
4k views

Can you put two matrices in display mode side by side in LyX?

I have two matrices, and I want to render them side by side with appropriate space in between in display mode. How should it be implemented in LyX?
2
votes
1answer
10k views

LyX fancy header \thispagestyle{fancy}

I am using LyX and would like (all) my document pages to have a fancy header style that I defined. However, including \thispagestyle{fancy} or \AtBeginDocument{\thispagestyle{fancy}} doesn't ...
7
votes
0answers
429 views

Can I import existing .Rnw Sweave file into LyX? [closed]

I am trying to import an existing Sweave .Rnw file into LyX. I wonder whether LyX is capable of doing it? My LyX version is 2.02 and I can use its Sweave module with no problem. I find out it does ...
8
votes
1answer
1k views

LyX: how to make two “examples” not separated by a different environment? [duplicate]

I use LyX for some time now, but have not figured out how to put two "examples" (or exercises or theorems etc.) one after the other without having to separate them by a different environment. What ...
5
votes
2answers
5k views

How do you install a module in Lyx?

How do you install a module in Lyx? I find this site is not helpful enough: http://wiki.lyx.org/Layouts/Modules
9
votes
1answer
1k views

Basic kerning with XeTeX

Trying to use custom fonts with LyX, so I started using XeTeX. Unfortunately, It seems kerning only works with certain OpenType fonts (Linux Libertine) but not for others (Doulos SIL or Charis SIL). ...
5
votes
1answer
778 views

How can I revert to the defaults in LyX?

New LyX user here. How can I restore LyX to its original document defaults?* (I have tried reinstalling LyX, but that didn't work.) *I want to do this, because I want to return to the default fonts. ...
5
votes
1answer
14k views

How does one create a title page in LyX?

What's the easiest way to create a good-looking title page in LyX? What I've currently found is a little bit of a hack. It doesn't place the title in the center, and uses raw LaTeX boxes for the ...
2
votes
2answers
540 views

How to change ERT alignment in LyX to “left” instead of “block”?

LyX displays text in ERT layouts block aligned, and there is no "align" parameter for the inset layouts (such parameter exists for styles, and may take values such as Left, Block...). I don't find it ...
3
votes
1answer
1k views

How do I load a custom class in LyX?

I'm interested in making some modifications to a standard class to use as the class for many documents I'm creating, and see that one way to do this is to simply create a "wrapper class". This ...
0
votes
1answer
235 views

date interpretation from numbers to regular

I was wondering if there exists such a package, or an option, to write the date in the form 31.1.2012 for example, and then have LaTeX present it as "January 31, 2012". I am actually using LyX and ...
7
votes
1answer
11k views

Formatting resume in LyX

I am writing a resume in LyX (compiled using MiKTeX). How can I place my name at the top and centered? Also when I output it in PDF, there is always a huge margin space at the top. How can I set the ...
2
votes
1answer
4k views

Creating LyX Layouts – No indents for first paragraphs

Based on article.cls, I created my own Document Class with a new Environment, called "Body." It shows up right when compiled, but it doesn't appear in LyX correctly. It's supposed to have the same ...
3
votes
1answer
7k views

Problem importing .tex file into LyX — ampersands displaying in IEEEeqnarray

I received a .tex file from a user and tried to open this up in Lyx 2.0.2 on Win. After importing it into LyX, the document has ampersand characters everywhere in the equations as though LyX didn't ...