Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
20 views

ntheorem and LyX (with amsmath)

Recently, I tried to use the ntheorem package with LyX and amsmath, but when compiling (pdflatex format) it complains: "! Package ntheorem Error: Theorem style plain already defined." When exporting ...
0
votes
0answers
23 views

Beamer itemize symbol size changed randomly

Opening up a previously made beamer presentation and compiling it again without making any changes, the size of the itemize item symbols (default triangles) has somehow increased. Original: vs. ...
0
votes
0answers
17 views

Captioning a table that is not a float in LyX

I have a table that is so wide that previously I was inserting it sideways as a float, but to limit document length I need to insert it in normal orientation. In LyX using ERT I can do this: \...
0
votes
1answer
31 views

Programmatically Insert Text from External File

I am looking to insert text from an external file to LyX. The external file (simple ascii file) has a single line but it will change on future document interations based on modelling output. Is there ...
0
votes
2answers
143 views

Installing LyX: “No textclass is found.”

About installing LyX! This is my old post. I have been trying to install LyX, but the same error message pops out when I excute LyX.exe as follows: LyX: No textclass is found LyX will only ...
0
votes
1answer
42 views

LyX in Linux Mint 19.1 Cinnamon does not display the correct characters in maths mode. How can I fix this?

I recently installed the latest Mint OS and installed TexLive-full, then LyX (via terminal). Unfortunately some symbols aren't shown up correctly within LyX itself. For example typing \alpha, \beta, \...
0
votes
0answers
72 views

About installing LyX!

I am trying to install LyX, which is a typewriter program for LaTeX, but I'm having trouble doing it. Really I tried tons of way to do this, but the error message is the same: LyX: No textclass is ...
1
vote
2answers
24 views

How to sub-enumerate without new line?

I'm new with LyX, and need some help. I'm trying to write homework, and every question is separate to a few "sub-question" (there is not "main" question - only 1.1, 1.2, 1.3...). I success only to ...
1
vote
1answer
36 views

Tikz arrows and circles not working

I'm using this website to draw graphs: http://madebyevan.com/fsm/ My graph is supposed to look like this: The website creates the suitable LaTeX code which I put in my document: \begin{center} \...
0
votes
1answer
56 views

Lyx instant preview in Fedora 29

I recently did a fresh install of Fedora 29 Workstation on my laptop with Lyx 2.3.2 installed. In working with previous Lyx documents, I needed to add different .sty files to get things to work, so I ...
0
votes
0answers
39 views

lstlisting basicstyle with color and fontsize

