{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
3k views

In Lyx, how to change the “Part” section to “Chapter”?

I am using the default Lyx document "article". My sections range from "Part" to "Subsubsection". When I compile my pdf, I would like to replace "Part 1 Title1", "Part 2 Title2", etc by "Chapter 1 ...
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 ...
4
votes
1answer
2k views

`backgroundcolor` in `lstset` does not work

When I use the backgroundcolor option in lstset, all I get is a colored line above the listing: \lstset{% language=Matlab, backgroundcolor=\color{blue} } and in the document: ...
4
votes
2answers
3k views

Resize large images that exceed page margin whilst respecting existing scale

The solution posted here Scale (resize) large images (graphics) that exceed page margins works great. Just to summarise, Dave Jarvis suggested \usepackage{graphicx} % Determine if the image is too ...
3
votes
1answer
284 views

In Lyx, align text inside a float caption

I'm trying to align a legend inside a table caption, so that the colons are vertically aligned. I can do it with the align ambient outside of the caption, but if I use the same code inside the caption ...
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 ...
3
votes
1answer
1k views

Table, Figure, and Listing prefixes

Background Using LyX and KOMA Script to author a technical manual. Problem The documents are strewn with the following references: \ref{fig:Example-Database-Type} When converted to PDF, this ...
2
votes
1answer
60 views

How do I ensure that linebreaks in URLs occur at the right position?

I am writing my survey report using LyX. In my bibliography section, there is unusual behavior in my pdf. One reference breaks the margin. This is the issue You can see that one line is out of ...
2
votes
1answer
748 views

Table too wide to go out of the page.

I have a table, which seems to be too wide for my page and it pops out of the page border. In lyx, it is like And in PDF, it looks like, it is going out of the page border. How can I address such ...
2
votes
1answer
2k views

Put figure text under images?

In LyX, how can I set a float that contain figure so that the caption is under the figure? By default the caption is always on the left side of figure.
2
votes
2answers
371 views

How to change bibliography to webography in lyx 2.0.2?

I'm writing a report with lyx 2.0.2 and I want to insert in the end a webography which is the same as bibliography but its called webography instead. So what I want basically is either to change the ...
2
votes
1answer
558 views

Package sidecap not working with Lyx 2.0.4

I tryed to use the package sidecap to put the caption beside the immage, I didnt found any other (working ^^) way to do that apart sidecap, but it is not working. I tried to make a new file, ...
2
votes
1answer
592 views

LyX: modify thesis.cls preamble

I'm using LyX and a custom class from Colorado-Boulder which is based on the thesis class. I'm at another school and my advisor wants me to include titles of the readers on the signature page as well ...
1
vote
1answer
480 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? ...
1
vote
1answer
595 views

error while importing tex file to lyx

i'm getting this error message An error occurred while running: /Applications/LyX.app/Contents/MacOS/tex2lyx" -f "nrcd.tex" "nrcd.lyx while importing tex file to lyx 2.0.6 can anyone help please?
0
votes
1answer
759 views

Cross-reference to an entry in the toc?

Is there any way to cross-reference to sections/subsections via their title? I find myself writing "Please see section 4 for more details", and it gets annoying very soon, especially when I have to ...
30
votes
4answers
36k 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 ...
12
votes
2answers
3k views

Can LyX automatically save the PDF output in the same folder?

I use LyX 2.0.4 (on Mac OS 10.7) and would like it to do the following: whenever I hit "View" it should automatically save the pdf output of the lyx file in the same folder the lyx file resides. ...
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.
20
votes
3answers
16k 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?
14
votes
3answers
2k 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 ...
8
votes
3answers
5k 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
4k 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, ...
4
votes
1answer
685 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 ...
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.
10
votes
3answers
15k views

Adjusting space between array rows and columns

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \begin{document} % ... \[ \begin{array}{ccccc} x(1) & = & \frac{x(0)}{1} & = ...
9
votes
3answers
399 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
11k 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
5k 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 ...
9
votes
2answers
945 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 ...
8
votes
2answers
3k views

Package xcolor Error: Undefined colors “Maroon”/“Royal Blue” when master has PDF included classicthesis 3.1

I am using classicthesis 3.1 in Lyx 2.0.6. When I include PDFs in the master document, I receive the following error: ! Package xcolor Error: Undefined color `Maroon'. See the xcolor 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 ...
7
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 ...
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 ...
4
votes
0answers
369 views

Lyx IEEEtran template copyright overlaps text, authors not appearing

How do you make certain that the copyright and publisher id mark are correctly located at the bottom of an IEEEtran template Lyx document when rendered as PDF? I've tried a couple of suggestions but ...
4
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 ...
4
votes
1answer
948 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.
4
votes
1answer
729 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
926 views

How to encoding of Lyx LaTeX output without Lyx adding inputenc declaration to preamble

I want to specify encoding that is used by Lyx when it generates LaTeX source for preview or export. That is not a big problem Document->Settings->Language->Encoding->Other->Select encoding from combo ...
2
votes
1answer
168 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
282 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 ...
1
vote
1answer
222 views

How to frame a figure in Lyx

I use Lyx 2.1. I want to frame the figures. I inserted a simple box and I put the figure inside it. But, I encountered these errors :
8
votes
1answer
1k 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
1answer
397 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
499 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 ...
7
votes
4answers
5k 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 ...
5
votes
1answer
512 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: ...
5
votes
1answer
88 views

How to exclude code from spell-checking in LyX?

I'm writing a technical document in LyX (version 2.0.5.1 for Windows) and I'm using Hunspell for spell checking. Throughout the text, there are code snippets which I've formatted with the "Code" text ...
5
votes
1answer
3k views

Using a new document class/template with LyX?

I tried googling this elsewhere but I'm new to LaTeX and extremely confused about certain things. Basically I downloaded MikteX and I'm using the latest version of Lyx with it. Now all I basically ...
5
votes
3answers
4k views

Use algorithmic in LyX

I'm used to using the algorithmic package in LaTeX, but don't see an easy way to use it in LyX. I even tried this, but it didn't work. Further, it required me to change my document type, which is a ...