Skip to main content

Questions tagged [lyx-layouts]

LyX uses layout files (.layout) to control the appearance of a document inside LyX. This does not (directly) control the appearance of the printed document.

Filter by
Sorted by
Tagged with
0 votes
2 answers
35 views

Color scheme changes in LyX don't get applied

I'm following https://wiki.lyx.org/Tips/ColorSchemes and copying the settings into the preferences file as explained. However, when I open LyX, the changes are not applied. I'm trying to change the ...
P. C. Spaniel's user avatar
0 votes
1 answer
43 views

How can I set an inserted float object to go over the bottom of the page?

How can I set an inserted float object to go over the bottom of the page? For example, if I insert an image, it is not a problem that it goes over the left or right margin, but if it is in a float ...
test's user avatar
  • 3
0 votes
0 answers
41 views

change lyx paragraph display style in UI

this is akin to Can I change the paragraph spacing in LyX UI? but with a slightly different slant. Like that question I am just trying to change the display, not the typesetting. IN LyX in both ...
steb's user avatar
  • 101
0 votes
1 answer
24 views

Lyx, how can I vertically center entries in a specific cell in lyx (all the tutorials here in the forum didn't help me)

I saw for instance this post, this didn´t help me :( Vertical alignment of cells in LyX I have this: And now I only want to vertically center the marked entries, but I didn´t found any solution, ...
test's user avatar
  • 3
0 votes
0 answers
27 views

add custom document class in lyx [duplicate]

I downloaded the template of latex and I am trying to import it in lyx for use where the template has these files like shown in the image and without file .layout I added them to layout in directory ...
taher almoussali's user avatar
0 votes
0 answers
20 views

I am writing lyx layout for workbook with various question types but I am getting error in the layout, which seem to come from the preamble as follow:

Preamble \RequirePackage{fancybox,xcolor,tcolorbox,enumitem,amsmath,amssymb,amsfonts,mathtools,mathrsfs,graphicx,tikz,pgfplots,multicol,tabularx,longtable,array,multirow,hhline,colortbl,booktabs,...
George Osafo's user avatar
0 votes
0 answers
21 views

Positioning of label when convert Lyx equation to TeX code

When Lyx equations converted to TeX, the automatically generated code is \begin{equation} (content of equation) \label{...} \end{equation}. If I want to automatically convert Lyx equations by TeX ...
Ethan Lee's user avatar
0 votes
1 answer
51 views

I'm getting an error for using "layout author" trying to compile a standard LyX document

started learning lyx this week for university, to familiarize myself with the program I've written a document that explains everything as I go, trying to understand everything I might use. there's a ...
Nate3384's user avatar
  • 197
1 vote
0 answers
64 views

How can I translate in lyx?

thank you all. I can translate from language to another manually. Are there any way to translate a lyx document, for example, from English to Arabic in the same way as in a Word document such that ...
user35528's user avatar
  • 111
1 vote
1 answer
123 views

Color of the words (theorem, definition , fact)

Thank you all. How can I change the color of the word (e.g., theorem) to the red color in lyx automatically. Also the same thing with the words(definition, lemma, fact, proof). Many thanks For ...
user35528's user avatar
  • 111
1 vote
0 answers
55 views

Is there a way to alter section numbering in lyx?

The problem I have is this, after entering a new part in LyX the section numbering doesn't reset and i haven't been able to make it myself. Using the image as reference, I want to be able to make ...
S. Peman's user avatar
0 votes
2 answers
128 views

How to explicitly set the date for a letter -- to avoid it defaulting to today?

I have several .lyx files from circa 2000, which I need to reprint. I didn't preserve the corresponding .pdf (or .ps) files, so I need to regenerate those. Modern LyX has no problem with that except, ...
Mikhail T.'s user avatar
0 votes
1 answer
121 views

Figure not displayed in pdflatex after exporting from lyx

I am able to add the figure in a lyx document, by using float and insert graphics. But when I view in the pdf, I don't see the figure in the inserted location. Instead I see the location of the file ...
triangular_triffle's user avatar
0 votes
1 answer
122 views

LyX; how to change the color of the LyX environment choice box

The background of this box remains all black no matter which Linux theme I pick, nor can I find any such color in Tools → Preferences → Look & Feel → Colors.
Cynicus Rex's user avatar
2 votes
0 answers
79 views

How to create custom directives in LyX?

In LyX, there are special formatting directives such as "New Page" and "Page Break." They don't require any input and they have distinct appearance in the editor, such as having a ...
David von Tamar's user avatar
2 votes
2 answers
114 views

LyX: How to scale a figure to more than 100% text width and have it centered?

Actually, the title says it all. I can scale a picture to >100% text width, but it will always have its left edge aligned with the text block, so will stick out at the right side. What I want is a ...
Peter Kämpf's user avatar
0 votes
0 answers
162 views

Using class options in LyX

I've recently installed TeXlive and LyX. Now I'm trying to write a document using the tufte-book class. But I can't find any way to make the text column justified or make section, chapter numbers ...
kobaltishblue_312's user avatar
0 votes
0 answers
42 views

how can i draw this diagram on lyx (in the most easiest way)? I dont know how to use latex coding

i also need to add some graphs and staff like that, but I want it to look like a nice official pdf document like we can see on books and reports. Non of the tutorials shows how to do it.. just how to ...
יואל דחוח הלוי's user avatar
1 vote
2 answers
744 views

Lyx not working on Mac Ventura

I recently downloaded Apple Ventura and with my great surprise I'm not longer able to open Lyx. I tried to uninstall and reinstall, to open it despite it's not a Mac app, etc but with no results. How ...
Joshua Mollner's user avatar
0 votes
0 answers
118 views

Edit or add enviroments in LyX

I'm using LyX on Windows 10 with AMSthm module and need to make some changes to the environments. (Including: 1. making theorem not italics, 2. adding new environments like "Challenge" to ...
Manu's user avatar
  • 493
0 votes
1 answer
278 views

Adding numbering to new AMS environment in Lyx

I used the method presented here to create a new environment ('Assumption') in Lyx. But this environment does not come with automatic numbering which fits with the automatic numbering of different ...
GSofer's user avatar
  • 113
0 votes
1 answer
139 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 ...
Ariel's user avatar
  • 103
1 vote
1 answer
38 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 ...
tush's user avatar
  • 1,147
1 vote
1 answer
287 views

Beamer template Warsaw— LaTeX Error: Missing \begin{document} [closed]

I am using warsaw template in lyx. But I am getting error about Missing \begin{document}. This is the description of this error message \setbeamertemplate{section page}[default][colsep=-4bp,rounded=...
Ajeen Lew's user avatar
0 votes
0 answers
23 views

every image on separate blank pages without page number

I have my final year report. I want to put every images on separate blank pages (no text, only image) without page numbers, keeping the rest of the text flow unaltered. Is there some way of doing it ...
Penan Rajput's user avatar
2 votes
1 answer
171 views

How to align text with against an image in a table-LyX

I am totally new to LyX and currently using the classic-thesis template. I am using a multi-column table in a float figure , where I am importing two images and a text in 3rd column. But I am unable ...
Ajeen Lew's user avatar
3 votes
1 answer
333 views

when write Arabic in lyx and add some words in English-The letters in English are inverse

I type in Arabic but when I add English words in the same line after Arabic word i notice the English letters are inverses. in the following picture I type two Arabic words from right to left and then ...
user35528's user avatar
  • 111
1 vote
0 answers
167 views

how to customize the Lyx layout to write affiliation with new cas-dc class format?

I almost find a solution. Style Author Margin Static LatexType Command Category FrontMatter InTitle 0 Argument 1 LabelString "ref address&...
Ben's user avatar
  • 11
1 vote
0 answers
174 views

Lyx: Presentation with beamer: How to use graphics/images/pictures

Pictures/images/graphics are for me a crucial part of presentations. Is anywhere a tutorial which describes how to use them in lyx with beamer layout? So with most important things to know how to use ...
SearchSpace's user avatar
0 votes
1 answer
173 views

Customize section in lyx

I am writing in lyx and inserted a new section. i wonder how could i align the section header to the center rather than to the left. I put \usepackage{titlesec} \titleformat{\section}{\centering} in ...
Sdeng's user avatar
  • 31
0 votes
0 answers
44 views

How to use Post Script Type 1 in new Lyx?

I need to use Post Script Type 1 on my Lyx. It seems this old article (https://wiki.lyx.org/Tips.InstallType1Fonts) is for the version of Lyx that relied on MikTex. So right now here, I see only 3 ...
user1849133's user avatar
3 votes
0 answers
107 views

Floats aligned to the right in LyX

EDIT: I ended up using the method outlined here and was able to resolve the problem. Big thanks to the answerer of that question! I am using LyX, and am trying to center two images next to each other. ...
cruijf's user avatar
  • 41
1 vote
1 answer
89 views

how to customize my headers? [duplicate]

I want my part/section title to have underlined and be bald and increase its size. I can't find how to make the wanted setting stay as my default. How can I do this?
Yonatan Marom's user avatar
1 vote
0 answers
434 views

LyX Local layout for a custom environment

I have the following local layout in LyX. Format 66 Preamble \usepackage{xcolor} \newcounter{YourTurn} \newenvironment{YourTurn}[1][]{\refstepcounter{YourTurn}\par\medskip \noindent \color{...
Anthony Macks's user avatar
0 votes
0 answers
86 views

Uncentered Abstract in Lyx

I am using the AEA template for Lyx. For some reason my abstract is not centering properly...it appears to be slightly shifted to left. This is what the output looks like: This is how my Lyx looks ...
Adam Aberra's user avatar
2 votes
1 answer
1k 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 ...
badavadapav's user avatar
2 votes
1 answer
546 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 ...
Jenny Reininger's user avatar
0 votes
1 answer
65 views

Slide starts way below slide title if it starts with equation

In beamer, when I start a slide with equation, then when the slide is full, the slide starts way below the slide title. When I start a slide with text, then when the slide is full, it starts very ...
user42459's user avatar
  • 207
0 votes
0 answers
34 views

How to add header ALSO to frontpage

I have the following preamble which adds headers in right and left side (not sure how I would add one in center though) BUT it is missing on the front page... it is only from page 2 and on ward. Help
Emil Krabbe's user avatar
0 votes
1 answer
745 views

How to make and install a LyX Document Class, based on a journal’s LaTeX template files

I would like to submit an article to a journal. The journal suggests using template files that one can find at https://www.mdpi.com/authors/latex . I have used (on a Windows 10 computer) the following ...
TJB's user avatar
  • 61
3 votes
1 answer
107 views

Section counter punctuation in an AMS article is positioned in LTR direction instead of RTL

I'm using amsart with XeTeX, LyX, and writing an article in an RTL language. Enumerations within text should normally position their punctuation in the opposite direction to separate between their ...
David von Tamar's user avatar
1 vote
0 answers
49 views

Lyx custom layout for command: newline should stay in same environment?

I am writing a Lyx custom .layout, specifically for a class-specific TeX command that takes the form \command{}. I want that when typing a newline in Lyx, the new lines stays within the \command{}, ...
Matifou's user avatar
  • 742
0 votes
0 answers
53 views

Subsection out of margin in LYX

I have a title of a subsection which is out of the margin of my document as can be seen below figure. Can someone help if i can use maybe some kind of ert whichi will be inline with my content?
Annalise Azzopardi's user avatar
0 votes
0 answers
175 views

How to create a keyboard-shortcut to custom insert at LyX?

Look at this question: How to create LyX inset without text-box (input box)? I want to create a keyboard-shortcut for one of my custom insert, it is possible? Thank you!
heblyx's user avatar
  • 2,591
1 vote
0 answers
169 views

LyX question about nomenclature and editing custom styles

Three related questions: What are these things called (that the arrows are pointed at)? (I'm going to refer to them as "custom styles".) How does one edit these "custom styles"? How does one copy ...
thanks_in_advance's user avatar
0 votes
0 answers
877 views

Change layout or borders of my document without package {geometry}

I want to set the borders of my scrartcl document. Right now im doing this: \documentclass[12pt,listof=totoc,bibliography=totoc]{scrartcl} \usepackage[left=3cm,right=2cm,top=2.4cm,bottom=2cm]{...
user185075's user avatar
1 vote
1 answer
191 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{...
Nick's user avatar
  • 121
0 votes
1 answer
146 views

mdframed in lyx

when i used this code in local layout (in Lyx) i got error: Style myLaw Category MainText Margin Static LatexType Environment LatexName bluec ...
silver's user avatar
  • 49
1 vote
0 answers
74 views

Creating a multi-paragraph Command Style for Lyx

I have an existing LaTeX style which defines a \solution command (printing a box that also contains a solution as text, if showSolution is set). I now created a LyX Style for this: Style Solution ...
JonathanK's user avatar
  • 131
1 vote
0 answers
112 views

How to format LabelString in Lyx .module file?

MWE Style Brief_Name Category Pleading LatexType Command Align Left Margin Dynamic LabelType Static ...
jed's user avatar
  • 235