{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
2answers
554 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
788 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
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 ...
8
votes
2answers
2k 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 ...
5
votes
1answer
1k views

How do I prevent LyX from loading inputenc?

In my (out of the box) configuration of LyX, the line \usepackage[latin9]{inputenc} is inserted in the generated .tex file by default. This makes it impossible for me to set different options ...
2
votes
1answer
8k 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 ...
5
votes
1answer
842 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 ...
7
votes
0answers
393 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 ...
3
votes
2answers
962 views

LyX and mathspec gives fontspec error, unicode-math no better

I get the following error message whenever using mathspec in LyX ...Package[\eu@zf@math]{fontspec}[2008/08/09] The package fontspec has already been loaded with options: [] There has now been an ...
0
votes
1answer
696 views

Use specific font in LyX

I would like to use some of theese greek fonts in LyX for my thesis: http://aka-acid.com/fontsscript.html I installed the theme but I don't know how to use it in LyX I also installed XeTeX Can ...
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). ...
4
votes
1answer
516 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. ...
4
votes
1answer
10k 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 ...
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 ...
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 ...
4
votes
1answer
4k views

Copy and paste disabled in LyX 2.0

I try to copy and paste in a LyX document I am editing and it says that the command (paste) is disabled. This happens with anything, be it normal text, figures or formulae. I am working on a 64 bit PC ...
0
votes
1answer
192 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 ...
2
votes
1answer
3k 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 ...
2
votes
2answers
2k 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?
1
vote
2answers
3k views

Why is LyX trying to convert every image into eps?

I am trying to insert an image into my document. I tried following formats: PNG, JPG, PDF, SVG (using inkscape) and BMP. No matter what I do I get following error: LaTeX Error: Unknown graphics ...
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 ...
1
vote
1answer
544 views

Keep Format Settings in Lyx

I currently have a resume written in Lyx. I want to make some minor changes to it and just change its content. However, I want to keep the same format (i.e. the same margin, same indentation, etc.) I ...
5
votes
7answers
9k views

Adding empty lines for readability

I'm a new user of LyX, and reading the tutorial I found that I can't add freely spaces and empty lines to the LaTeX code, since it's about formatting the text, and it's done by the compiler. I can ...
6
votes
3answers
17k views

Aligning text in LyX: left/center/right

How can I center/right/left align text in LyX? In Microsoft Word, I can just click the 3 buttons on the toolbar.
39
votes
4answers
49k views

Math symbol question: Vertical bar for ''evaluated at …''

How do I insert the line "|" after the equation in LaTeX (see image below)? I'm using LyX so if you can point me to the symbol of that line is also OK. I don't know if this line has a proper name ...
2
votes
1answer
1k views

How to insert the author of a quotation using natbib and lyx?

Hello all: have a small issue, (btw, i am quite new to LaTeX, so please be gentle :)) When I create a quote in lyx and add a reference to it: % Preview source code for paragraph 52 \begin{quote} ...
3
votes
1answer
6k views

Difference between LaTeX and Word in setting font size

I am working in LyX (compiled with MiKTeX) on Windows. I am a newbie so I am wondering how can I manually set the font (like entering in a number as you would in Microsoft Word).
3
votes
1answer
213 views

Problem with listings-ext [closed]

I am using listings-ext on Ubuntu 11.10 (with LyX) and listings.cfg defines the style colored-code - which I also use in the LaTeX preamble: \usepackage[style=colored-code]{listings-ext} But ...
5
votes
1answer
9k 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 ...
5
votes
3answers
828 views

Two math sections of the same type in a row?

Whenever I try to create two sections of the same type in a row LyX unites them as if they were one. I write a definition, press ENTER for a new line, and then want to write another definition on that ...
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 ...
8
votes
2answers
1k views

Using the xr package in LyX (for cross-referencing an external LyX document)

Question: What steps are required to use the xr package in LyX in order to reference items in other, independent LyX documents? Steps already taken: The tools package (that contains the xr package) ...
8
votes
1answer
1k views

How to number subtheorems hierarchically?

Problem in a nutshell: I'd like to number theorems that are embedded within other theorems' proofs with numbers that indicate the parent-child relationship between the two theorems. Problem in ...
2
votes
1answer
291 views

How to reference list items in another TeX document?

Problem in a nutshell: I would like to reference items in an external LyX document (containing a list of definitions and theorems). Problem in detail: I am a Math student. I maintain a LyX document ...
3
votes
2answers
723 views

XeTeX hebrew problem with LyX

I am using LyX and trying to write in Hebrew using XeTeX. I get the following error messages: undefined control sequence Package polyglossia error Is this a package I should get manually? I would ...
3
votes
0answers
253 views

Wrong numbering persists in LyX [closed]

When I try to organise my notes using Section\Subsection\Subsubsection numeration, I keep getting the wrong numbers in the editor: Previously, I've got help finding the solution to fix this problem ...
1
vote
1answer
307 views

Wrong numeration in LyX Subsubsection

I'm typing my lecture notes in one big .lyx file, and I use numeration to keep stuff organised in the TOC: Numbered Sections for Lectures\Recitations\Tutorials Numbered Subsections for ...
3
votes
2answers
2k views

Lyx nested environments

I would like to put an enumerated list into the body of a Lemma environment, in Lyx. This is what I would have: Lemma 1. First line of the statement i) condition 1 ii) condition 2 last ...
1
vote
1answer
357 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 ...
1
vote
1answer
4k views

Multiple header lines with fancyhdr in LyX?

Is it possible break up a long header or footer line so that they are positioned in two or more vertically aligned lines using fancyhdr? For example I want to break up "This is an example of a ...
3
votes
1answer
1k views

Slow scrolling with Preview on Mac OS X

I've been using Lyx recently, and I've been noticing that the produced pdfs scroll very slowly in Preview, particularly on pages with a lot of text, but it is still noticeable otherwise, even on very ...
9
votes
4answers
6k views

LaTeX error when inserting code listing in LyX

I am currently making a presentation in LyX. After I have inserted some XML code in a code listing, I am getting this error: Paragraph ended before \lst@next was complete. Paragraph ended before ...
6
votes
3answers
4k views

Using LyX, how can I make a 6 column table with the second row having multiple lines of text?

Using LyX, how can I make a 6 column table with the second row having multiple lines of text? I am trying to create the following layout in LyX: I'm using LyX 2.0 for mac. What are ways to ...
1
vote
1answer
415 views

Making the math-insert command in LyX exit the created element

When using the math-insert LyX function to create an element that can contains other elements, the caret ends up inside that cell, and if some text is selected when the function is called, that text ...
2
votes
1answer
1k views

How to edit footnote in LyX

Is it be possible to edit the footnote of the title of the presentation? I want to edit the author name (because by default it comes with department name) and title of the presentation (because it is ...
3
votes
1answer
1k views

Any idea about this Beamer theme?

Which Beamer theme is used in this presentation? How I can use this theme in LyX?
5
votes
1answer
7k views

Making document classes in LyX available

I'm writing a letter in LyX, and I want to choose a document class for it. (I don't like the default letter.) Looking at Document -> Settings -> Document class, I see that most classes are ...
8
votes
3answers
6k views

Table padding in LyX

I'm creating in LyX a table wich has a single character for every cell. Problem is, a lot of space is wasted, because each cell has some padding points which I'd like to reduce. A cell is now big ...
4
votes
2answers
4k views

How to reduce font size of TOC on lyx beamer

I am using a LyX beamer template which can be downloaded from this link. I'm having trouble with a large TOC, which can't fit on one page. How can I reduce the font size of TOC, so that it can be fit ...