{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

6
votes
2answers
8k 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.
16
votes
3answers
12k views

Converting LyX to LaTeX

I'm working with a colleague who uses LyX (I use LaTeX), and we have a hard time exchanging documents because of conversion issues. Is there any easy way to convert LyX to LaTeX and vice versa?
8
votes
3answers
3k 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 ...
5
votes
2answers
2k views

How to edit tables in LyX?

I have a problem with re-sizing the table in LyX. When I export it to .pdf its too wide so it goes far out of the border. Any ideas on how to shrink it, or make it readable in .pdf? p.s. In LyX, ...
19
votes
4answers
19k 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 ...
11
votes
2answers
1k views

Cornell Notes - A lyx or latex solution needed

I teach academic writing to computing students and one of the tasks they have to carry out is to compile a set of research notes which can then be developed into an essay. I find that the Cornell ...
9
votes
3answers
312 views

Print/Output only Equations/Math Formulas of a Given LaTeX or LyX Document

I have a LyX document filled with text and equations like in a scientific paper. To focus only on the math sometimes it can be really useful to only print/output the formulas and not the text around ...
7
votes
1answer
8k views

LyX & MiKTeX installation problems on Windows 7 [closed]

I'm having problems installing LyX on Windows 7. It gets to the point of alerting me that it's going to install MiKTeX, and after I've hit OK it aborts with the following error: No ...
12
votes
1answer
4k views

What are the benefits and drawbacks of Lyx compared to TeXnicCenter

I'm relatively new to LaTeX and have been using TeXnicCenter. I've heard one or two people rave about Lyx and am debating if I should switch to it. What are specific benefits and drawbacks to ...
8
votes
2answers
619 views

Pythontex workflow with LyX

I've recently learned about PythonTeX (Conference presentation). It's a tool that lets you execute python code in your LaTeX documents. This is useful for, e.g., creating matplotlib figures inside ...
6
votes
2answers
1k 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 ...
4
votes
1answer
657 views

Creating wysiwyg preview for a custom math functions on lyx

Let's say I want to create a "macro" called \limx that will be defined as: \newcommand{\limx}{\displaystyle{\lim_{x\to\x_{0}}}} How can I make LyX recognize it and make an auto-prieview of it? ...
3
votes
1answer
377 views

Refer to label in another chapter (another file)

I am writing my thesis using LyX's thesis template, and each chapter is a different file (chapter-x.lyx). However, sometimes, I need to refer to a section from another chapter, which is in a ...
3
votes
1answer
2k views

poor font quality when exporting to pdf

I use LyX 2.0 and export with pdflatex. When writing standard text and exporting to pdf, the font gets rigid. Text written in math mode, though, is exported crystal clear. I've tested that on several ...
3
votes
1answer
803 views

Nomenclature sorting and latex code coming first

I am using LyX, which uses Nomenclature package, I guess. As you see in the screenshot 1, \hat{p} comes before everything else. How can I send it back where the other p's are? Many thanks.
2
votes
1answer
137 views

IEEEtran Export to PDF version 5 or above

I'm writing a paper for an IEEE conference and am checking the PDF with PDFExpress. One of the errors that I'm getting is that the PDF version of my paper is under 5: I opened the file in Adobe ...
2
votes
1answer
201 views

Parameterised Enviroments in Lyx

Ok, I have a set of structured data that I want to format consistently. In this case a set of spells for a role-playing game. Now in Latex I vaguely remember I could do something using ...
2
votes
2answers
1k 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?
9
votes
2answers
19k 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.
8
votes
1answer
906 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 ...
7
votes
1answer
299 views

Cannot create a table of contents in LyX for a Hebrew document

I'm trying to create a table of contents for a Hebrew document (specifically, with Hebrew section and subsection names) I'm writing in LyX. When I try to compile my file I get a lot of error messages ...
7
votes
2answers
354 views

Modify locally the “array” environment for Equation Systems

When I started to use LyX 2.0.6 I noticed that when an Equation System is needed, there are two options available to typeset it: using the appropriate command on the Math Line cases, or ...
5
votes
1answer
750 views

How do you remove the vertical distance between references in lyx?

Using LyX, a BibTeX file and the unsrt bibliography style. The program automatically leaves an empty line between each reference, wasting lots of space in the process! Is there any way to force LyX ...
4
votes
1answer
196 views

Math mode inside LyX tables

If I insert a math mode environment inside a table cell, then the output will show no vertical space between the borders and the equation, here is an example: Is there any way that will make ...
4
votes
2answers
274 views

Turning parts of text on and off

Is there a way to turn certain parts of the text on and off in LyX/Latex ? I'm thinking of having something like an environment (lets call it "TL" for "traffic light") and a parameter t such that if ...
4
votes
2answers
3k 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 ...
4
votes
2answers
3k 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 ...
4
votes
1answer
4k views

Newline in table cell possible?

I am trying to add linebreaks in my table cell but found that Lyx doesnt allow me to. How can I do that?
3
votes
1answer
270 views

Xetex Hebrew PDF output problem in Lyx

I am trying to compile a document that contains both English and Hebrew. The problem is, that although I have selected Documents | Settings | Use non-tex fonts via XeTeX |LuaTeX, there is no option to ...
3
votes
3answers
268 views

How to obtain “correct” Roman Numerals in ToC

I'm currently writing my second thesis template for LyX 2.0.6 under MiKTeX 2.9, and since I'm using the article document class I have to manually organize the page numbering inside the ToC, LoF, LoT ...
3
votes
1answer
410 views

How to add unavailable document class for LyX on Linux?

I need the IEEEtran document class, and LyX asked for IEEEtran.cls. I have found it googling, now how do I install it? I've found a similar questions but that's for LyX on Mac; but I'm on Ubuntu (not ...
3
votes
2answers
4k views

How to insert logo in LyX beamer?

I am trying to make presentation by using LyX beamer template (already installed in program files). But I am not able in insert a university logo on title page. Hope that some one can solve this ...
2
votes
1answer
126 views

How do I make my bibliography according to harvard-style (author-year, alphabetical by sourcetype…) in Lyx?

I am writing my master thesis using Lyx and I don't know how it would be the best way to set up my bibliography due to the requirements by the university. The Bibliography has to be arranged ...
2
votes
2answers
164 views

How to change font styles in verse environment without setting up a new environment?

This is a related question to: How to change font size in verse environment? Although this answer works very well, it does create a new Verse environment without the inherent functions of the verse ...
2
votes
1answer
253 views

Using breqn in unnumbered equation in LyX

I finally found a way to use automatic line breaking in long math formulas in LyX from the last post in: http://stackoverflow.com/questions/2904807/lyx-breaking-long-formula-lines I soon realized ...
2
votes
1answer
897 views

Shortcut for export PDF on LyX?

Is there a shortcut in LyX for export to PDF? Is there any way to auto export on save?
2
votes
2answers
3k views

Align an image at the right of a text in LyX

I am LyX user and I would like to align an image at the right side of my title but I don't know how..:/ I am using as module "report". I've attached a screenshot in order to illustrate where I want ...
1
vote
1answer
351 views

Making an edit to an inline equation that went off of the screen

I'm using LyX, and I want to make an edit to an equation. Since the inline equation is really long, it continues off of the screen. I'm literally in the dark when I try to edit my work since I ...
11
votes
2answers
3k views

Use xcolor for colored tables in a beamer slide

How can I use a table with alternately colored rows like this in a beamer slide? There seems to be a conflict with beamer and xcolor. I am using LyX too, bonus marks for something that works well in ...
8
votes
1answer
452 views

How to change page number location on ALL pages (including chapter pages) WITHOUT fancyhdr?

Question revised: What must I do to change the page number position on EVERY page (especially for chapters) WITHOUT using fancyhdr? Background and details: I've searched now for many, many hours ...
7
votes
2answers
2k views

Using the same number for repeated use of the same equation

I'm a LyX beginner so please don't worry about stating the obvious. I'm numbering equations by section in my document. That's working fine. However, when I refer to the same equation later on in the ...
7
votes
1answer
749 views

Change nameddest default name

Adobe defines parameters that allow you to open a PDF document with a command or URL that specifies exactly what to display (a named destination or specific page), and how to display it (using such ...
7
votes
2answers
542 views

Can one “fold” part of the paragraphs in LyX

By "folding", I mean condense some part of the codes, and by one click , you can unfold them.
6
votes
2answers
132 views

Putting labels inside section headings

I usually work with LyX, and when I want to label a section (in order to reference it later), I put the label inside the section heading. This usually works, but recently I tried to create an article ...
6
votes
1answer
126 views

Loss of figure subsection numbers when using mainmatter

I recently added \frontmatter, \mainmatter, etc. with the \numberwithin setting for my figures and tables into a document, but now my figures are no longer numbered by subsection on export. Inside ...
6
votes
2answers
723 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) ...
6
votes
3answers
4k 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
2answers
3k views

Setting document width in Lyx

When I view my document in a PDF with pdflatex, my stuff is squished into like only 60% of the page, leaving the rest an ugly, unused whitespace. How do I fixed this (preferably in Lyx)?
6
votes
2answers
583 views

Lyx customized view of command

I have a command definition in my LaTeX preamble: \newcommand*{\code}[1]{\texttt{#1}} But the usage of this command appears as an ERT e.g. \code{select}. I would like this to appear as select that ...
5
votes
2answers
102 views

Finding cross references in Lyx

Is there any way to find all the cross references to a label in a LyX document? One solution is to search through the source file, but I was wondering if there is anything provided in the GUI.