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.

0
votes
0answers
43 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]{...
0
votes
0answers
28 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{...
0
votes
0answers
28 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
1answer
26 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 ...
1
vote
0answers
12 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 ...
1
vote
0answers
20 views

How to format LabelString in Lyx .module file?

MWE Style Brief_Name Category Pleading LatexType Command Align Left Margin Dynamic LabelType Static ...
1
vote
1answer
95 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 ...
1
vote
1answer
107 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}} ...
1
vote
1answer
110 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 ...
1
vote
1answer
24 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 ...
1
vote
0answers
96 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 ...
1
vote
1answer
44 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 ...
1
vote
1answer
159 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...
1
vote
1answer
56 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 \...
1
vote
1answer
162 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 ...
1
vote
0answers
116 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 \...
1
vote
0answers
103 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 ...
3
votes
1answer
90 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?
1
vote
2answers
235 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 ...
2
votes
1answer
230 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 ...
1
vote
1answer
81 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 ...
2
votes
2answers
450 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 tryed those steps in the ...
0
votes
2answers
2k views

How to Install an Unavailable Document Class for LyX on Windows

I am writing a paper that needs to be formatted using the LNCS style, which is not available out of the box with LyX 2.2.3. How do I install it on my LyX install for Windows 10 x64?
0
votes
1answer
123 views

No “Example” paragraph style in the Hebrew article layout in Lyx. Why?

I defined my document as "Hebrew article". I have few paragraph styles i.e. "Proof", "Theorem", "Remarks" etc, but there's no "example" paragraph style. Why? How can I add it? Thanks! EDIT: Here's ...
1
vote
0answers
167 views

How to change to strikethrough font styles in LyX editor through Layout file?

I've created a custom style for LyX, now I'd like to style it with a strikethrough style (in the LyX editor). Is this possible? I'd like something like this, where the line 'Decoration ...
2
votes
0answers
405 views

How to create LyX inset without text-box (input box)?

I'm working on a custom layout file for LyX, I'd like to create a custom inset without the text/input box. I've seen other commands from the insert menu without it, such as "Page Break", but I haven't ...
3
votes
2answers
397 views

Force LaTeX to fill page efficiently

I have a formula sheet; ideally LaTeX would just fill down the columns and insert a line break when necessary; unfortunately it does not do that, instead filling the page rather inefficiently. How ...
1
vote
1answer
319 views

Layout File for LyX

I want to use a new class in LyX. I know where to save the .cls file so that LyX can use it. I have already done that. I also know that I need a layout file and need to save it in the layout folders. ...
0
votes
0answers
81 views

Escape character for " in JabRef .layout file

I'm trying to export from JabRef to a CSV using a custom layout file. Some of the text for my fields contains double quote marks ("), which breaks the encasing quotes early and any subsequent commas ...
1
vote
1answer
314 views

Problem with Lyx ! Numbering theorem, example, definition and proposition by type doesn't work within class IEEE journal!

I want to make the numbering of Theorems, propositions, examples and definitions independent in my article. It should appear like: Theorem 1 .................... Proposition 1 .......................
1
vote
1answer
220 views

*mark up editor mode*

How do i find the command to view lyx in the mark up editor mode, where on can add command to insert new packages layouts, margin spaces, centering etc, and the document class such as . For example ...
1
vote
2answers
312 views

LyX math. git and maths mode

It's probably a pretty trivial question but where do I find or download git for LyX? Where can I find details on LyX math? I presume it's distinct from maths mode, i.e. ctrl m, where the math's box ...
-1
votes
1answer
79 views

Command disabled Fusing up lines of code, maths mode

I appear to often accidentally hit the wrong keys when type code within sentences with ordinary lines of text. I accidentally do this too much, it will fuse the entire line together making it almost ...
0
votes
1answer
422 views

LyX: import package before LyX-added LaTeX commands

