In this MWE, there is additional white space between the line of text and the following subequations environment. It disappears when I unload hyperref, when I remove the wrapping subequations environment, when I shorten the line of text, or when I append % to the line of text.  \documentclass{IEEEtran} \usepackage{amsmath,hyperref} \begin{document}     mmmmmmmmmmmmmmmi      mmmmmmmmmmmmmmmi     \begin{subequations}         \begin{equation}             X         \end{equation}     \end{subequations} \end{document}   But why does it appear in the first place, and can this be fixed?
120693
I have a document using subequations and the parskip package. If the paragraph before a subequations environment is completely filled up to the last line, then additional vertical whitespace is introduced between this paragraph and the following subequations. I guess this is a bug, but I'm not sure, nor do I have enough TeX knowledge to try and fix it. How can I fix this whitespace issue?  Below is a MWE which shows the behaviour, at least on LaTeX2e &lt;2003/12/01> with pdfeTeX 3.141592-1.21a-2.2 (unfortunately on this machine only an old tetex distribution is installed).  \documentclass[a4paper,11pt]{article}  \usepackage{parskip} \usepackage{amsmath}  \begin{document}  The subequations environment provides a convenient way to number a foos \begin{subequations}\label{foo}   \begin{align}     x^2 + y^2 &amp;= z^2\\     a &amp;= b + c   \end{align} \end{subequations}  \end{document}
35886
Code is supposed to be exact and "as-is". Sometimes, showing two spaces is important. In a comment, it is not possible to show code with  multiple   spaces. This became apparent in  (see comments).  EDIT: apparently this bug is larger then I thought: multiple    spaces   here are neither preserved in normal question text. Pity (though I couldn't find this reported before, I'd assume it is).  Workaround: use Alt+0160 (windows), or U+00A0 (Unicode NBSP), as I did in the example above.
66993
When we use a header in a Question or Answer, the header is starting a new section of text, and is not related to the previous text above it (we have bold etc for highlighting within current text).    However, currently the space above the header is less than the space below it, so the header visually appears to be more closely linked and relevant to the text above the header.    For example:      Here I write some text about conservation within urban areas.    Header to portray I'm starting a new context (or other usage)  Do mice understand algebra when given enhancement drugs?    The header is closer to the text above than it is the text it's relevant to below. I measured it's roughly 5 pixels more space from the bottom of the header to the next text, than it is from the top of the header to the text above.  Can we have the spacing slightly adjusted so (whatever space is decided) there is more above the header than below?    Something like:  margin-top: 1.5em; would do it (i.e. on h2{})    This is what the exact above example looks like with 1.5 em added to the top (using Firebug):     It's not much, but it's enough to separate the text correctly.
100097
I have something like  \documentclass{article} \usepackage{cite} \begin{document}  Blah Blah (\cite{All14})  \bibliography{Ref} \bibliographystyle{alpha} \end{document}   But LaTeX keeps placing a space before my citation, i.e. my output looks like "Blah Blah (&nbsp;[All14])".  So, I modified it to Blah Blah (\hspace*{-3px}\cite{All14}). However, this seems to be a less than elegant solution.  Is there a better way to eliminate this space?
59201
I am just a beginner in LaTeX, I am facing a problem in Ref Range,   \documentclass{article} \usepackage{amsmath,amsfonts,amssymb,cleveref} \begin{document} \ref{eq1a,eq1b,eq1c,eq1d,eq1e} \begin{subequations}   \begin{align}     1+1=2\label{eq1a}\\     1-1=0\label{eq1b}\\     23+23=46\label{eq1c}\\     d+e=f\label{eq1d}\\     e+f=g\label{eq1e}   \end{align} \end{subequations} \ref{eq1a,eq1b,eq1c,eq1d,eq1e} \cref{eq1a,eq1b,eq1c,eq1d,eq1e} \end{document}   My problem is I want to display the refrange like 1a-e if I use \cref, but I am getting an output like 1a-1e but is it possible to hide the 1 in the refrange (1a-e)  I went through the cleveref style file (Dont know anything about that :)), I found out the command which is replacing the (1a-1e) (cleverref.sty Line Number: 1022)              \textup{(#3#1#4)}--\textup{(#5#2#6)}}}{}}{}%   In the above mentioned coding from cleverref.sty, I need to delete the Number and retain the 'e' from #2, Please guide me in this problem, thanks in advance
98236
I wanted a simple environment for making lists of equations, so I made one that includes an equation and a split environment. The code won't compile and the error seems unrelated. The most pressing thing I noticed was the &quot;You can't use `\end' in internal vertical mode.&quot; The problem is definitely the split environment. Here is a MWE. \documentclass{article} \usepackage{amsmath}  \newenvironment{env}     {\begin{equation}\begin{split}}     {\end{split}\end{equation}}  \begin{document} \begin{env}     x \end{env} \end{document}  If I remove the split environment from env, everything compiles just fine. Additionally, If the following example compiles just fine. What is the problem then? \documentclass{article} \usepackage{amsmath}  \begin{document} \begin{equation} \begin{split}     x \end{split} \end{equation} \end{document}  Here is the LaTeX error upon running the MWE. math.tex|11 error| LaTeX Error: \begin{split} on input line 9 ended by \end{env}. math.tex|12 error| LaTeX Error: \begin{equation} on input line 9 ended by \end{document}. math.tex|12 error| Missing $ inserted. math.tex|12 error| Missing } inserted. math.tex|12 error| Missing } inserted. math.tex|12 error| Missing } inserted. math.tex|12 error| Missing \cr inserted. math.tex|12 error| Missing { inserted. math.tex|12 error| Missing { inserted. math.tex|12 error| Extra }, or forgotten $. math.tex|12 error| Missing $ inserted. math.tex|12 error| Missing } inserted. math.tex|12 error| You can't use `\end' in internal vertical mode. math.tex|12 error| LaTeX Error: \begin{equation} on input line 9 ended by \end{document}. math.tex|12 error| Missing } inserted. math.tex|12 error| Missing $ inserted. math.tex|12 error| Display math should end with $$. math.tex|| Emergency stop. math.tex|| ==&gt; Fatal error occurred, no output PDF file produced!
75675
I have a problem, this is what it looks like:     And this is the code:  \subsection{Bakterienst\"amme und Anzuchtbedingungen}   Where does the huge whitespace come from?
83994
I noticed an unexpected different line spacing of the titlepage what drives me crazy. The left page is the MWE, the right page without the \\ in front of Name.  \documentclass{scrartcl}  \begin{document}  \centering \Huge \textbf{UUUUUUUU UUUUUUUUU UUUUUUUUUUUUU UUUUUUUUUUUUU} \vspace{\baselineskip}\\ \textbf{UUUUUUUU UUUUUUUUU UUUUUUUUUUUUU UUUUUUUUUUUUU} {\rmfamily\Large \vspace{5\baselineskip}\\Name}  \end{document}     Any idea what causes this? Thanks alot!  Cheers, Stephan
27962
In the example below, an error is caused by \begin{align} and \end{align} but I do not see why:  \documentclass{book} \usepackage{amsmath} \newenvironment{subalign}{\begin{subequations}\begin{align}}{\end{align}\end{subequations}} \begin{document} \begin{subalign}      a&amp;=b\\     &amp;=b \end{subalign} \end{document}
108672
How do I adjust the vertical space between the question titles and the text of the questions in the exam-class.  \documentclass{exam}  \qformat{\large\textbf{Question \thequestion}\hfill}  \begin{document} \begin{questions}     \question     Some text \end{questions} \end{document}   I've tried adding some \vspace to the end of the argument of \qformat but that doesn't work. I can't figure out what controls the spacing.
25578
The following produces error! The error is solved if no space exists between text= and {5in,8in}. This is really weird! Why is this happening with LaTeX?  \documentclass[a4paper,10pt,onecolumn,oneside, portrait]{article}  \usepackage[text= {5in,8in},centering]{geometry}  \begin{document}      \section{What Endogenous uncertainty is:}  yes  \subsection{Type as it is : Stochastic and determ! } on  \subsubsection{Well there is more than it} Yes    \end{document}
119314
Consider the following snippet:  $$\text{d}_{H}(A,B)  = \max\left\{ \sup_{a\in A} \inf_{b\in B} \text{d}(a,b),\sup_{b\in B} \inf_{a\in A}\text{d}(a,b)\right\}$$     In the output, the text under the inf's is significantly smaller then the one under the sup's. The same happens when I have it in an align environment.  You can see the same problem in the wiki definition of the . How can I have the typeset under the inf's and sup's in the same size?
5072
this is my first time here, and I have this question:  I'm writing my thesis, that includes many tables and figures in a float environment, with the caption at the end of it. I defined the space between the end of float's caption and the next paragraph. This works fine, but when I forced to stay when I tiped (with [h]), this space (between caption and next paragraph) is bigger. Of course, one of the items that will be evaluated, is the spaces (they all must be the same).  So, my question is: How can I solve this?  There is an example of the code I'm using: (TexShop —Mac Os 10.6.8)  \documentclass[letterpaper,12pt,oneside]{book} \usepackage[spanish,es-lcroman]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[font=small,format=hang,parskip=1pt]{caption} \usepackage{ctable} \usepackage{float} \raggedbottom \begin{document} \setlength{\textfloatsep}{10pt}  \setlength{\abovecaptionskip}{10pt} \setlength{\belowcaptionskip}{5pt} ... \end{document}
39220
Suppose I have the following code  \begin{subequations}  \begin{align} a+b = c \label{eq.1}\\  d+e = f \label{eq.2} \end{align} \end{subequations}   I want now that upon giving the reference, it should appear as (1a-b). \eqref{eq.1} and \eqref{eq.2} will give output as 1a and 1b not what I want, which is (1a-b).
67012
Consider the following example:  \documentclass{article} \newtheorem{Theorem}{Theorem} \begin{document} \begin{Theorem} On the other hand, this one has only one claim. \end{Theorem} \begin{Theorem} \begin{enumerate} \item First claim \item Second claim \end{enumerate} \end{Theorem} \end{document}   Typesetting it results in:    Notice there is extra horizontal space before the first item in the list of the second theorem.     Is there a sensible way to get rid of that?   Ideally, the solution would work with amsthm, thmtools, enumitem.  N.B.: this is related to  but not quite the same.
111720
The following code  $\widetilde{aaa} \quad L^{\widetilde{aaa}}$  $\tilde{aaa} \quad L^{\tilde{aaa}}$  $\widehat{aaa} \quad L^{\widehat{aaa}}$  $\hat{aaa} \quad L^{\hat{aaa}}$  $\overline{aaa} \quad L^{\overline{aaa}}$  $\bar{aaa} \quad L^{\bar{aaa}}$   produces the following output:    What is the reason for additional vertical spacing for \widetidle and \widehat in superscript and what can one do about it?
4175
I have equations inside an environment which has a larger left-margin than the main text (analogous to an enumerate/itemize environment, implemented with the changepage package's adjustwidth environment). Just as equations in enumerate/itemize behave, the equations are centered with respect to the entire text, rather than just the width of the container environment. I want the latter behavior.  I'm trying to accomplish this by wrapping all display-math in minipages. Namely, I'm modifying the mathdisplay environment in amsmath.sty as follows:  \makeatletter \let\oldmd\mathdisplay \def\mathdisplay#1{%   \newline   \begin{minipage}{\textwidth-\@totalleftmargin}%     \oldmd{#1}% } \let\oldendmd\endmathdisplay \def\endmathdisplay#1{%   \oldendmd{#1}%   \end{minipage} } \makeatother   This is almost working, but there are some issues with spacing which I don't understand how to fix. Here's how the the normal \[ ... \] and numbered \begin{equation} ... \end{equation} look with the above modification:      My main confusion is why the numbered version is behaving so differently from the unnumbered. But all in all I want to fix this so that the spacing above and below is even as it usually is. Any help is appreciated, thanks.  Edit: Here's a compilable example:  \documentclass{amsart}  \usepackage{lipsum} \usepackage{calc} \usepackage{changepage}  \makeatletter \let\oldmd\mathdisplay \def\mathdisplay#1{%   \newline   \begin{minipage}{\textwidth-\@totalleftmargin}%     \oldmd{#1}% } \let\oldendmd\endmathdisplay \def\endmathdisplay#1{%   \oldendmd{#1}%   \end{minipage} } \makeatother  \setlength{\parindent}{0pt}  \begin{document}  \lipsum[1]  \begin{adjustwidth}{20pt}{} \lipsum[2] \[ x \mapsto \hom(-,x) \]  \lipsum[3] \begin{equation}   y \mapsto \hom(y,-) \end{equation} \lipsum[4] \end{adjustwidth}  \lipsum[5]  \end{document}