Tag Info

Hot answers tagged

6

Please upgrade your LaTeX installation. That is one horribly old LaTeX installation In my system (TeX Live 2014), then the only warning I get is a overfull \hbox (15.0pt too wide). 15pt is the standard size of the paragraph indentation. So you may want to use \noindent \begin{tabularx}... or \begin{center} \begin{tabularx}.... ... \end{tabularx} ...


6

The answers depend a lot on what kind of document you are producing. LaTeX's float placement algorithm is a lot better and has a lot more parameters than many users believe. See Frank's description One of the most common problems of course is that when things don't go quite as people expect they use [h] which makes it much more likely that the figure can ...


6

I am not too sure if getting advice from TeX hackers on typography is good advice but certainly is solid advice on anything related to LaTeX. My own preference is to mix both floating and non-floating figures and I like non-floating figures. Here are some samples: Here is the same "style" for an arts page Here is one "Life Magazine style" These and ...


5

As stated in the Beamer manual v3.33 at the end of page 62, when trying to use a frame environment inside \newenvironment, the ending must end with \end{frame} and not contain any other \end command, since the actual mechanics are somewhat sensitive. So in order to add additional environments, the manual suggests to define a separate new command to contain ...


4

You better use pmatrix: \documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{amsmath} \begin{document} Preliminary Theorem 1.1.2. If $(\lambda_1,\dots,\lambda_n)$, $(\mu_1,\dots,\mu_n)$, and $(k_1,\dots,k_n)$ are arrangements of $(1,\dots,n),$ then \begin{align*} &ϵ\begin{pmatrix} \lambda_1,\dots,\lambda_n \\ ...


4

Just use your first version, with \displaystyle. \documentclass[preview,varwidth ,multi,border=1pt]{standalone} \usepackage{amsmath} \def\D{\mathrm{d}} \begin{document} %(i) \preview $\displaystyle\int^{10}_0{\frac{1}{2}\D t}$ \endpreview \end{document} For systems of equations, you can use aligned inside single dollar signs. ...


4

If a list such as itemize is placed at the start of a minipage its usual vertical spacing before the list is omitted. Adding multicols the way you did it is producing a box around the itemize list just like a minipage and thus the \topsep is not added. Instead what you see is the \multicolsep which is added before and after the multicol environment. In ...


2

\part sets its ToC-entry within \@part (from report.cls): \def\@part[#1]#2{% \ifnum \c@secnumdepth >-2\relax \refstepcounter{part}% \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}% \else \addcontentsline{toc}{part}{#1}% \fi \markboth{}{}% {\centering \interlinepenalty \@M \normalfont \ifnum ...


2

This look, maybe? \documentclass{article} \begin{document} $\scriptstyle \begin{array}{l@{\quad}r} XXXXXXX(XXXX(A,B,C),XXXX(D,E,F)) &\leftarrow \\ XXXXXX(A,B,C) \quad \wedge \quad XXXXXX(D,E,F) &\wedge\\ XXXXX(XX(A,B),XX(D,E)) & \wedge \\ XXXXX(XX(B,C),XX(E,F)) & \wedge \\ XXXXXX(XXX(A,B,C),XXX(D,E,F)).\\ \end{array}$ \end{document} If ...


2

If you want the space to match the width of the characters Th, do this: \documentclass{article} \setlength{\parindent}{0pt} \begin{document} This is first line\\ \phantom{Th}This is second line\\ This is third line\\ This is fourth line \end{document} I can't see why you would want to do this, but that's a way. Or you can use \hspace: ...


1

As I just found out, using fragile=singleslide (instead of just fragile) as an argument of frame solves this particular issue too. However, the accepted answer is likely to fix other issues as well and arguably should be the preferred way to do it.



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