New answers tagged

2

You could set the toc headings ragged I just added one line to add fill glue as marked % Preview source code %% LyX 2.3.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[12pt,english]{article} \renewcommand{\familydefault}{\sfdefault} \usepackage[T1]{fontenc} \usepackage[...


1

Replace eqnarray* with align*. (See also eqnarray vs align). In order to uncover the individual lines of the align* environment, you could use \onslide: \documentclass{beamer} \begin{document} \begin{frame} \pause We have \pause \begin{align*} \onslide<3->{d\left(e^{bt}r\left(t\right)\right)&=e^{bt}dr\left(t\right)+r\left(t\right)de^{bt}+de^{...


0

I could not get the above to work. A (low-brow?) way to do this is with a table, ie to make: \begin{figure} \centering{}% \begin{tabular}{cc} \includegraphics[width=7cm]{image1} & \includegraphics[width=7cm]{image2}\tabularnewline (a) & (b)\tabularnewline \end{tabular}\caption{foiw} \end{figure} For that I just Insert Figure Insert 2x2 tabular ...


0

I have the same problem. Strangely, this works in 95% of the time: you get the error message "The document could not be saved..." when you click on Save, so just hit ESC (i.e. don't save it under a different name), and then press Save again (i.e. under the same name) - and Lyx saves it! In the 5% of the cases it doesn't work, just do it again: ESC, ...


0

I think now they are close enough. Add this code to your preamble and remove the flushleft from the package options. \makeatletter \renewcommand{\TPT@doparanotes}{\par \prevdepth\z@ \TPT@hsize \TPTnoteSettings \parindent\z@ \pretolerance 8 \linepenalty 200 \renewcommand\item[1][]{\relax\ifhmode \begingroup \unskip \...


0

For me, it helped a bit to switch of the "backup original document when saving" in LyX Tools->Settings. In LyX Version 2.3.4.3.


2

You need to specify \roman* to use the current enumeration counter, not enumi. This is the output: Note that references will match the label option, unless you specify it otherwise (through something like ref=\roman*, without the closing parenthesis )).


0

Another way to do this is with math macros (see 1, 2, 3). Go to insert > math > macro A box should popup in your document that looks like this: Change newmacroname to whatever you want. I'll call it "norm". In the two empty boxes, we need to provide the TeX and LyX code. In this case, that is \Vert\{\#1}\Vert. Type this manually into LyX, ...


1

Place your cursor in the Chapter* layout, then go to Insert > TeX Code, and paste the following: \addcontentsline{toc}{chapter}{Foreword}. The following screenshot is how it looks in LyX after doing this:


0

For the "simplified version", go to Document > Settings and in the "Custom:" field of "Class Options" put "handout". Press "OK". For more information, please see Help > Specific Manuals > Beamer Presentations


1

This answer got bumped to the front page again, so, an update. I don’t actually do this, but as of 2020, unicode-math allows you to type in many Unicode symbols directly into your source, e.g. 𝒮 (U+1D4AE) for \mathcal{S} and 𝗯 (U+1D5EF) for \mathbf{b}. If you use this style, you should load \usepackage[math-style=literal]{unicode-math}.


0

Use \cftfigindent to control the indentation. \documentclass{article} \usepackage{tocloft} \renewcommand{\cftfigpresnum}{Figure } % put this before caption number \setlength{\cftfigindent}{0.5em} % change indentation of e.g. "Figure 1" within list of figures \setlength{\cftfignumwidth}{4.5em} % increase space for augmented caption number \begin{...


2

Use the tocloft package which enables control of many aspects of the ToC, LoF and LoT layouts. % lofprob.tex SE 576535 \documentclass{article} \usepackage{tocloft} \renewcommand{\cftfigpresnum}{Figure } % put this before caption number \setlength{\cftfignumwidth}{4.5em} % increase space for augmented caption number \begin{document} \listoffigures \begin{...


Top 50 recent answers are included