When adding something to the LyX preamble and converting to TeX, it adds the lines after LyX package imports (\usepackage{amsmath} and the like), after LyX specific LaTeX commands (\pdfpageheight\...
0
votes
1answer
498 views

Using LaTex class files as layouts in lyx [duplicate]

I would appreciate it if you could please help me with the following issue: I want to write a dissertation in Lyx using university provided LaTex template. The provided class file, dissertation.cls, ...
0
votes
0answers
428 views

How do I activate REVTeX 4.1 in LyX? [duplicate]

I use LyX 2.2. I would like to produce REVTeX 4.1 documents. When running LyX with a document open, I find, via Documents > Settings > Document Class, an item that says "Unavailable: REVTeX (V 4.1)". ...
0
votes
1answer
199 views

How to use BibTeX references in LyX PhD thesis template

I am using the kks32 PhD thesis template from here: https://github.com/kks32/PhDThesisLyX I dont seem to understand how references will work. For example when I am writing a paper, all the related ...
3
votes
1answer
486 views

Set alignment for paragraphs in LyX (only for the editor)

I am new to LyX. The default setting for the alignment for standard paragraph is 'Justified'. This gives me some inconvenience with long footnotes. For example, So, I change the alignment setting to '...
2
votes
2answers
506 views

Numbering Theorems/Definitions in Lyx according to Subsection, Line Breaks after Text

I am currently using Document > Settings > Modules > Theorems (Numbered by Type within Sections) in Lyx. However, I need my theorems/definitions to be numbered according to subsection instead. i.e. ...
1
vote
1answer
241 views

Where can I find a LyX Template that uses an INFORMS-friendly Document Class?

I'm setting up my local machine (Mac OS 10.11.6) for UI-friendly TEX development with the intention of creating a fast and easy INFORMS paper workflow. FYI, I have a software engineering background). ...
1
vote
0answers
368 views

Which LyX template for technical software documentation with source code layout? [closed]

I am looking for a LyX template to write technical documentation including source code boxes, with colored syntax rendering like here for LaTeX that makes use of the minted package. More than a ...
0
votes
1answer
58 views

Looking for information about “Hebrew Letter” layout (at LyX)

When I look at layouts of LyX 2.2 I saw "Hebrew Letter", I looked for information on the internet but nothing was found. Can you help me please and give some information or sources that I can read ...
0
votes
0answers
78 views

Screen Fonts -> Roman Font is Affecting math-mode's Font Suddenly!

everybody. I changed my LyX default Roman screen font to the David font. My text looks like this, with David as font for Roman: In terms of the font for regular (non-math-mode text), the text has ...
2
votes
0answers
407 views

Screenplay writing with Lyx - problems with default classes

I love lyx and want to use it for screenplay writing. Two layouts are included and the classes (broadway.cls and hollywood.cls) I have downloaded. I kept them in the same directory as the lyx file and ...
2
votes
1answer
834 views

Aalto custom CLS file in Lyx?

Oxford has instructions to set up CLS file for Lyx here so this thread for Aalto uni. So How can you use Aalto custom CLS file in Lyx? Aalto files CLS file (copy here) Aalto Thesis LaTex ...
1
vote
1answer
50 views

Is it possible to omit references at the bottom using tufte-handout in Lyx?

I find the bottom references to be redundant, while using the tufte-handout layout. Is there a way, in Lyx, of omitting the references at the bottom, leaving only the citations in the sidenotes?
2
votes
1answer
127 views

LyX - export with custom document class [Linux]

I have a document written in lyx, which is supposed to be exported to pdf file on Linux. I write it on Windows, but then I commit the .lyx file to repository and it's suposed to be exported to PDF on ...
5
votes
1answer
174 views

Changing layouts without restarting LyX?

I'm using LyX to layout a booklet of speeches from a conference based on the Editorium LyxBook layout. I've been modifying a lot to meet our needs, and when I started on that a few weeks ago, I found ...
1
vote
0answers
225 views

Physical page measures not matching with pdf measure tool [closed]

Perhaps related to physical printing and not to LaTex. Googling the problem don't come up with any answer addressing the issue. In a hope that maybe someone here had a similar issue and able to solved ...
1
vote
0answers
378 views

How to define a Lyx Layout for Custom Items?

I would like to have a list with two alternative bullets. Using the enumitem-package, I have already created an itemize-environment for one of the two bullets. For the other one, I would use \item[<...