I have a setting of lstlisting as shown below. I would like to change to font size of the listing. I know that I can do that with basicstyle=\tiny or similar, but that loses the basicstyle=\color{...
0
votes
1answer
26 views

Adding TeX code as a macro in LyX

I am using LyX and I tried adding a macro that includes TeX code but it seems as if it doesn't recognize the \abs command: To be clarified, when adding the following TeX code the file compiles: and ...
1
vote
1answer
63 views

Absolute Value Symbols in LyX

I've been looking for a way to use the \abs command in LyX (Version 2.3.0, using MikTex) but unfortunately I didn't find a solution. For a reason I'm not aware of, this command does not appear as an ...
1
vote
1answer
33 views

Lyx: Choose option from .cls file

I would like to use the sigconf style from acmart.cls. I have already downloaded the acmart.cls file into the latex folder, run texhash and copied a minimal .layout file: #% Do not delete the line ...
0
votes
2answers
44 views

Broken Section cross-reference when exporting as pdf

I use Lyx. When I export my article as pdf (or postscript) the cross-reference to the Sections appears as ?? in the output. The same doesn't happen with Part, subsection, and subsubsection. It works ...
1
vote
1answer
32 views

Bibliography - English in reverse in a Hebrew article

I'm new with LyX, and now learn. I wrote something in Hebrew, and add bibliography (in English) and its in reverse: The code: בדיקה\cite{Ruan2003} \bibliographystyle{unsrt} The bib file: @...
0
votes
0answers
25 views

Bibliography - English in reverse [duplicate]

I'm new with LyX, and now learn. I wrote something in Hebrew, and add bibliography (in English) and its in reverse : someone have any idea how to handle this? thank you!
1
vote
0answers
15 views

Merging lyx files involving different (perhaps intersecting) macros

I want to merge two files written in LyX by my colleague and me. The problem is both of us use self-written macros for writing things shortly. We want to merge our files, and use a chapter my ...
1
vote
1answer
24 views

Line numbering for all lines of pseudocode algorithm in Lyx

I am trying to add an algorithm in pseudocode within LyX in version 2.3.2 as described here. Add the \usepackage{algorithm,algpseudocode} into the preamble Insert a algorithm block (Insert --> ...
2
votes
1answer
57 views

Use LaTeX approach to create LyX document. (LaTeX coding and importing into LyX)

Specific Question: I have never use LyX but would like to know if there is a possibility to work on LaTeX using my favorite editor (like emacs or any text editor) and then add my code to LyX (...
1
vote
1answer
50 views

changing name of “nomenclature” not working in lyx

why could it be that the suggested command won't work in Lyx? I am using the "Book (standard) class". Thank you, everyone! \renewcommand\nomname{New Name for Nomenclature} edit: I have to enter the ...
1
vote
1answer
29 views

LyX shortcut for creating an inline inset (specifically - an inline program listing)

I can bind the listing-insert command to create a program listing (a.k.a a code-formatted block) inset in LyX, but that will make it a display style program listing. If I want an inline style program ...
0
votes
1answer
41 views

How to center a tcolorbox at a part title at KOMA-script article

I'm trying to center the part title. The is the MWE: % Preview source code %% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what ...
0
votes
0answers
44 views

How to prevent from chapters and parts from start at a new page at scrbook?

Here - How to prevent from a new pages after titles at KOMA-script book? - you were asked my why I want to prevent from new pages at scrbook instead of using the strartcl. So one of the answers is ...
0
votes
1answer
44 views

How to prevent from a new pages after titles at KOMA-script book?

How do I prevent from new page after the title at KOMA-script book? After the title it's make a new page. Can I prevent from it? (I'm using LyX) Thank you! :: Edit :: Here is MWE: % Preview ...
0
votes
1answer
20 views

Controlling the border thickness of the tables in LyX

Is it possible to control the border thickness of the tables in LyX? In the LyX documentation it written: \arrayrulewidth is the thickness of the cell border line, the default is 0.4 pt. But I ...
0
votes
1answer
38 views

How to add a hyperlink to a section in LyX

I'm trying to add a hyperlink from some word to point to a section, in LyX. Consider a section called "ABC" and another section "XYZ" which contains the word "abc" - so I would like to make a link ...
1
vote
2answers
49 views

LyX 2.3.1 completes processing, but no pdf is visible in Acrobat

I have created a few LyX files using 2.3.1 that are identical in their document settings, and yet, when I hit Ctrl + R, some files are processed to completion and throw up a pdf in Acrobat Reader DC, ...
0
votes
1answer
62 views

How to set a 'p' column's width to be the remaining width of a table?

I am trying to create a two-column table where the second column fills all remaining width of the table up until \columnwidth. Here is an simplified example of where I am trying to start from: \...
4
votes
3answers
183 views

Why I cant see italic font at the header?

I try to put italic text at the header - at the body of the document it's works fine, but at the header I can't see the italic font. Here is MWE: % Preview source code %% LyX 2.3.2-2 created ...
0
votes
0answers
422 views

LyX 2.3.1 / MiKTeX / Windows 10 does not see was and upgreek packages

I'm trying to enter upright Greek letters into my equations using the upgreek package (which in turn is part of was – see here). I'm using LyX 2.3.1 on Windows 10 with MiKTeX 2.9. I installed ...
0
votes
0answers
23 views

Change “part” to “act” in a Lyx custom layout file?

I have a custom layout file that is attached to my document and used by Lyx. The file is in ~/.lyx/layouts. This question tells how to add a line to the preamble via the menu: \renewcommand\partname{...
1
vote
1answer
42 views

Use courier font in ALL text

I want to apply the courier font to ALL text in my LyX and Texmaker files, how can I do this? Thanks
0
votes
0answers
26 views

LyX citation box does not recognize references

I tried to add references to my LyX doc via references (not BibTeX) as the simple way to do a small demonstration. I cannot find the references in the citation box. I tried to name it but it did not ...
0
votes
0answers
19 views

Making a LyX keybinding to insert characters

I'd like to create a keybinding to insert the characters \rr while in math-mode (I've created multiple macros that start with \rr). Is there a LyX command I can use for that? Is there also a LyX ...
0
votes
0answers
45 views

Lyx on macports and MacTex (solved)

I had a Texmac 2017 installation and Texstudio via macports. Recently I have to install lyx via macports, but lyx installed a Texlive basic 2018. Two texlive installed but no properly worked My ...
0
votes
2answers
23 views

Building memory blocks in LyX

I was wondering if it's possible to somehow create similar structures in LyX: The colors does not mean to me, but to know how to create the cool structures will be great. Tried to find similar ...
0
votes
0answers
25 views

!pdfTeX error: pdflatex (file rdavid): Font rdavid at 720 not found

Getting this error while trying to compile my lyx doc, using lyx 2.3.2 on arch linux.
0
votes
0answers
44 views

Theorem 1.1 is shown as Theorem 11 on lyx

I am currently using Lyx. I have two computers. On one of my computers, when I generate a PDF it says "Theorem 1.1", "Theorem 1.2"...as desired. However, on my other computer, when I generate a PDF ...
0
votes
0answers
43 views

Exporting Lyx Math Equation to PNG

I wish to create some maths formula for use with mind mapping application iThoughts. If I define the equation in Lyx then export I can choose HTML and one the files is a nice PNG of the equation, but ...
0
votes
0answers
37 views

Questions about the usage of a Lyx thesis template

I am trying to start writing my doctoral thesis using a Lyx template. The download link is: https://code.google.com/archive/p/thuthesislyx/downloads However, many errors pop up when I try to compile ...
0
votes
0answers
15 views

Lyx on mac turn off typing special characters in math mode

I am using Lyx on my Mac and a couple of time when I have gone into the math type mode the normal keys type out as special characters such as math symbols, Greek letters etc. Does any one know how to ...
0
votes
0answers
38 views

Problem with fill between when using tikzpicture

Related to this question, my code: \begin{tikzpicture} \begin{axis} [domain=0:12, samples=100,grid=major, domain=1:4, xlabel=$\lambda$, ylabel=$f$, legend pos=north west, no marks] \addplot [...
0
votes
0answers
22 views

Is there a list of style elements that I can put in a Lyx layout file?

I know a few of the commands that can go in a Lyx layout file: Align AlignPossible Font / Size / EndFont But is there a thorough list of the possible style elements that I can put in a Lyx layout ...
0
votes
0answers
22 views

LTR aligned bibliography (BibTex)

I would like to add English bibliography (BibTex) in a Hebrew document using LyX (using XeTex). However it messes up the order of the words and the alignment: Here's a minimal Tex document generated ...
2
votes
1answer
21 views

about the LyX bibliographystyle{} command

I'm working on LyX with a template which has its own \bibliographystyle{} command. when I using the compiling command, with an error reporting: Illegal, another \bibstyle command---line 28 of file ...
0
votes
1answer
26 views

Styling the page numbering in LyX

I was trying to find a way in order to get the following view of page numbering (on the bottom of the page): I tried to read some previous threads but didn't find a way to implement it. How can I do ...
0
votes
0answers
29 views

best option for texmf.cnf like main_memory

i have 32 GB Ram, and processor intel 7, please what the best option for texmf.cnf : main_memory= ? buf_size= ? extra_mem_top = ? extra_mem_bot = ? and others option. Now, Lyx (over texlive in ...
1
vote
1answer
76 views

LyX 2.3 - How can I successfully set up the forward and inverse search?

I referred to the section "Sumatra PDF (on Windows; Updated 2015-10-19)" in the following documentation: https://wiki.lyx.org/LyX/SyncTeX to set up the forward and inverse search; however, it seems ...
0
votes
1answer
54 views

Creating graph coordinate in LyX

I'm looking for a way to create the following graph coordinate in LyX. Which package should I use and How should I approach this problem? I read some prevoius threads on how to do such things and I ...