{lyx} is for questions specifically about the LyX document processor. Do not use this tag if the problem can be reproduced without LyX, for example, if the question is a (La)TeX issue rather than a specific LyX problem.
14
votes
2answers
830 views
Can I think of LyX as a LaTeX IDE?
Can LyX be used as an IDE for LaTeX? I am considering using LyX instead of Emacs to write my LaTeX papers. Emacs is powerful editor/IDE which helps me be more productive while writing LaTeX. LyX looks ...
11
votes
4answers
5k views
Scale (resize) large images (graphics) that exceed page margins
Background
A large number of screen captures have been scaled 300% at 288dpi. They appear correctly when embedded in OpenOffice, but not LyX.
Problem
Images that do not extend beyond the margins ...
12
votes
2answers
3k views
Use a quality glossary and acronym list in Lyx
The question How to combine Acronym and Glossary shows us how to make a great glossaries and acronym lists. I would like to use a quality glossary and acronym list in Lyx.
This may be too large a ...
3
votes
1answer
1k 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 ...
30
votes
6answers
2k views
Writing readable LaTeX
Lets say I have the following LaTeX code
\subsection{Convex sets}
A set \( \mathcal{S} \)
in \( \mathbb{R}^n \)
is said to be convex if
\[ \mathbf{x}_1, \mathbf{x}_2 \in \mathcal{S} \implies \lambda ...
11
votes
4answers
3k views
How do I get started with LaTeX on Windows XP?
My only knowledge of LaTeX is that it is a markup language that lets me concentrate on the structure of my document rather than its appearance. It uses tags similar to HTML.
My problem is that I've ...
8
votes
3answers
4k views
How can I center all tables in a document?
Background
Would like to center all tables within floats, without having to add \centering to each table.
Ideas
Tried the following:
\let\originaltabular\tabular
...
13
votes
2answers
3k views
Create new paragraph style in LyX
Background
In OpenOffice and Microsoft Word it takes seconds to create a new paragraph style. Here is how I currently use LyX with the KOMA Script document class to mark text as a quotation:
Type ...
3
votes
2answers
1k views
Shortcut for “vertical space” in LyX
Has someone got an idea what the shortcut is/where I can create one for the \medskip{} command (or any other command, that generates a vertical space in my document)?
I looked in ...
5
votes
3answers
4k views
Rename “Algorithm” to “Listing”
Background
Syntax-highlighted source code image listings are being used as Algorithm floats with the lst: prefix for captions.
Problem
The following LaTeX code in the preamble renames the caption ...
8
votes
1answer
2k views
How to create (1) a new Environment for LyX's Environment drop-down menu, (2) a new Text Style
My two part question pertains to LyX.
How do you create a new "Environment" ("Paragraph Style") for LyX's Environment drop-down list (Standard, Itemize, Enumerate, Chapter, Section, Subsection, ...
6
votes
2answers
2k views
LyX: How to add command line option/flag for latex compiling?
I'm using LyX 1.6.9 with MikTex on Windows XP.
I want to use the "minted" package (for colored listings). This package uses Pygmentize to color the output. However, to do so, it uses ...
3
votes
1answer
670 views
Regression tables made with esttab in Stata have columns with different widths, using LyX
I am relatively new to LyX and I am trying to output regression results into TeX code, and then insert the resulting tables in a LyX document.
The command I use to create the table is:
reg y1 x1, ...
11
votes
1answer
990 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 ...
6
votes
1answer
148 views
Condense the space between bibliographic entries
In order to save space, I would like to condense the bibliography, specifically, reduce the amount of vertical space between entries. Currently, it seems there is double-space between consecutive ...
4
votes
1answer
752 views
Numbering equations with LyX
I am using LyX with layout report for my thesis.
I would like to have numbering on my equations but dont know how to do it.
I'd like the first number to show the chapter and the second one the number ...
4
votes
1answer
849 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
2k 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
813 views
How to apply alternate row coloring in a longtable in LyX?
In attempting to apply an alternate table row coloring (using xcolor) in a longtable, one confronts, sooner or later, problems in compiling a PDF. In xcolor's documentation it is clearly stated, ...
3
votes
1answer
498 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
2answers
750 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 ...
3
votes
1answer
8k views
Lyx Templates site
Does anyone know of a site which collates Lyx templates and provides previews of how they look?
I don't just mean thesis layouts but also letters, essays and all sorts.
Many thanks in advance.
2
votes
1answer
163 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
2answers
311 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 ...
9
votes
3answers
165 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 ...
6
votes
3answers
2k 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 ...
14
votes
3answers
7k 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?
11
votes
1answer
2k 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
1answer
768 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 ...
4
votes
1answer
518 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
225 views
Ruled Algorithms in columns/minipages
I'm using Benoit Guillon's algo styles for Lyx (at http://bgu.perso.libertysurf.fr/) in 2.0 to get nice algorithms ruled with line numbers. This is just a wrapper for the algorithm and algorithmic ...
3
votes
1answer
602 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
70 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 ...
8
votes
2answers
7k 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.
4
votes
2answers
1k 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
2k 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 ...
2
votes
2answers
94 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
89 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
441 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?
2
votes
2answers
3k 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 ...
9
votes
1answer
640 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 ...
6
votes
1answer
484 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 ...
6
votes
2answers
2k 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)?
5
votes
1answer
284 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
265 views
Similar header format for my company
I need to reproduce the following header format:
Please help; I'm a completely starter at LaTeX or TeX. I work with LyX and this is included in the document's preamble:
\usepackage{fancyhdr}
...
5
votes
2answers
1k 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 ...
5
votes
2answers
400 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 ...
4
votes
5answers
3k 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 ...
4
votes
1answer
2k 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?
4
votes
2answers
3k views
Using jabref generated bibliography with lyx
I'm using a jabref generated bibliography in lyx according to the following instructions:
http://ubuntuforums.org/showthread.php?t=477632
It works well, except for one type of error which I cannot ...