# Tag Info

1

You are doing something to change the defaults of scrbook (see the example below). To ensure that the blank pages after TOC and LOF are empty insert \KOMAoptions{cleardoublepage=empty} at the end of your preamble or at the very beginning of the document. Here is an example to show that with scrbook the blank page after TOC is in the default empty: ...

2

I got this code snippet many, many years ago from I don't remember where, so unfortunately I can't credit its originator; but it certainly isn't mine. \makeatletter \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else \hbox{} \vspace*{\fill} \thispagestyle{empty} \newpage \if@twocolumn\hbox{}\newpage\fi\fi\fi} \makeatother All this really does is ...

0

Here is a solution to the general problem of empty pages in Lyx. This problem arises seemingly at random in my case, but it also arises routinely when inserting /clearpage to avoid the "too many unprocessed floats" error. Solution: compile your PDF and check where the empty pages are. Suppose the empty page occurs on page 49. Then insert this after the ...

2

Best here would be to define group-specific key-value options. This would allow you to set a single option associated with the group, while LaTeX manages the back-end setting for the option. As an example of this, add the following to your Document > Settings... > LaTeX Preamble: \usepackage{xkeyval} \define@boolkey{Gin}{groupAoptions}[true]{% ...

1

Menu Document ⇢ Configuration ⇢Documment class ⇢ Option class ⇢ Write here the twoside option, so after fix the margins, the LaTeX source show something like this: \documentclass[twocolumn,english,twoside]{article} ... \usepackage{geometry} \geometry{verbose,lmargin=4cm,rmargin=2cm} Then add some content and voilá. If you ...

2

Here is how i managed to solve it However, I was wondering if there is a more "automatic" way in LyX

1

In the examples folder, open the folder called "thesis" and inside that open thesis.lyx.

2

LyX allows the user to tailor the input-experience through what is called "key bindings". Informally they are sometimes referred to as (key) shortcuts. An excerpt from Customization.lyx, section 3.3. Bindings: Bindings are used to, well, bind a function to a key. Several prepackaged binding files are available: a CUA set of bindings (familiar as the ...

1

In LaTeX, the parskip following a paragraph can be removed by appending a negative vertical space with the length of a parskip (\vspace{-\parskip}) to the end of it. The negative spacing and the positive parskip then eliminate each other. To incorporate this solution into a LyX paragraph style, i used the following: Style NoSpacingParagraph ...

0

Once you have defined a validated local layout (Document > Settings... > Local Layout) it adds this as an option to the formatting dropdown/toolbar: Seeing as you're using a "copy" of the Standard style to create NoSpacingParagraph, you still need to select the paragraphs which should be set using NoSpacingParagraph. Alternatively, you need to change ...

0

I found that the best way to control the font sizes of the elements of the toc is as follows: \setbeamerfont{section in toc}{size=fontsize} \setbeamerfont{subsection in toc}{size=fontsize} \setbeamerfont{subsubsection in toc}{size=fontsize} where fontsize is one of \tiny, \scriptsize, \footnotesize, \small, \normalsize, \large, \Large, \LARGE, \huge, or ...

1

As a workaround, I exported the Lyx file as Tex code, converted it into my own .cls file, created the associated .layout file and assigned this new class as Document class for every document I wanted to apply the class defaults on.

0

You can add without any writing, just go to menu bar. As simple as that:

0

I am using a workaround and will edit this answer with the answer of the package's author. Instead of using a .. in the \subimport command, I am simply using a symbolic link to the folder I am trying to reach. In my current configuration : I have created a symbolic link called preamble in the folder p1 pointing to ../mst/preamble with the shell command ...

Top 50 recent answers are included