Questions tagged [lyx]

{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.

Filter by
Sorted by
Tagged with
1
vote
1answer
22 views

Lyx automatic index of all occurences of a term

I'm doing a translation of the Zohar (more than 2000pages) in LyX. There are terms that appear a lot in the text and I'd like not to click with the search button to identify all the occurence of a ...
0
votes
1answer
12 views

Add hyperlinks to glossary entries in lyx document

I want to have hyperlinks to my nomenclature, poining to the definition of those. For now I use the nomencl package with lyx, was a pain to set it up, should have used latex in the first place. This ...
0
votes
0answers
13 views

All my document classes are unavailable

I have newly installed lyx on my windows 10 PC. However all my document classes are unavailable. I have tried following the lyx user guide, Google but I still can't solve the problem. Any help please. ...
0
votes
0answers
13 views

Running asymptote code in LyX

I am trying to achieve something in LyX that has been described for Latex in this post-Running asymptote code in latex. When I preview my LyX file with pdflatex, I get a pdf output but without the ...
1
vote
1answer
20 views

referring to initial quote in footnotes in brackets in LyX

In my field, there are some special requirements for quoting which I'd like to implement in my LyX template. I'm working with biblatex. Does anyone know how I could refer (automatically) to a long ...
0
votes
0answers
41 views

How to convert .tex file to .lyx?

I am trying to convert IEEE Access template (access.tex) to .lyx file. I tried to import it, but got the following error. Can anyone please suggest how to convert .tex file to .lyx file? Thank you
0
votes
0answers
22 views

Modifying a LaTeX document on LYX

My professor gives us homework problems as a LaTeX file, expecting us to complete the assignment by adding our solution to the given file. Is there a way to easily import and then edit the file using ...
0
votes
0answers
24 views

how to add variable constraints/text to the right of equations in lyx

With Lyx I can easily create an equation like this. However I can't find a Lyx method for adding additional conditions/constraints for the variables, like this which shows the text "for |x| < ...
2
votes
1answer
33 views

Latex Installation issue

Background to the problem: I am new to Linux and Latex. I had installed Lyx and TeX Studio. My understanding is that some version of Latex through Tex Live was installed. I do not know if it was the ...
0
votes
0answers
46 views

vertical spacing around align* equations to match custom paragraph spacing

Context: I find that I have to add custom vertical space between paragraphs using the Lyx gui. Problem: Normal equations appear fine but multi-line align* equations have incorrect vertical spacing. ...
0
votes
1answer
28 views

Breadcrumbs to equation number in Lyx [closed]

I am using Lyx and I am a novice but I am hooked to Lyx. I have zero background in Latex. Question 1: How can I add breadcrumbs ....... to my equation numbers in Lyx so that when I view a pdf, I get ...
0
votes
0answers
21 views

Lyx : change default list settings to numeric

Current version of Lyx 2.3.4.2, has a list settings as : 1. a) b) I would like to change this default to : 1. 1.1. 1.2. I tried : \setenumerate{label=(\alph*)} in Latex Preamble but that ...
1
vote
1answer
25 views

Math formulas in Lyx do not display nicely

I have a problem in Lyx. When I write a math formula, it is designed only partially and stays in the code level. how do I fix this bug? As an example, here is a screenshot of a diagram: The correct ...
1
vote
1answer
28 views

How to setup auto-correction in LyX to automatically convert <= to \leq?

Is there a way to configure LyX 2.3.4.4 to auto-correct string1 into string2? Specifically, I would like to type <= in an equation and get it replaced by \leq or simply by ≤. I know it can be ...
1
vote
2answers
40 views

How to change the direction of a huge bracket?

