Tag Info

Hot answers tagged

6

I don't know how this can be done in LyX, but those are options to be passed to the document class. MWE: \documentclass[headings=openany,headings=big]{scrbook} \begin{document} \chapter{First chapter} \chapter{The Big Vacation} \end{document} Output: BTW: if you want to reduce the size of headings titles you have to use headings=normal and not ...


6

the easiest way to change this is to patch the \@thm command in amsbook. (i think) you will need \usepackage{etoolbox}. then this code in your preamble should do the trick. \makeatletter \patchcmd\@thm {\let\thm@indent\indent}{\let\thm@indent\noindent}% {}{} \makeatother (the \noindent setting is the default in amsart.) edit: a comment by steven ...


4

You can put the cursor in the Lemma environment and press Tab. When you finish with the Lemma, add a separator (also from the modules), and finish the proof. LyX screenshot Output


3

Thanks for your nice MWEs and clear question! The problem here is that you need to put something in the LaTeX preamble near the top. The preamble in LyX is only part of the whole LaTeX preamble. It just so happens that the parts of the preamble contributed to by the LyX modules that you load are placed above the user preamble. As @barbara beeton states in ...


3

As of LyX 2.2 there will be a preference to control middle button click behavior. Middle click is disabled by default for Mac and Windows users. The fix was by J├╝rgen Spitzm├╝ller and can be seen here: http://www.lyx.org/trac/changeset/d48e5330/lyxgit


3

the "omission" of the chapter in the theorem numbering has nothing to do with \swapnumbers. the fact is, there is nothing in your code that says to include the chapter number in the theorem number. how you add it depends on how you want your sections numbered. if you want your sections to have a two-part number, then add the command ...


2

To explain it more detailled as in @Andrew's comment (there a some curly braces missing at the end). I will explain it in two ways: the LyX and the LaTeX coding way. LyX macro input Insert a new blank macro by clicking on menu "View > Math > Macro". A macro field with prefilled macro name "\newmacroname" is inserted: Change "\newmacroname" to the name ...


2

There are various possibilities, this just uses the scrbook class and the scrlayer-scrpage package, setting the headers for left-header-odd-page (\lohead), left-header-even-page (\lehead) and their corresponding commands for the right headers, as well as the centred head command \chead. \documentclass{scrbook} % Koma book class \usepackage{xcolor} ...


2

Select the whole of the ERT containing the image (i.e. the box containing the PDF LaTeX code). Then on the main menu at the top choose Insert->Preview. Make sure you have instant preview turned on in preferences.


2

It seems, as stated by @scottkosty, to be related to the font, probably Computer Modern. So, just change it. In Lyx, go to Document > Settings... > Fonts and change it to something that suits you better, like TeX Gyre Bonum.


1

I already came across the same problem a couple of times and ended up using Nicola Talbot's package glossaries, too. The only dissatifactory part about it was, that there is no native support by LyX to support glossaries. I tried to send a feature request to the LyX development team to enable LyX users to maintain the database files that are used to compose ...


1

Try putting the hand.sty file to the same location where your own .tex file is located. Additionally, there are some fixed folders where LaTeX looks for .sty files. I'm not using OS X myself, but it should be in: /Users/<user name>/Library/texmf/tex/latex/local/ Source: Where do I place my own .sty or .cls files, to make them available to all my ...


1

I wished to leave an example, of a LyX file that implements the recomended solution, as a text file. #LyX 2.1 created this file. For more info see http://www.lyx.org/ \lyxformat 474 \begin_document \begin_header \textclass article \use_default_options true \maintain_unincluded_children false \language english \language_package default \inputencoding auto ...


1

As long as using XeTeX or LuaTeX instead of pdfLaTeX is an option, you can use basically whichever font you have installed in your system. Document --> Settings --> Fonts. Check the box for Use non-TeX fonts (via XeTeX/LuaTeX) at the top: Move down to the LaTeX preamble panel, add \newfontfamily\mylistingsfont{<name of font>} If you want the ...


1

As stated in comments, you need the amsmath package to use bmatrix and similar environments. LyX does not add this automatically unless you actually use some of its features via the GUI in LyX. If you haven't done that, there are two options available: Document --> Settings --> Math options. Select Always load for amsmath. Document --> Settings --> LaTeX ...


1

You get this error if you load natbib additionally before apacite: \documentclass{book} \usepackage{natbib} \usepackage[natbibapa]{apacite} \begin{document} bla \end{document} So don't load natbib but use only \usepackage[natbibapa]{apacite} (which will load natbib).


1

The PDFExpress error message is about the Acrobat version, not the PDF version. This, of course, is misleading, but in fact means that PDFExpress wants PDF version 1.4, as 5 = 1 + 4. For a long time Acrobat and (Acrobat) Reader had followed a simple and deterministic rule for their version number: The Acrobat version is the sum of the major and minor part ...


1

I'm assuming you need to add space between columns. You can do so by setting the width of column. In Lyx, highlight one of the entries in the column you wish to set (not just the text but the whole rectangular entry), right-click, then go to More... and Settings. In Column settings will be a width parameter. In the LaTeX output, changing that parameter ...


1

Yihui Xie, author of knitr, writes in his new book "Dynamic Documents with R and knitr" that: Note that currently Rnw is the only possible format to use in LYX. It seems we are mixing R code with LYX, but LYX is really only a wrapper so we are actually embedding R code in Rnw documents. Unfortunately, it seems that I will have to either reformat ...



Only top voted, non community-wiki answers of a minimum length are eligible