Hot answers tagged

4

You probably want to set Preferences > Look & Feel > Display > Instant Preview to No math.


3

The problem in your example is caused by the class option balancelastpage. This option causes the columns on the last page to be balanced, i.e. have the same height. If you go to Document --> Settings --> Document class, and change balancelastpage to nobalancelastpage, you'll get a different result.


3

There is a bug request asking for a button to stop the compilation: http://www.lyx.org/trac/ticket/10108. In the meanwhile, you can try to stop the spawned processes (pdflatex, knitr...) and lyx will give up at some point (not ideal).


3

There are four predefined page styles that can be used with KOMA-Script class without loading an additional package for header and footer. You can use \pagestyle{plain} to get the page number in footer but an empty header. empty: header and footer are empty headings: page number in footer, headings will be set by chapters, sections etc. myheadings: page ...


3

From the LyX wiki: If you do not want any line breaks within paragraphs, set Tools→Preferences→Output→General→Output line length to 0. https://wiki.lyx.org/FAQ/ImportExport


3

As per http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf, in LyX one must use \sp instead of ^ and \sb instead of _.


3

The problem seems to lie in using \section* rather than \section in the redefinition. The fix is simple: \renewcommand{\bibsection}{\section{References}} The reason is that *-forms of sectioning commands print the title, but -- barring other redefinitions by the user or the class or a package -- do not include a number and do not make an entry in the ...


3

Well, OK, I found my answer, digging through browser history. There is a command layout-reload Tools -> Preferences then Editing -> Shortcuts then it is under "Font, Layout and Text-Classes" and you can assign a keyboard shortcut to layout-reload as I did.


2

Go to Document > Settings ... > Document class > Custom and just write the options delimited by commas: 12pt, draftclsnofoot, onecolumn


2

Here is TeX based solution. \def\subinrm#1{\sb{\rm#1}} {\catcode`\_=13 \global\let_=\subinrm} \mathcode`_="8000 \def\upsubscripts{\catcode`\_=12 } \def\normalsubscripts{\catcode`\_=8 } \upsubscripts $A_{lake}$, $\normalsubscripts \sum_{i=1}^\infty {1\over n}$


2

In any amsmath environment such as alignat, you can add \qedhere at the end of the last cell and wrap it inside \tag*, as follows: For repeated usage, I recommend defining a macro as follows: I have been using this trick for years, it always worked for me.


2

This is not a perfect answer but is a slightly better workaround than putting the whole picture in a TeX environment. Add the following to your preamble (in Document->Settings): \makeatother \newcommand{\arup}[1]{\ar@/^/[#1]} \newcommand{\ardn}[1]{\ar@/_/[#1]} \makeatletter (Yes, this combination of \makeatother and \makeatletter is the opposite way round ...


2

The XY-pic User's guide says that /_/ is just a short for /:a(-90)/, so I guess you could use something like \ar@/:a(-90)/[r]. \ar@(dr,ur)[r] works too.


2

I have discovered that in LyX I have to put the minted part of the file into a [ctrl]+[L] box. Only then does it work.


1

The Drag-Dropping is not working at least in Lyx OSx with my settings but Lyx > Preferences > Look & Feel > Document Handling and select the option "Open documents in tabs" works, this is suggested by scottkosty where a small difference with "Tools > Preferences > Look & Feel > Document Handling" with Tools instead of Lyx toolbar link. There ...


1

Are you looking for something like this? \documentclass{article} \usepackage[T1]{fontenc} \usepackage{titlesec,titletoc,lipsum} \titleformat{\section} {\normalfont\Large\bfseries} {\thesection}{1em}{} [\vspace*{2pc}% \startcontents \printcontents{}{1}{\setcounter{tocdepth}{2}}% ] \newcommand\repeatsection{% \section{This section} ...


1

Too long for a comment, but without more information about your document we cannot help. This works fine as pure LaTeX \documentclass[a4paper]{memoir} \usepackage{listings} \renewcommand\ttdefault{txtt} \begin{document} \lstset{ % language = R, numbers=left, numbersep=10pt, tabsize=4, breaklines=true, title=\lstname } \lstinputlisting{MonteCarlo.R} ...


1

Here's a LuaLaTeX-based solution. The solution assumes that subscript material that's encased in curly braces should be rendered in the upright font shape. For the convenience of entering single-character subscripts -- a frequently occurring situation! -- it is further assumed that single-character subscripts that are not encased in curly braces should not ...



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