I could easily add this to lyx. But how can I change the direction of this bracket? The code for this is the following. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{...
1
vote
0answers
25 views

Frames not showing up at all in Lyx Beamer when compiling

I am trying to create a Beamer presentation in Lyx. I am occasionally finding that certain frames show up as blank when I compile (as in non-of their contents appear--just a blank slide). I am trying ...
0
votes
0answers
15 views

Lyx figures numbering

I would like to use in my first section the figure #6 from another section. The problem is that Lyx automatically index the figures by order (Fig 1, Fig2,..., Fig n, Fig n+1). it is possible to "...
1
vote
1answer
25 views

How can I scale down the size of my table in LyX editor to avoid it going off the margins?

I have a table that looks like this in the editor: However, when I compile the pdf, it runs out of the page margins like this: Can someone please help me fix this? I guess this link is useful but I ...
0
votes
0answers
23 views

Last rows of long table in landscape are not in landscape (lyx)

I have several child documents in which the long tables are properly displayed in landscape when I export each of them individually in pdf format. Nevertheless, when I compile the main document in ...
2
votes
2answers
53 views

Equations whose terms are multiple lines of text

I would like to write a text equation like this: The terms of the equation are text and every one should be written in several lines. Until now I am able to write the equation with text terms of ...
0
votes
0answers
22 views

Apacite mess up whole document formatting

I've installed the apacite package from CTAN, so I can use BibTex for the full bibliography. But at the top left corner, there is now two equal signs, as "==". I can't seem to get it to ...
0
votes
0answers
37 views

epstopdf error in LyX due to wrong $$o and $$i variables

I am having trouble with LyX not converting my files from PostScript to PDF. I am using Ubuntu 20.04, but the issue was there in Ubuntu 19.10, I just did not need the functionality then. Let's assume ...
2
votes
1answer
37 views

How to use the | in multilines of a matrix in LaTeX?

I'm using LyX. I came across with the following Matrix: I could use the following LaTeX for that: \begin{bmatrix}| & |\\ \underline{x}_{1} & \underline{x}_{2}\\ | & | \end{bmatrix} But ...
1
vote
1answer
31 views

How to install elsarticle.cls for Lyx in Ubuntu

How can I use the Elsevier article class in Lyx? I have already installed sudo apt install texlive-publishers, sudo apt install texlive-science and sudo apt install texlive packages. Still I see the ...
0
votes
0answers
26 views

Lyx not rendering some integral symbols

I have been using Lyx for a long time. Recently I have installed Ubuntu 20.04 and LyX Version 2.3.4.2. Everything is working fine, however I have noticed that the \oiintop symbol is not being shown in ...
0
votes
0answers
25 views

LyX: How to put more than one characters in single bra or ket?

I am a new user of LyX and want to write a ket vector with an entry having a subscript or with two entries. I have mentioned the \usepackage{braket} in the LaTeX preamble and am able to use ket ...
0
votes
1answer
72 views

Lyx - screen font of accent decoration too small

I use Times New Roman for screen font on Windows 10 and a 4k monitor. Unfortunately, the accent fonts in the math, e.g., \hat, \tilde, are too small and not visible enough. It is quite inconvenient ...
0
votes
0answers
12 views

Lyx: Cross-reference multiple items at the same time

I'm following this hack to work with cleveref in lyx. However, I want to cross-reference multiple items at the same time (which is supported by cleveref) but, unlike the citation dialog, I cannot ...
1
vote
1answer
28 views

Zero-width space for Persian typing in lyx [closed]

I want to use Lyx to write in Persian. In Persian we have a space character named "zero-width space" or "half-space" and in a standard keyboard, we type it with "Shift-Space" shortcut. It is "U-200C" ...
0
votes
0answers
17 views

Lyx: old math previews are lowered, but new math previews are fine

Not sure exactly the reason, but at some point all of my instant previews is vertically offset, whereas new instant previews look fine. For example, in the pic here, the first show contains a new ...
1
vote
1answer
41 views

Equation label in math preview in Lyx

When I turn on instant preview, equations with labels will compile to something messed up, e.g. The Lyx code looks fine. Is this the intended behavior of instant preview with equation label? If not, ...
0
votes
1answer
45 views

Lyx 2.3.4.2 spell checker not working in Ubuntu 20.04

Recently I installed Ubuntu 20.04 in a computer and Lyx 2.3.4.2. The automatic "on the fly" spell checking is not working even though I have activated it, as seen below: Any suggestion?
0
votes
0answers
14 views

Instant-Preview on Lyx is not working

The Instant-Preview in Lyx is not working. The packages are installed. What should I do to?
1
vote
0answers
27 views

Export and view with lyx

I have control + R for previewing pdf by command "buffer-view". I use Alt+ R to "buffer-export". I would like to export and view by combining thes two commands. I tried short-cuts CTR+R: buffer-view; ...
1
vote
1answer
35 views

How can I bottom justify a table header, and top justify the rest in Lyx?

I'm trying to make a table with the headers bottom justified, and the rest top justified. I can get the headers right, but when I try to top justify any of the remaining rows, it messes up the headers....
0
votes
0answers
14 views

Using Lyx to export documents in “MathJax” compatible way

It's more comfortable writing my questions in LyX then copying the text as MathJax code and post it in MathExchange. the problem is that every time I need to do this copy and paste I need to delete ...
0
votes
0answers
14 views

How to include a PDF in LaTeX with a section only appearing in the toc?

How to include a PDF in LaTeX with its section only appearing in the table of contents and not on the PDF file? And how to do it with Lyx? MWE \documentclass[12pt,a4paper]{article} \usepackage[utf8]{...
0
votes
0answers
11 views

Lyx: how to get German Umlaute in Program Listings using Lyx?

Lyx: how to get German Umlaute in Program Listings using Lyx? literate={{Ö}{{\"O}}1} literate={{Ä}{{\"A}}1} literate={{Ü}{{\"U}}1} literate={{ß}{{\ss}}1} literate={{ü}{{\"u}}1} literate={{ä}{{\"a}}1} ...
2
votes
1answer
57 views

Patch `pmatrix` with optional arguments

I need to patch the math command pmatrix with optional arguments. For example, I'd like to patch the following code, while treating it as immutable. \[ \begin{pmatrix} & a & b\\ c &...
0
votes
0answers
11 views

How to include pdf in LYX with a section, header and footer on?

I want to include a pdf with LYX. Which I can. But how do I get a section title on the first page of the pdf? And how do I include the header/footer I used in the rest of the document on the pdf pages ...
0
votes
1answer
21 views

How to insert code in LYX without it removing the settings?

I open the code box with following command: shortcut for insert a Program Listing at LyX I past my code from gedit. But all it takes all breaks out of it and put it all together on one line. How to ...
2
votes
1answer
60 views

Is there a way to use LyX like iPython notebooks?

Is there a way to use LyX like Jupyter/iPython notebooks? To add code fields and get the outputs? Basically, in an ideal world, I would have a new LyX environment for code. Whenever I execute the ...
0
votes
0answers
27 views

new font for environment in local layout in lyx

in Lyx I want to add new local layout's for: 1- new font: Style myfont Category MainText Margin Static LatexType Environment LatexName fonty ...
1
vote
2answers
43 views

Lyx, Is it possible to hide a section in editing mode?

im working on a paper and sometimes i get pretty lost in in, is it possible to close some parts down only while editing? example: in code editors like pycharm the is an option to close an indented ...
0
votes
0answers
35 views

Lyx watermark image adding

I have looked this and many other community for lyx watermark. I am learning lyx, installed xwatermark, also background, used few codes as found on this community and others, but none worked well with ...
2
votes
1answer
40 views

Writing reverse cases in Lyx

The basic cases environment looks like { However, I want to make it } I learned how to do it using just tex at How to put a brace on the right, not left, to group cases? But how can I do it ...
1
vote
1answer
30 views

LyX: Two exercises one after the other with nothing in between with the Theorems module?

I'm writing lecture notes in LyX, and I want to add automatically numbered exercises to each section, using the module "Theorems (Numbered by Section)". I want to have several different exercises at ...
0
votes
0answers
55 views

LyX with XeTeX refuses to use the italics version of David CLM

I've been using a setup of LyX with XeTeX on my laptop and it's been working just fine. However, I installed it on my desktop (with the same fonts, packages, everything) and I've noticed that whenever ...
0
votes
1answer
33 views

Lyx: british english

I'm not able to get the spell checker on British english. I have: Document>Settings>Language: Language = English (UK) Tools>Preferences>Language Settings>Spellchecker: Spellchecker ...
1
vote
1answer
24 views

How can I align the first line of a description list with the rest in LyX?

I'm new to LyX. How can I achieve the list style reflected in the second picture?

1
2 3 4 5
53