6
votes
2answers
54 views

tcolorbox equation and fleqn: not vertically centered

Using tcolorbox with ams equation, there is sometimes additional leading space before the equation comes: \documentclass[fleqn]{article} \usepackage[many]{tcolorbox} \usepackage{amsmath} ...
4
votes
2answers
77 views

How to create horizontally aligned subscripts in latex

My problem is that I can't align subscripts properly. I want subscript 'ISI' to be at same level for both H and x. while (m,n) remains in italic format. The last expression gives aligned subscripts ...
12
votes
1answer
1k views

How to vertically align underbraces

I am trying to balance underbraces in the equation below, how can I ensure that both underbraces at the same depth? \begin{equation} y = \underbrace{ \left [ x^2 + r^2 (a^2+\frac{a^{0.3}}{b}) ...
4
votes
1answer
171 views

Widetilde and prime (derivative) position

I need to write something like {\widetilde f}' in my text, but the result looks rather ugly since the prime (derivative) sign is too low. It looks like \widetilde{f'}. Is there any way to do this ...
7
votes
2answers
115 views

Uneven vertical alignment with $\in$

Here's a simple example: \documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} \usepackage{commath} \newcommand{\st}{\text{ s.t. }} \begin{document} \[ (x_n) ...
18
votes
3answers
863 views

How to align limits of double integrals?

I'd like to have the limits of two integrals vertically aligned. In this example, the x and b should be positioned on the same line. \[\int\limits_x^{\infty}\int\limits_b^{\infty} x^2+y^2 ...
6
votes
1answer
151 views

Match upper horizontal line of two fractions with different roots

I'm learning LaTeX and encountered a problem which I'm not able to solve after reading several related problems (e.g.: Align \sqrt with baseline of other mathematical input). I will present my actual ...
9
votes
1answer
157 views

Measuring align

From what I read it seems that align environments are processed twice: the first time for measuring, the second time for actual typesetting. My question is whether one can get access to these ...
2
votes
1answer
151 views

Aligning multiple equation environments with cases

I have some code that works but I wish to align the environments according to the descriptions. I've tried various combinations of align, equation and cases, but can't seem to find a functional ...
4
votes
1answer
85 views

Changing the distance between a label and a math symbol (an arrow for example)

How does one change the distance between the text label and an arrow (for example), by default the labels are way too high and way too low, it looks better if they are flush with the arrow (they seem ...
3
votes
2answers
90 views

How to put vertical text in an equation?

I want to put vertical text in my equation, like in this example: I got \begin{equation} Dir(\alpha) \xrightarrow{iid} \end{equation} and tried to put in linebreaks, but that does not ...
5
votes
3answers
129 views

Help with left align?

I was trying to left align this equation by using code $$\begin{equation} \begin{aligned} E_\theta(L(\delta_1(X)) &=& E_\theta[(1-\frac{b}{a+X^2}) X-\theta]^2\nonnumber\\ ...
2
votes
1answer
93 views

Left/right scripts with horizontal centering

I have been using \newcommand{\lrscript}[3]{\raisebox{.5ex}{\llap{\scriptsize$#2$}}#1\raisebox{.5ex}{\rlap{\scriptsize$#3$}}} to produce the middle segment of things like this: Produced with ...
7
votes
2answers
360 views

How can I underline mathematics using a harpoon of variable size?

I am a new user of LaTeX. I want to underline the answers to mathematics problems using a \rightharpoondown symbol. If possible, I would like a \rightharpoondown of variable size, as in the image ...
8
votes
1answer
402 views

How to vertically center the fraction line?

I feel a bit weird because this is a really simple issue that apparently nobody has brought up so far but I find that very simple fractions produce output that looks vertically unbalanced. The ...
6
votes
2answers
417 views

Derivatives: enter “evaluated at” vertical bar with multiple values as subscripts

Sorry for the long title, but how do I enter evaluated at (for a derivative), with multiple valuation criteria at the bottom of the the big | line? Thanks!
2
votes
1answer
99 views

Lower indices height

Adding a subscript to a dagged variable, the subscript is lower than when it is added to an undagged variable. Here's an example: $c^{\dagger}_R c_R c^{\dagger}_R c_R c^{\dagger}_R c_R c^{\dagger}_R ...
7
votes
2answers
262 views

Automatically Raising Subscripts

I have the following expression J_{ne}\boldsymbol{\mathsf{J}}_{ne}^{-1} which is awkward in the sense that as the second (sans-serif) J has a superscript that the subscripted indices are lower than ...
6
votes
3answers
3k views

\underbrace and align environment

I want to typeset a proof and want to emphasize what I do in each step e.g. by underbracing an equal-sign when I substitute a variable. In addition I also want to align equal-signs in every line. ...
3
votes
1answer
248 views

Line break in a table cell for a math equation?

In the middle of typing up an assessment and trying to work out how to get equations to work inside a table environment \documentclass [11pt] {article} \usepackage{amsmath} \usepackage{pdflscape} ...
2
votes
1answer
278 views

Enforcing baseline alignment for multiple overbraces in math mode

What is the easiest way to vertically align overbraces in math? In the following example... \documentclass{article} \usepackage{amsmath} \begin{document} \begin{math} *(m, n) = (\overbrace{n - ...
5
votes
3answers
235 views

How can I do this without the cases?

How can I do this without the cases? $\begin{cases} \dfrac{\partial u(x,y)}{\partial x}=2x=\dfrac{\partial v(x,y)}{\partial y} \\ \dfrac{\partial u(x,y)}{\partial y}=-2y=- \dfrac{\partial ...
4
votes
2answers
203 views

Different vertical position of summation limits in consecutive \sum

When I use different summation indices in a double sum the limits are not vertically aligend, for instance: \begin{equation} \Delta K_T^i = \sum_{t=1}^{T}\sum_{k=1}^{m}{\Delta K_t^{i,k}} = ...
2
votes
1answer
927 views

Latex Brace Stack [duplicate]

Possible Duplicate: How to write conditional equations with one-sided curly brackets So I'm trying to take notes in LaTeX and while I've been able to keep up with everything that's been ...
5
votes
2answers
200 views

(How) can I manually specify the axis of a (horizontal) box in math mode?

This question led to a new package: underoverlap I've been using the \overunderbrace macro provided in this answer. It works fine for simple examples, but since the original definition uses ...
1
vote
0answers
64 views

Alignment Issues in Equations [duplicate]

Possible Duplicate: LaTex Error Help- Math Related I'm having trouble formatting this \begin{align*} $$f_a = Res (F(z))_{z=0} &= \Big(Res(F(z)_{z=0} +\sum_{\beta} ...
6
votes
2answers
276 views

LaTex Error Help- Math Related

I'm trying to make an equation array \begin{eqnarray*} f^{(a)} (0) &=& \frac{a!}{2 \pi i} \oint_{ |z| = \frac{\varepsilon}{r}} \frac{f(z)}{(z)^{a+1}} dz &=& &=& ...
5
votes
1answer
151 views

How to insert a text between two cases in a multi valued function?

I want to do something similar to this but do not know how: I do know how to write multi-valued functions by using cases or align or whatever but do not know how to achieve a text that is to the ...
4
votes
2answers
339 views

Need some help with perfecting the layout

\documentclass{article} \usepackage{amsmath} \setlength{\parindent}{0pt} \newcommand{\fac}{n!} \newcommand\test[3]{\left(\begin{array}{@{\,}c@{\,}} #1 \\ #2 \end{array}\middle|\ \ #3 ...
8
votes
1answer
212 views

Why isn't a zero-width box in math mode aligned on the baseline?

I'd like to move equation labels into the margin for an article I'm working on, and the answers in Theorem Name/Numbering in Margin accomplish exactly what I'm looking for. Here is a small example: ...
13
votes
2answers
1k views

Equations inside enumerate aligned on item's number

If I type \begin{enumerate} \item \begin{align*} eqn 1 eqn 2 \end{align*} \end{enumerate} the label will appear on the first lines and the equations will ...
2
votes
1answer
902 views

Matrix in an align environment

I'm currently writing on my masters thesis and I have a question about matrices at the end of a sentence. I write my matrix as a pmatrix in an align environment. Actually the matrix is at the end of ...
16
votes
1answer
938 views

Vertical position of punctuation following fractions in display-style equations

Assuming that one wants punctuation in equations, what is the best way to adjusting the vertical position of the punctuation if it follows a fraction? I am using Palatino and Euler here (which I ...
8
votes
3answers
839 views

Align \sqrt with baseline of other mathematical input

The following mathmatical expression is not being displayed the way I expect it to be. \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} $3x\sqrt{y}-4-2\sqrt{y}+6x$ \end{document} ...
21
votes
3answers
13k views

Dot Derivative Discrepancy

I am trying to typeset some higher-order time derivatives using the dot notation, and I've noticed something strange. The expressions $\dot y + y = \cos(\dot y)$ $\ddot y + y = \cos(\dot y)$ give ...
4
votes
1answer
432 views

Aligning caption of subfigure with math environmenth to the bottom

I was trying to align the subcaption letter of a subfigure that contains a math environment using temporal boxes, to align it vertically to the biggest one. However, when I do it the subcaption letter ...
8
votes
3answers
271 views

Vertically Centering Text/Numbers in Rows of Array using Math Mode

I am trying to center text in an array of two rows inside a math mode environment so that the text in the second column of the array appears half way between the first and second row of the first ...
38
votes
2answers
46k views

How can I get text underneath an underbrace?

I am looking to do something of the following: To get text underneath the underbrace. Is it involving \stackrel or some sort of similar command?
1
vote
2answers
264 views

How can I make $E\subseteq F$ vertical?

I am wondering whether anyone knows how to type $E \subset F$ vertical. That is $E$ is on the top then right below it is $\cap$, and below which is $F$.
6
votes
1answer
1k views

Can I insert a vertically centered image in math mode?

In Mikael Öhman's answer to this question, he provides some code for placing an image in math mode as a symbol using the \mathord declaration. I can define a new command in the preamble using this, ...
1
vote
1answer
1k views

\ShortStack Align

Some sentence.... \shortstack[]{a\\b\\c} it produces like a b Some sentence.... c But I would like to produce something like this a ...
6
votes
3answers
1k views

Same height for list of comma-separated vectors

I am trying to typeset a list of vectors spanning a multidimensional space, using the notation span{v_1,v_2,...,v_n} (I haven't found out how to inline it as rendered latex) i.e.: span \{ ...
5
votes
1answer
216 views

Greek letter in math mode appears lower than the rest of the statement

This is my first time using the math mode. My problem is visible in the following screen capture. I find that the lower-case chi letter is rendered lower than the latin characters. Is that normal? ...
7
votes
4answers
695 views

New Large Math Symbol

I want to use symbols from the phaistos package as "numbers" This means that I want to type something like: \documentclass{amsart} \usepackage{phaistos} \newcommand{\lo}{\text{\PHbee}} ...
1
vote
0answers
270 views

Bad vertical centering in an equation [duplicate]

Possible Duplicate: Vertically asymmetric size variation for parentheses I'm trying to typeset something like the following: \begin{equation} x = f\Biggl[\sum_{i\in\Omega} ...
18
votes
3answers
2k views

Vertically asymmetric size variation for parentheses

One of the difficulties I have with writing formulas in LaTeX is that the standard sizing tools for the variable-size operators (parentheses, etc.) do not account for "high" symbols and "low" symbols ...