{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
546 views

Producing .bbl file with Lyx and JabRef

How do I produce the .bbl file required for arXiv using JabRef for bibtex and Lyx?
11
votes
1answer
2k views

Alternatives to $\backslash$

Background Instead of marking up the text with bold or emphasis, I read (and agree) that it is better to define a command, or environment, that describes the content. Then apply text formatting ...
9
votes
1answer
943 views

Can Lyx syntax files override document class defaults?

I'm editing a client's Latex file in Lyx, where the client has used a document class not supported by Lyx. In these cases, I use tex2lyx with either -c article or -c report to ensure Lyx can import ...
5
votes
2answers
5k views

How to add my name on every page corner in Lyx?

My teacher has asked me to add my name on every page of my report. Is there a nice way of doing this so my name appears in a subtle way?
5
votes
1answer
2k views

Make volume bold in custom bibliography style .bst

Since I could not find the style that met my teacher's requirements for the bibliography I have to do, I created my own bst with latex makebst on my mac. I had chosen to make the volume bold but it ...
5
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
1k views

Add an unnmbered section to the table of Contents in Lyx

I use Lyx 2.1, class document : report. I created a general introduction as unnumbered chapter, but at the table of Contents, the introduction does not exist.
4
votes
1answer
265 views

Transferring Lyx Keyboard Shortcuts

I recently updated my version of Lyx from 1.6.7 to 2.0.6. I would like to transfer my old keyboard shortcuts to this new version, but I am having difficulty because I was inconsistent with the way ...
4
votes
1answer
202 views

includeonlyframes not working in lyx beamer

I am trying to use the \includeonlyframes option in a Lyx file created using the beamer template. but it is not working. ( I am trying this solution. http://tex.stackexchange.com/a/27354/38845 ) Here ...
4
votes
1answer
1k views

LyX - undefined control sequence but package seems to be added

I am using LyX with MikTeX and I am trying to use the following command \oiiint but I am getting the following error: \oiiint The control sequence at the end of the top line of your error message ...
4
votes
1answer
4k 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

`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
4k 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
409 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
811 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
4k views

How to control figure numbering in Lyx

I have a single figure in a Lyx document, and it is part of a paragraph which itself is part of a section. It is expected that Lyx will produce a caption for it as 'Figure 1: ....', however, the ...
2
votes
1answer
91 views

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

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
2k 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
3k 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
505 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
692 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
628 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
196 views

Two fonts for two languages using lyx

I have decided to shift to lyx for simpler use. I use following template. I encountered two problems while trying to customise lyx. 1. The devnagari does not display properly on lyx. 2. I did not ...
1
vote
1answer
734 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
941 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?
1
vote
1answer
800 views

Citation issue, author comma date

I've had a good search around Internet but can't really find anything relevant to what I'm looking for. In Lyx, when selecting a citation options the style closest to what I need is: (Author, ...
0
votes
0answers
40 views

problem with converting into pdf file

I face the problem of converting my file into PDF. Everything was working fine until today. I reinstalled my LYX to 2.1.3. And now when I want to convert to PDF , it does not see my graphs inserted ...
0
votes
1answer
980 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 ...
44
votes
4answers
57k 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 ...
13
votes
2answers
4k 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. ...
14
votes
3answers
3k 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 ...
7
votes
2answers
14k 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.
21
votes
3answers
19k 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?
22
votes
6answers
7k views

What is the difference between LyX and LaTeX?

Currently I am using LaTeX to typeset all my math reports. Recently I found out that LyX also uses LaTeX, which can also generate PDF, accept commands from LaTeX, but is easier to use as it does not ...
15
votes
3answers
38k 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.
11
votes
1answer
3k views

How to change hyperlinks color {Lyx}

I am using Lyx and i would like to change the color of hyperlinks on my bibliography. The default color is pink (at least on report layout , which i am using) Is it possible to change it, to blue ? ...
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 ...
5
votes
2answers
6k 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
982 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 ...
9
votes
2answers
5k 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 ...
9
votes
3answers
537 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
13k 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 ...
6
votes
1answer
7k 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?
13
votes
1answer
6k 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
1k 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
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
1answer
848 views

Automatic width setting in LyX

Is there any preference setting so that LyX automatically adjusts images width to \linewidth when they are added, instead of doing so by hand whenever a new image is inserted?
7
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 ...
6
votes
3answers
6k 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 ...
5
votes
2answers
5k views

Cross reference in LyX

I would like to use the \autoref function in LyX, so that when I refer to a labeled figure or theorem, it is typeset as "Figure #" or "Theorem #". According to this answer, I can redefine the \ref ...