{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

7
votes
1answer
498 views

Clicking on a link I don't jump to the **exact** location of the label, just somewhere around it

When I label an equation and later have a reference to it, then by clicking the corresponding link the pdf I jump to that equation, with the equation being exactly at the top of the page. Same goes ...
6
votes
1answer
266 views

How do I realize an arrow representing “line numbers” in LyX?

I want to draw an arrow, who shall represent line numbers like in the following screenshot. I struggeled with xymatrix, but this doesn't seem to be the right approach. Any ideas?
6
votes
2answers
834 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 ...
6
votes
4answers
3k views

LyX is leaving a big gap between paragraphs in the place where float (figure) should be

I just want to ask about why is LyX leaving a big gap between paragraphs surrounding a figure?. Not all paragraphs, but only between those paragraphs where I inserted a float (figure). The figure is ...
6
votes
3answers
5k views

Using LyX, how do you put a table and a figure side by side and caption them Table XX and Figure XX?

I have found solutions for them to be done in normal TeX, but how do I do this in LyX? What I wish to obtain is something like that shown in Table and Figure side-by-side with Table caption above, ...
6
votes
1answer
244 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
1answer
7k views

single column abstract in an article and delete date below title

I am using LyX to prepare my journal for publication using article style. I use double column article. When I choose abstract from left panel, the abstract turns out to be in left-column in double ...
5
votes
1answer
336 views

LyX: Paragraphs ignored in PDF output

I have a document with article class. Here's the minimal example: #LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass article \...
5
votes
1answer
290 views

LyX “table” not capitalized IEEEtran

It seems I'm having a lot of issues with using the ieeetran class in Lyx. Currently the word "Table" appears instead of "TABLE". Each of the letters is supposed to be capitalized, but right now just ...
5
votes
4answers
9k views

equations that are too large to fit on one line

I have an equation that is too long to fit on one line: x = a + b + c + d + e + f as an example of what it looks like. What is the correct way to handle this? Do i break it up over multiple lines? ...
5
votes
1answer
509 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
3answers
7k views

lyx shortcut for superscript and subscript

Instead of using the menu for Insert->Formatting->Superscript or Subscript, I would like to use a keyboard shortcut. I tried Tools->Preferences->Shortcuts, there are already shortcuts for math-...
5
votes
2answers
2k views

Lyx 2.0 Formatted references to theorem/lemma/claim environments

In Lyx 2.0, I'm trying to use a formatted reference to a claim, but I cannot get the "formatted" part, i.e. I can't get it to typeset "claim" as well as the claim number. I'm using modules "Theorems (...
4
votes
1answer
42 views

Lyx: Reduce vertical spacing of items [in UI only]

I like to use lists to structure my ideas before writing them down. To organize these notes it is very convenient to have shortcuts to exchange and change the level of indentation (just as in Emacs ...
4
votes
2answers
654 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 ...
4
votes
1answer
2k views

Removing a page numeration from Table of Contents

In LyX, how can I make the pages numbers start from the second page? (i.e., making the first page, which is the table of contents in my case, not having a page number on it)
4
votes
1answer
469 views

Combining threeparttable with cross references - LyX

I was wondering if there was a known issue with combining threeparttable with cross references inside a float. I have my labels inside the table captions, and this works just fine unless ...
4
votes
1answer
1k views

LyX TeX Table too big

I am including a TeX file into a LyX document using Insert -> Child Document. The Table looks fine on the LyX screen but when I preview the PDF it is 10 times too big. Not sure how to fiddle with the ...
4
votes
4answers
7k views

LyX: add multiple authors

In Lyx, I have to insert 3 authors in an article. For each one of them I will have to specify their email address and the university they belong to. Two belong to the same one: author_a, author_a@...
4
votes
1answer
484 views

Lyx: Works Cited + (separate) Annotated Bibliography

I'm using mostly default settings in Lyx. How can I create two distinctly titled sections at the end, one for "Works Cited" and the next for "Annotated Bibliography"? Also, if I have normal "...
3
votes
1answer
2k views

Thesis template - LyX

I have two questions and I cannot find a solution up to now: I open a predifined template from thesis (i.e. chapter-1.lyx) and all the mathematical equations that I insert with Ctrl+Shift+M are ...
3
votes
1answer
1k views

Footnotes: Label in paragraph, text somewhere else?

TL;DR: Is there a package that allows writing the text of a footnote after the position where the mark should be inserted? Note that I'm asking about positioning of source code, not about positioning ...
3
votes
1answer
3k views

Noun in math mode

this is propably an Ubuntu packaging error; but just to confirm... \documentclass{article} \begin{document} $\noun{name}$ \end{document} ... this works on your texlive (2009) distribution with ...
3
votes
1answer
1k views

Error, command already defined - IOP article with mhchem [duplicate]

I am using LyX to prepare an article. The document class is 'IOP article' and I am using the mhchem package to typeset chemical formulae in the paper. I include \usepackage[version=3]{mhchem} in the ...
3
votes
0answers
258 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 ...
3
votes
0answers
36 views

footmisc hang and multiple only work with english document langage [duplicate]

When I set the document to my local langage, French, and with appropriate quote style in LyX, this preamble doesn't work (neither hang nor multiple, which other options do work), \usepackage[hang,...
3
votes
2answers
3k views

Alignement in columns and spacing between columns of an equations environment

(Too) Long ago, I had some problems with some equation. I wanted them to look like this (this is how they looked in LyX), but when compiled they looked like this: . What botheres me compared to ...
3
votes
1answer
4k views

Insert Abbreviations in LyX document

I would like to generate the abbreviations entry in the report written in LyX. I could not find it. I would like to know 3 things : Insert the abbreviations table in the TOC. Insert the ...
3
votes
1answer
1k views

Citation Style in LyX

I am using LyX on Max OS X. When I insert a citation and I compile the document I get a reference number between square brackets that matches the number of the reference in the bibliography section. ...
3
votes
1answer
332 views

How do I install a custom .cls and .bst file on Fedora 20?

I would like to add a .cls and a .bst file to texlive that will then be found by LyX. Is there a preferred way to do this? I would prefer a solution that will last a while / won't have to be fixed ...
3
votes
2answers
227 views

Remove header from the page after TOC and LOF

I am using Koma-script book document class, twosides, and I also use the package \fancyhdr to modify my pages. The problem is that header appears both in the next page after TOC and after LOF, so I ...
3
votes
0answers
241 views

How can I automatically copy a LyX-generated .aux file to the working directory for cross referencing?

This is a follow up to: Using the xr package in LyX (for cross-referencing an external LyX document) I have two LyX documents, called draft.lyx and supplement.lyx. I need to compile them into ...
3
votes
1answer
765 views

How can you place a figure caption inside a table using LyX?

I have 3 graphs I would like to use in a LyX document. In order to save space I have placed the 3 graphs into a 2x2 table and in the final box I have inserted the figure caption. When I try and ...
2
votes
1answer
3k views

LyX and Nomenclatures

I'm using LyX and trying to use the nomenclature package to insert a bunch of acronyms into my document. I've inserted a Nomenclature table (Insert -> List/TOC -> Nomenclature). I've then created a ...
2
votes
3answers
1k views

LyX: How to combine two math symbols? [duplicate]

I'm a new user of LyX. I'm using it to write math lectures. How can I make a new symbol from two existing ones? To be more precise, how can I create this: It's a subset with a circle in it (\...
2
votes
1answer
491 views

memoir margins and hyperref

I'm trying to use the hyperref package with the memoir class but the bottom margin of the document is no longer 2 cm as I set it. Rather, it seems like there is no margin at all. When I remove the ...
2
votes
2answers
356 views

Double header in longtable

I'm trying to make a longtable and use some R tools for generating them. The problem is that when a long table has more than one columns, it creates double headers, as shown here: http://stackoverflow....
2
votes
1answer
464 views

Why does LyX flag the following maths macro definition as an error?

The following macro is the LaTeX equivalent of a macro that I defined using the LyX maths macro facility. \global\long\def\fdd#1#2#3{\mathscr{F}^{\left(#1\right)}\left[#2_{#3}\right]} LyX comes up ...
2
votes
1answer
1k views

LyX unable to access needed font resources

I'm getting an error in LyX when I attempt to use certain features that require access to font resources, even though these same features work fine in TexShop. For example, if I attempt to enable "...
2
votes
2answers
24 views

How to do \hrulefill in LyX without a TeX inset

A very similar, but significantly different question is LyX command(s) to insert WYSIWYG horizontal line, for keyboard shortcut. I'm trying to achieve the effect of \hrulefill in LyX, without ...
2
votes
2answers
1k views

Lyx bibliography displaying section number

I am using LyX to write my thesis. I am using a BibTeX Generated Bibliography (generated in Jabref) which works fine. I just have one problem, in the actual PDF, the Bibliography section after each ...
2
votes
0answers
381 views

TikZ in LyX - compiles, but acrobat says the pdf has an error [closed]

I'm using LyX. I'm trying to use TikZ for the first time (to draw graphs, specically - trees). The LyX code compiles and the pdf is created, but when I open the pdf, Acrobat reader says: "An ...
2
votes
2answers
455 views

Description Environment options in LyX

The code given here can be used to adjust the items and text in description environment. I wonder how to use these options [leftmargin=!,labelwidth=\widthof{\bfseries The longest label}] with beamer ...
2
votes
1answer
2k views

Lyx on Ubuntu 14.04: Spell checker has no dictionaries

Situation: I'm trying to spell check for German in Lyx on Ubuntu 14.04. Currently I'm having Enchant selected under Preferences, but I'm open to any alternative to gain "in document" spell checking ...
2
votes
1answer
117 views

Page numbers at the bottom in lyx

How to add page numbers at the bottom center of page in LYX? The page numbers are not coming properly. The document class is book. By adding the following code in preamble \usepackage{scrpage2} \...
2
votes
1answer
5k views

Fractions with `\dfrac` cause compile error

I'm new to LyX. I'm writing my next homework with it to give it a try. My example code is below: % Preview source code %% LyX 2.0.5.1 created this file. For more info, see http://www.lyx.org/. %% ...
2
votes
1answer
626 views

Changing Theorem(AMS) in Lyx

I use the theorem(AMS) module in Lyx. If i use the Lemma, Definition etc. enviroment then Lemma for example is written in bold letters. If i use the remark enviroment its in italic. I would like to ...
2
votes
2answers
933 views

Hyperref to external file in LyX

I have two separated folders, each includes LyX files with the needed attachments (pictures...etc.) , I found that I need to to use zref-xr package to make hyper cross references between those files (...
2
votes
1answer
121 views

\swapnumbers in lyx

I'm using LyX 2.2dev on Mac together with Theorems (AMS), Theorems (AMS-Extended), Number Equations by Section and Theorems (Numbered by Sections) modules. I put \swapnumbers in my LaTeX preamble, but ...
2
votes
1answer
471 views

How to generate a database or reference in bibliography?

I am new to LyX. I want to add bibliography but I don't have any database to insert. So how can I type the references directly in LyX or how to create a database and then insert it? Also is there any ...