Tag Info

Hot answers tagged

7

There are some subtleties in this kind of sentences. You have to decide whether the space in something like "p and q belong to N" you want a normal space after the comma or not and then be coherent across the document. So you can do either $p$,~$q\in N$ or $p,q\in N$ In the first form the tie is necessary, or you may get p,<line break>q ∈ N ...


5

The white space comes from \LTpre, add the following line to your preamble after \usepackage{longtable}: \setlength{\LTpre}{0pt} Also \LTpost could be set to 0pt, but standalone seems to remove this space at the end of the page.


5

Putting this in gathered inside equation* removes the whitespace: \documentclass[preview,border=12pt,varwidth]{standalone} \usepackage{amsmath} \begin{document} \abovedisplayskip=0pt\relax \begin{equation*} \begin{gathered} 6x^2-30x+36=0\\ 6(x^2-5x+6)=0\\ 6(x-2)(x-3)=0\\ x-2=0 \quad \text{or} \quad x-3=0\\ x=2 \quad \text{or} ...


4

As per the comments, I would suggest using \text{MA} or \mathrm{MA} and perhaps defining a macro for them if they are used often: References: Is there a preference of when to use \text and \mathrm? Notes: In this specific case it does not make sense to use \DeclareMathOperator as per the question these are acronyms and not operators. Code: ...


4

Simply make these characters what they should be: Operators. They aren't arithmetic operators but logical ones, but that doesn't make any difference here: \documentclass{article} \usepackage{amsmath,amssymb} \DeclareMathOperator{\Exists}{\exists} \DeclareMathOperator{\Forall}{\forall} \begin{document} $\Exists a\in\mathbb{R}\Exists b\in\mathbb{R}\Forall ...


4

Nice answer from Sašo Živanović so just a couple of extra comments. Funny you say The reason why I find {} cleaner than \␣ is that the latter seems like a hack as I normally think of it the other way round if I think about it at all. {} is a complex pair of commands opening a local group and closing it again, with the affect on white space being a ...


4

I would just use article and then crop externally eg using pdfcrop using \documentclass{article} \usepackage[english]{babel} \usepackage{textopo} \begin{document} \pagestyle{empty} \begin{textopo} \sequence{EIKKKLFWRAV[VAEFLAMTLFVFISIGSA]LGFNYPLERN} \end{textopo} \end{document} followed by applying pdfcrop (as installed with texlive 2012) produces


4

You could regard this as kind of a bug in the LaTeX kernel. What's happening here? There's some vertical space below the display (\belowdisplayskip) and after the theorem (the \thm@postskip of 2cm that you specified). Now LaTeX is designed such that it doesn't add the sum but the larger one of those two vertical spaces (which is good). The problem arises in ...


3

The problem is that your "space above" and "space below" have no flexibility, while \topsep has. Add some flexibility: \documentclass[a4paper]{amsart} \usepackage{amsthm} \newtheoremstyle{myplain} {2cm plus 1cm minus 0.5cm}% ⟨Space above⟩ {2cm plus 1cm minus 0.5cm}% ⟨Space below⟩ {\itshape}% ⟨Body font⟩ {}% ⟨Indent amount⟩ {\bfseries}% ⟨Theorem ...


3

In my opinion, the real issue with quantifiers is that it's hard to obtain consistent spacing, as I explained in this answer. The most striking example I found: \[\forall W\forall A\] gives Of course there should be more space before the second quantifier; a single space \   will usually be OK. The problem is the spacing after the quantifiers. There ...


3

You're overcomplicating things. You don't need floats (figure) and \caption. Adjust the definition of \problem to suit. Note that I didn't load graphicx because I don't have your images. Load it and, of course, remove the bogus definition of \includegraphics I added just for the example. \documentclass[11pt,twocolumn]{article} \usepackage[T1]{fontenc} ...


3

If I build the textopo environment in a box, the computed width is 5178.32596pt, which is 6 feet or 1.8 meters. You get a more reasonable output if you use the varwidth option to standalone. There's still white space at the sides, though. \documentclass[varwidth,convert]{standalone} \usepackage{textopo} \begin{document} \begin{textopo} ...


2

The double distance key is useful here (see the TikZ manual, p161). \documentclass{article} \usepackage{tikz-cd} \usetikzlibrary{arrows} \usetikzlibrary{decorations.markings} \tikzset{degil/.style={line width=0.5pt,double distance=5pt, decoration={markings, mark= at position 0.5 with { \node[transform shape] (tempnode) ...


2

It depends on the context. If this is part of a piece of text, then you might consider Peter Grill's suggestion: $\exists a\in\mathbb{R}$, $\exists b\in\mathbb{R}$, $\forall c\in\mathbb{R}$, and $\forall b\in\mathbb{R}$ On the other hand, if the quantifiers are part of a logical formula, you might consider a dot between the quantifiers, like this: ...


2

I think that keeping it simple is better. ;-) \documentclass[a4paper, 11pt]{scrbook} \usepackage{blindtext} \usepackage{tabu, booktabs} \newenvironment{texttab}[1] {\setlength{\topsep}{\baselineskip}% \begin{center} \begin{tabu} to 0.9\textwidth {#1} \toprule \rowfont{\bfseries}} {\end{tabu}\end{center}} \begin{document} \section{TEST} This is ...


2

Page 166 in the TeX book, "3. Spacing between formulas", states that the standard spacing to a side formula in a display is a \qquad: \[ s_n = b_1 + b_2 + \cdots + b_n \qquad (n\geq 1) \] It also continues Sometimes a careless author will put two formulas next to each other in the text of the paragraph. ... Everybody who teaches proper mathematical ...


1

I don't know if this is what you are asking, but it's related. In my opinion it's horrible the space after the quantifiers (they look very close to the next letter). I always edit them and add an small space \let\existstemp\exists \let\foralltemp\forall \renewcommand*{\exists}{\existstemp\mkern2mu} \renewcommand*{\forall}{\foralltemp\mkern2mu} By the ...


1

For inline math I'd use the very first version you have in your question, with just a single space before the parenthesis: $a_1=S_1$, $a_n=S_{n} - S_{n-1}$ ($n > 1$) Sometimes the space will look a bit too small; then you can add an small space with \,. For display math I usually use \qquad (which is the same amout of space as \quad\quad): \[ s_n = ...


1

This is not exactly what you are calling for, but since you wanted any other relevant typographic quality indicator I believe is useful, let me mention two packages: Patrik Gundlach's lua-check-hyphen, which lets you review all hyphenations actually used in a document, and Raphaël Pin­son's impnattypo, which implements quite a few rules of French ...


1

It is actually recommended in the TeXbook by Knuth that you split "list" formulas across commas. Thus, he suggests you write $a$, $b$, or $z \in S$ rather than $a, b$, or $z \in S$ specifically because it allows line breaks, whereas math formulas never break after commas for fear of breaking an "argument list" $f(a,b,\dots,z)$. He also recommends a ...



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