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
1 answer
41 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
0 votes
0 answers
13 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
15 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
  • 200
0 votes
0 answers
29 views

Should I write down a module or a .cls file?

I have delved recently into the world of LyX modules and layouts. From what I understand, layouts instruct LyX to style the document while the user works on it, and modules allow the user both to ...
user avatar
  • 200
1 vote
1 answer
144 views

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

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=...
user avatar
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
20 views

How to change the font to make the Arabic text similar to the English text in lyx

thank all you. I want change the font to make the Arabic text similar to English text in lyx. in the next image first I wrote the same expression by word app and by lyx bellow the image. I want ...
user avatar
0 votes
0 answers
20 views

Arabic number in lyx

Thank you for all of you. I have two problems, the first one is how can I type with Arabic number. the second one is why Arabic text is written in bold and the English text is not. here is an images ...
user avatar
2 votes
1 answer
69 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 ...
user avatar
3 votes
1 answer
124 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 ...
user avatar
1 vote
0 answers
44 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&...
user avatar
  • 11
1 vote
0 answers
72 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 ...
user avatar
0 votes
1 answer
41 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 ...
user avatar
  • 21
0 votes
0 answers
25 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 ...
user avatar
3 votes
0 answers
39 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. ...
user avatar
  • 41
0 votes
0 answers
31 views

how to customize my headers in lyx?

I want my part/section title to have underlined and be bold and increase its size. I can't find how to make the wanted setting stay as my default. How can I do this? I'm a complete beginner so if you ...
user avatar
1 vote
1 answer
41 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?
user avatar
0 votes
0 answers
186 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{...
user avatar
0 votes
0 answers
36 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 ...
user avatar
1 vote
1 answer
195 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 ...
user avatar
2 votes
1 answer
352 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 ...
user avatar
0 votes
1 answer
48 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 ...
user avatar
  • 187
0 votes
0 answers
23 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
user avatar
0 votes
1 answer
475 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 ...
user avatar
  • 71
3 votes
1 answer
66 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 ...
user avatar
1 vote
0 answers
37 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{}, ...
user avatar
  • 430
0 votes
0 answers
39 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?
user avatar
0 votes
0 answers
110 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!
user avatar
  • 2,387
1 vote
0 answers
145 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 ...
user avatar
0 votes
0 answers
454 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]{...
user avatar
1 vote
0 answers
123 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{...
user avatar
  • 121
0 votes
1 answer
108 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 ...
user avatar
  • 31
1 vote
0 answers
43 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 ...
user avatar
  • 131
1 vote
0 answers
73 views

How to format LabelString in Lyx .module file?

MWE Style Brief_Name Category Pleading LatexType Command Align Left Margin Dynamic LabelType Static ...
user avatar
  • 235
1 vote
1 answer
332 views

Passing arguments to an environment in Lyx modules?

I have created a LyX module which generates an environment but has one necessary parameter Format 66 Style Goals Category "Goal Box" LatexName "goalbox" LatexType ...
user avatar
2 votes
1 answer
470 views

How do I create a custom layout module in LyX for a special itemized list?

How do I create a custom layout module in LyX for a special itemized list? \newenvironment{goalbox}[1][\unskip] {\begin{goalboxT}[#1]\begin{eBox}\ \begin{enumerate}} ...
user avatar
1 vote
1 answer
557 views

LyX "exam" document layout - multiple paragraphs per question

I am using Christopher Fuhrman's exam layout in LyX. When using the SmartQuestion style, I can add a numbered list of questions, but I cannot find a way to include paragraph breaks for multiple ...
user avatar
1 vote
1 answer
54 views

How do I set multiple text styles in an envirnoment defined in a layout file?

I'm trying to make the font monospace, bold, and small at the same time in an environment defined in my layout file. This seems like a ridiculously simple thing to do, but I've been struggling with ...
user avatar
  • 121
2 votes
1 answer
724 views

What is the best Module/Approach for writing about Algorithms in LyX?

I would like to develop and write about algorithms directly in LyX while minimizing the use of ERTs and Tex Code while maximizing the comprehensibility of the LyX code as several people will look at ...
user avatar
1 vote
1 answer
232 views

Writing custom.module file for LyX

MWE: This is for a custom.module file that should be accessed using the top-left drop down menu in LyX: #\DeclareLyXModule{custom} #DescriptionBegin #Legal Format #DescriptionEnd #Author: Jalep ...
user avatar
  • 235
1 vote
1 answer
1k views

Importing a list of references into LyX

I have a JabRef reference list and like to import the list elements into LyX to create a LyX file with the actual list of references. I cannot do it. Any idea how to do it...
user avatar
1 vote
1 answer
184 views

LyX Style, that renders like a \paragraph command?

In the layout/module file format of LyX, is there any method to produce a paragraph style, that renders and exports like \paragraph{title} content... The purpose would be to create layouts, where \...
user avatar
  • 1,739
1 vote
1 answer
645 views

Collaboration with only one collaborator using LyX

I would like to collaborate on a paper with someone who's experienced with LaTeX and it would be improper for me to ask them to use LyX, but I really don't like digging into raw LaTeX code. Is there a ...
user avatar
  • 111
2 votes
1 answer
398 views

LyX InsetLayout for LaTeX command with no argument

I would like to create inset layouts for LaTeX commands without argument, e.g. \meter from siunitx package, so that there is no box presented to the user. This exists for standard commands like \...
user avatar
1 vote
0 answers
190 views

RevTex 4-1 sample layout not functional in Lyx 2.2.3

I am trying to write a Physical Review Letter Style paper for the first time and I have always used Lyx instead of the raw Latex platform. I tried to run the sample template that comes along with Lyx ...
user avatar
3 votes
1 answer
138 views

Can a CTAN package install both document class and accompanying LyX layout?

I'm writing a document class which is supposed to come with a LyX layout. I'd want to distribute them both as a single unit, for example, as a CTAN package. Is this barely possible?
user avatar
1 vote
2 answers
2k views

Lyx: LaTeX Option clash error

I am new to Lyx and Latex. I want to write my thesis in Lyx but the template provided by the university is for for LaTeX. So, here is what I did: Created a new layout file called mithesis.layout ...
user avatar
2 votes
1 answer
495 views

Lyx: Add subtitle in stdtitle.inc

I would like to create a Subtitle environment that will be available in the Environments dropdown while using memoir. I've tried editing stdtitle.inc, memoir.layout, and creating a subtitle.module ...
user avatar
  • 139
1 vote
1 answer
193 views

Misalignment of titles, sections as well as the contents title in document class {refart}

I currently wonder on the best way to align the title, sections and table of contents title in documentclass[a4paper,11pt]{refart}. To illustrate my point, please find below: As a way around I had to ...
user avatar
4 votes
4 answers
1k views

Class LNCS in LyX doesn't work

I have the same problem as posted here: How to Install an Unavailable Document Class for LyX on Windows I want to install the unavailable class LNCS in Lyx 2.2.2. I've tried those steps in the link ...
user avatar