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
0 votes
0 answers
25 views

Disable LyX preamble

In LyX, I would like to know if there is a way, for a given document, to disable all parts of the preamble that LyX adds automatically, leaving only the user-defined preamble before compilation occurs ...
user avatar
0 votes
0 answers
23 views

How do I change the font type in the table of contents in LyX

Hi all I would like to change the font type of my table of contents of a document written in LyX to Calibri (I have it installed and the rest of my document is in calibri) Document class: Article Page ...
user avatar
0 votes
0 answers
42 views

texlive 2022 failed to install

I installed texlive 2021 iso several times in windows 10 and no problems. but when I try to install texlive 2022 iso I found the following : Installing to: C:/texlive/2022 Installing [1/6, time/total: ...
user avatar
0 votes
1 answer
40 views

Add two text column into a frame

I'm new to Latex and to Lyx as well. I'm trying to create a frame in Lyx containing 2 columns, the first one being JSON formatted text, and the second one being comments of the lines of the fist ...
user avatar
  • 103
1 vote
1 answer
11 views

Theorems (AMS, Numbered by Type) Grayed Out in Lyx

I am using Lyx with AMS article document class. Right now all my theorems, lemmas, propositions, etc. are numbered with the same counter. I would instead like them to be numbered by type. For example, ...
user avatar
  • 167
0 votes
1 answer
36 views

How to create a new type of AMS math environment e.g. Axiom instead of Theorem?

Lyx/Latex beginner here. I'm using Lyx with an AMS article document class. How do I add a new type of math environment such as Axiom? They have Theorem, Definition, Proposition, etc. but I want axiom, ...
user avatar
  • 167
1 vote
1 answer
21 views

How to write two theorems in a row in Lyx (or two of any AMS math environments) in a row

Lyx/Latex beginner here. I'm using Lyx with an AMS article document class. I want to write a lemma with the text "text 1" followed by another lemma with the text "text 2". When I ...
user avatar
  • 167
0 votes
0 answers
26 views

LyX cannot instant preview / reconfigure. Frequent crash after the update macos 12.3.1

I found that after the recent macos update(Monterey 12.3.1) I cannot use instant preview in LyX any more. There are several other problems including unable to reconfigure, unable to rescan in Tools/...
user avatar
  • 1
0 votes
1 answer
63 views

Multiple references to the same footnote

I need to refer the same footnote in different lines. I am using scrbook class. I read Reference different places to the same footnote and tried in following way: First time referencing\footnote{\...
user avatar
1 vote
0 answers
67 views
+50

LyX: Using \PassOptionsToPackage in LyX

Wondering how to use \PassOptionsToPackage in lyx for beamer. Using t, unknownkeysallowed, compress, xcolor=dvipsnames, notheorems under Custom in Document Class in Document -> Setting ... as ...
user avatar
  • 8,349
0 votes
1 answer
44 views

LyX: Index title does not align with section titles

When adding an index in a LyX document, the title "Index" (or its modified name) does not vertically align with other section titles in the output. There is more vertical space above it. ...
user avatar
  • 101
0 votes
1 answer
56 views

How to write nested if else statement inside function

I am trying to write the following algorithm in LaTex using algorithm2e package. \IncMargin{1em} \begin{algorithm} \caption{An example} \SetNoFillComment \DontPrintSemicolon \BlankLine \SetKwInOut{...
user avatar
0 votes
1 answer
64 views

How to write a math function in LaTex

I am trying to write the following in latex. Would anyone please suggest me the command? Thank you.
user avatar
0 votes
1 answer
27 views

Multi-row equations aligned to the left in lyx

I'm trying to make a multi-row equation in LyX, but in order to do so, I have to center the equations (i.e. ctrl+shift+m), and I want them to be left-aligned. I found answers about using flalign, but ...
user avatar
  • 11
0 votes
2 answers
55 views

How to make frame decorations bigger?

It is very small and often I can't see them. For instance, those tildes: \tilde{g}_{ij}\de{\tilde{x}^{i}}{x^{k}}\de{\tilde{x}^{j}}{x^{l}}
user avatar
1 vote
1 answer
41 views

Forcing a new line in math typing - LYX

When writing a long math sentence, the writing goes beyond the end of the page: When all I write in the file is: Is there an easy way to force a new line without actually go to a new line? Or a way ...
user avatar
0 votes
0 answers
16 views

LyX Heading interfering

How can I make a header like in Img.1 in LyX, I tried adding it like in Img.2 and what I get is in Img.3, as you can see it is interfering with the text.
user avatar
1 vote
2 answers
33 views

Prevent LyX from escaping math in color box title

I'm trying to include some math in tcolorbox title, but LyX keeps escaping them. For example: Color Box Options: title={$\psi_{T}$} gives \begin{tcolorbox}[title={\$\psi\_{T}\$}] But I want \begin{...
user avatar
0 votes
0 answers
12 views

Lyx IEEEtran — how to align three authors at the same row, I cannot edit the lxy source code

I try my best. I have searched many methods, like this enter link description here,but I cannot not modify its code \newcommand{\linebreakand}{% \end{@IEEEauthorhalign} \hfill\mbox{}\par \mbox{}\hfill\...
user avatar
  • 1
1 vote
1 answer
50 views

Lyx with \graphicspath BAD, identical LaTeX with \graphicspath GOOD. Possible bug?

Consider the following MWE: I have a LyX file /home/user/latex_files/main.lyx, where I have used \graphicspath{{./img/}} to set the (relative) path for all my images that I want to include in my file ...
user avatar
  • 2,207
1 vote
1 answer
46 views

Lyx 2.3.6.1 on windows 11 does not show IPE preview

In Lyx 2.3.6 under windows 11, the IPE preview does no longer appear, while it did so in windows 10. All other types of figures appear. What I tested: The ipe convertors work when called from the ...
user avatar
  • 21
0 votes
0 answers
32 views

A multi-page Matlab code in Lyx

I recommend using matlab-prettifier package (see https://tex.stackexchange.com/a/158816/586), which only provides a style for the listing package. This will give you a good highlighting of Matlab code....
user avatar
0 votes
0 answers
35 views

How to install LyZ on Lyx?

For those who don't know LyZ is a Zotero plugin for managing references in LyX. On their Github page, they have instructions to setup LyZ in Lyx. They say (in Windows) set LyXServer pipe as \\.\pipe\...
user avatar
1 vote
0 answers
28 views

LyX: How to enumerate resume at second level?

What do I do to change the blue "1." to "(b)"?
user avatar
  • 111
0 votes
1 answer
72 views

Does Lyx support exercises throughout the text of a textbook whose solutions are written after each exercise but printed at the of the textbook?

I am writing a textbook in Lyx that includes (a) exercises throughout the text of the chapters and (b) additional exercises at the end of each chapter. The end-of-chapter exercises will be formatted ...
user avatar
1 vote
1 answer
45 views

How to display multiline equations line by line in LYX (beamer)

I have slide with long equation (eqnarray environment, see screen) and I would like to display each line separately in my .pdf file. How can I do that in LYX?
user avatar
  • 13
0 votes
0 answers
27 views

Problem pdf preview LyX in mac OS 10.15

I have just downloaded MacTeX and LyX. Problem: the view button is shaded and disabled... I can't generate a pdf preview of the file or export it! Do you have a solution to this problem? Thank you ...
user avatar
  • 1
0 votes
1 answer
51 views

LyX font size in unreadable

I install LyX but the font size in program is unreadable (screen). How can I inncrease it?
user avatar
  • 13
2 votes
1 answer
82 views

Using tabularray by defining "\\" in a different way

I want to use tabularray tables in lyx by redefining tabular environment. For this aim, I need to use \tabularnewline instead of \\ by \providecommand{\tabularnewline}{\\}. But, if I do this, the ...
user avatar
  • 1,627
0 votes
0 answers
61 views

LyX inputenc error and how to look for a line

everybody. I am having the following error in Lyx when trying to view the PDF. ! Package inputenc Error: Keyboard character used is undefined (inputenc) in inputencoding `latin9'. I ...
user avatar
0 votes
1 answer
45 views

fancyhdr troubles with left and right page footer

I am writing a book with LyX Version 2.3.6.1 (+TexLive 2021) I have choosen as Document Class in Lyx book standard but I do not like the default page numbering bottom-centered so I use the possibility ...
user avatar
  • 1
0 votes
1 answer
41 views

Make all English text in typewriter family in LyX

I'm writing a document in two different languages in LyX and want all English text to appear in the typewriter family (not necessary in the LyX editor itself, but in the output file). Is there a way ...
user avatar
  • 3
1 vote
1 answer
26 views

LyX adds unwanted sorting key into index entries

I am writing a document in the memoir document class, using LyX. The document main language is Hebrew (minority of the document is in English), and I use polyglossia and XeTeX to handle the languages, ...
user avatar
  • 298
0 votes
0 answers
27 views

Problem with conversion from LyX to PDF

I received this error message: !pdfTeX error: pdflatex.exe (file eufm7): Font eufm7 at 600 not found Indeed I used \mathfrak which is written in this font. Let me also paste the preamble before \...
user avatar
2 votes
0 answers
39 views

automatically justify text within a nested description environment LyX

I am trying to use LyX to generate the following. I am using LyX, article class and the enumitem package. I would like to have the text information in the lists to be aligned automatically by ...
user avatar
1 vote
0 answers
31 views

How to reference a figure/table from one lyx file in another lyx file?

I have two lyx files. File1.lyx and File2.lyx. I want to reference the pagenumber of the conclusion, for example, from File2.lyx in File1.lyx. When I insert cross-ref, it gives back Page ?? because ...
user avatar
1 vote
0 answers
33 views

Centering the graphics inside figure in LyX

LyX allows the user to insert figure floats and graphics. However, I want my figures to be inserted as the following LaTeX commands: \begin{figure} \centering % <-- New \includegraphics{path-to-...
user avatar
  • 298
1 vote
0 answers
37 views

LyX and Sagemath: Can't update/export from file using Sage module

I have started to use LyX recently and enjoyed it very much. I became very interested in the possibility of integrating Sage(math) commands into the document. But then I became stuck, unable to export ...
user avatar
  • 11
1 vote
1 answer
38 views

Preserving line breaks and paragraph ends when pasting to LyX

When pasting (Ctrl+V) text in LyX all line endings are removed. When pasting as special text (Ctrl+Shift+V) all line endings are replace by paragraph ends. I have text that has both paragraphs and ...
user avatar
  • 113
2 votes
0 answers
30 views

Can't do texlive package updating

tlmgr command doesn't work. As was instructed by this page on texlive (https://tug.org/texlive/pkginstall.html), I typed commands to update texlive packages but none of them do any job. I type it, and ...
user avatar
1 vote
1 answer
35 views

Insert enumerate items inside a theorem environment, in LyX [duplicate]

I want to create the following code in LyX: \begin{exercise} Prove that blah blah, and show that: \begin{enumerate} \item first item \item some second item \end{enumerate} \end{exercise} I ...
user avatar
  • 298
0 votes
0 answers
28 views

"XX.sty not found" error happening for so many style files that worked well before

When I try to export lyx file to pdf, I am seeing so many errors like this LaTex Error: File `blindtext.sty' not found Then I give up using this, so I delete "\usepackage{blindtext}" from ...
user avatar
2 votes
1 answer
45 views

Create a list of exercises or any other theorem environment in LyX

I want to create a list of exercises in my LaTeX document that I am writing in the LyX editor. If one were to write it in plain LaTeX, he would obviously write two exercise environments in a row: \...
user avatar
  • 298
1 vote
0 answers
27 views

Lyx language problem in the captions

I'm writing a document by lyx, but I've a problem. I setted: Document->Settings->Language->"English" In the Latex preamble I wrote "\documentclass[english]{book}" and &...
user avatar
  • 11
0 votes
0 answers
32 views

Exporting LaTeX from Lyx

I am using LyX 2.3.4.2 (2020-02-07) to produce LaTeX sources under Ubuntu 20.04. Formerly, I could export my .lyx file to .tex. Recently I added a new figure, the first one. First I attempted to add ...
user avatar
  • 1,377
0 votes
0 answers
33 views

Unwanted Blank Pages Caused by \chapter*{} and flushleft Commands

I have a Lyx document that consists of a master document and 7 child documents. When I compile it an unwanted blank page is inserted before each chapter. Exporting to Latex I have the following code ...
user avatar
0 votes
0 answers
25 views

lyx shortcuts: adding a Table using a shortcut

I want to add this table using a lyx shortcut: The LaTex code is as follows: \begin{tabular}{|c|c|c|c|c|c|c|c|c|} \hline \textenglish[variant=american]{state} & \LRE{$P\left[kPa\right]$} & \...
user avatar
1 vote
1 answer
13 views

Insert a line break to EndLabelString in LyX custom style

I want to create a new style of type "environment" in the LyX editor by means of writing a module, so that the user can choose and insert it from the style combobox on the toolbar. I want to ...
user avatar
  • 298
1 vote
0 answers
30 views

Lyx Beamer presentation help

I got a beamer template from the lyx and is attached below. But the issue is like when I give the presenter mode after converting to pdf it is not as good as expected. Also I am not sure why it is ...
user avatar
  • 131
3 votes
2 answers
176 views

space after punctuation in LyX-2.3.6.2 on Mac

I've just updated to LyX-2.3.6.2 on a Mac M1 running Monterey 12.0.1, and LyX has begun doing something odd with spaces after periods and commas, not displaying them at all: There actually is a space ...
user avatar
  • 31

1
2 3 4 5
58