Tag Info

Hot answers tagged

12

Use the \mathord command to declare an ordinary mathematical symbol, as in: t = \mathord{?} If you're going to be using this repeatedly, I would define something like \newcommand{\que}{\mathord{?}} so that you can use it easily (and be true to the semantic ideals of LaTeX, etc. etc.). \documentclass{article} \newcommand{\que}{\mathord{?}} ...


8

A displayed equation should never be at the top of anything. The problem is that a paragraph is started and then the equation is typeset. \documentclass{beamer} \usetheme{Antibes} \usepackage{amsmath} \begin{document} \begin{frame} \begin{block}{Separation of variables} \vspace*{-\baselineskip}\setlength\belowdisplayshortskip{0pt} \begin{equation} 1 + 2 ...


6

You can redefine the way amsmath defines the cases specification by updating \env@cases. Below I removed the zero-width column padding that was stripped from the array column specification: \documentclass{scrbook} \usepackage{amsmath} \makeatletter \def\env@cases{% \let\@ifnextchar\new@ifnextchar \left\lbrace \def\arraystretch{1.2}% ...


5

{\setlength\parindent{0pt} Komentar: \fbox{ %< there is a space here %< Doesn't introduce a space but never allocate a register inside a group \newlength\mylength \setlength\mylength{\hsize - \widthof{Komentar: }} %< there is a space here \begin{minipage}[t]{\mylength} \hfill \vspace{8cm} \end{minipage} %< there ...


4

If this is for a journal paper submission, don't worry about it. The editors will sort out the placement of the contents to fit within their templates. However, if you want to do this for your own usage, there are a number of options. Easiest is to include the float package and use the [H] float placement specifier \documentclass{article} ...


3

You can simply redefine proof in this way \makeatletter% q.e.d. adjustment (posted by ???) \renewenvironment{proof}[1][Proof]{\par \pushQED{\qed}% \normalfont\topsep2\p@\@plus2\p@\relax \trivlist \item[\hskip\labelsep \sffamily\bfseries #1]\ignorespaces\mbox{}\vskip0pt\noindent }{% \popQED\endtrivlist\@endpefalse } \makeatother and use topsep=0 ...


3

Instead of using nested equation* and aligned environments, you could use a single align* environment. Two additional suggesions: (i) for the separation between the equation and condition parts, you could employ \qquad ("double \quad"); (ii) for a bit more vertical separation between the two rows, you could [1ex] immediately after the first \\ line break ...


2

You are being unlucky. Because of the implementation of \newtheorem in the kernel, under some circumstances the whatsit generated by hyperref is issued in a place where it makes it impossible to remove the space at the end of the paragraph (generated by the end-of-line after Torsione.). Here's a set of examples. \documentclass[a4paper]{report} ...


2

If you don't want the equations numbered (since you are using aligned), just adding a && after the = 0 on each row will insert a \quad = 1em horizontal gap between the equation and what follows AND left-align the following content (a single & would also add the 1em gap, but right-align what follows). The aligned type environments are aligned ...


2

Instead of captionof you can put tabularx in a table float environment and use the normal caption. Then you should be able to adjust spacing using \vspace{} directive. For instance, \begin{table} \vspace{-1cm} % reduce distance above table \begin{tabularx}{\textwidth}{XXXXX} \toprule F & G & E \\\midrule ...


2

Assuming the caption is set below the tabular material -- as is the case in your example -- the vertical space above the caption is governed by the length parameter \abovecaptionskip. Its default value is the nominal font size of the document, e.g., 10pt. To change this parameter, use \setlength\abovecaptionskip{<some length>}. ...


2

You need to change three lines in the original definition of \flushmaketitle (in my example below the changes are marked using % ORIGINAL and % NEW): \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{banking} \moderncvcolor{blue} \usepackage[scale=0.75]{geometry} \makeatletter \renewcommand*{\flushmaketitle}{% \strut\usebox{\maketitlebox}% ...


2

I propose a simple solution relying on the empheq package (that loads amsmath and mathtools) and the align(ed) or align(ed)at environments. It lets you define what's on the left or on the right of a math environment.I give 5 variation on how to control the horizontal spacing, not only between the brace and the subsequent formulae (with extravagant value) ...


1

You have several options: Insert a blank line The simplest is to insert a blank line into your table in the place where you want to increase the spacing: \begin{table} \begin{tabular}{l c c c c} & Mod1 & Mod2 & Mod3 & Mod4 \\ & b/se & b/se & ...


1

I would argue that adding a little bit of vertical whitespace after every second numeric row -- so that information about coefficient estimates and standard errors is grouped visually -- is only one of several layout challenges you face. Three additional objectives, in my opinion, should be (i) aligning the numbers on their decimal points, (ii) typesetting ...


1

When justification becomes a problem (typical of smaller horizontal spaces), using a \raggedright approach (perhaps with the inclusion of ragged2e) is sometimes better. microtype can also help... Also, when mixing-and-matching different font sizes, be sure that a paragraph is set (via an explicit \par or an empty line) in order for the baseline skips to be ...



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