{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
2answers
348 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 ...
7
votes
2answers
801 views

Unicode characters changing order in listings (XeTeX)

I am trying to input code listings with unicode characters and everything seems to work (more or less) except some unicode characters being displayed out of order. For example instead of służąca ...
7
votes
3answers
8k 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
1answer
235 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
258 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
1answer
442 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
2answers
816 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
1answer
251 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
1answer
260 views

minitoc package adds extra page when used with float and lastpage packages

The minitoc package adds extra page when used with float and lastpage packages. I figured out that this problem can be resolved by loading minitoc package before float and lastpage packages. In LyX ...
5
votes
1answer
322 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
4answers
8k 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
3answers
6k 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 ...
5
votes
1answer
500 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
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 ...
5
votes
1answer
2k views

How do I prevent LyX from loading inputenc?

In my (out of the box) configuration of LyX, the line \usepackage[latin9]{inputenc} is inserted in the generated .tex file by default. This makes it impossible for me to set different options ...
4
votes
1answer
457 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 ...
4
votes
1answer
426 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
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
4answers
6k 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, ...
4
votes
2answers
641 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
2answers
5k 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 ...
3
votes
1answer
64 views

Displaying Text Next to Section/Subsection title in LyX

Within a given section (or subsection), I would like my section title to appear on the left and I want the text to appear immediately after the title of the section as in the following example. In ...
3
votes
4answers
456 views

Beginning Thesis [closed]

I am a graduate student in statistics and am about to begin writing my thesis, having finished my analyses and theoretical work. I have used LyX in the past and am well versed in knitr and have some ...
3
votes
2answers
194 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
1answer
311 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
1answer
971 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
0answers
217 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
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), ...
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
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
737 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 ...
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
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
0answers
256 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
1answer
2k 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
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 ...
2
votes
1answer
76 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
0answers
366 views

Biber v1.9 with Miktex 2.9 - Bibliography not displayed [closed]

I am trying to compile my Bibliography, but it dosent show up in the output. I use MikTeX 2.9 & Biber 1.9. Further I have this in my preamble: \usepackage[english]{babel} ...
2
votes
1answer
111 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
0answers
85 views

lyx with background won't load unless I type \newpage after the text

I try to write a document with a background in lyx, I made sure it works on Texmaker, on Texmaker it needed to be built a couple of times and then it got it right but when I try to preview or export ...
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
552 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
429 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
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
2answers
328 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: ...
2
votes
1answer
2k views

LyX: Problem with longtable in landscape

I am trying to embed a longtable in landscape mode. What I have always done is put \usepackage{longtable} and \usepackage{pdflscape} in the preamble, then put the table between \begin{landscape} and ...
2
votes
1answer
365 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 ...
2
votes
1answer
402 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
544 views

LyX BibTeX with child-documents not working

If I insert the bibliography within the child document, it works perfectly. (therefore it cannot be the Databank). But when I try to render the parent document, I get the following error: \citep ...