# Tag Info

3

In my opinion you don't need the one liner sharing alignment with the four line display: they are separate by three lines of text and, moreover, the one liner is a general formula. However, there's no guesswork involved: just squash the material on the outside. \documentclass{article} \usepackage{mathtools} \newcommand{\LHS}[1]{\mathllap{#1}} ...

5

I don't know which package you need to use multialign, nor the purpose of that environment. I was able to reproduce the desired output with standard align environment, and without adding spaces with \. The macro \intertext (from amsmath) does the trick, but only for special cases such as the example you posted, in which the separate equations you want to ...

1

You could simply not use the \text{...} "wrapper" in the second argument of \DeclareMathOperator*} macro. Instead, just write \newcommand\myspacer{\quad} \DeclareMathOperator*{\minimize}{minimize\myspacer} \DeclareMathOperator*{\subjto}{subject\ to\myspacer} The macro \myspacer is set to \quad for now. If you wish to change it to \qquad or \, that's ...

4

You can set the problem in an array to adjust the spacing. For consistency, it's best to define this as an environment: \documentclass{article} \usepackage{amsmath,array,environ} \DeclareMathOperator*{\minimize}{\text{minimize}} \DeclareMathOperator*{\subjto}{\text{subject to}} \newcolumntype{R}{>{\displaystyle}r} ...

5

LaTeX by default uses scriptstyle for sums inside fractions. You can change the sums to displaystyle like this: $\langle \mu_{m} \rangle = \frac{{\displaystyle \sum_{-J}^{J}}{-g\mu_{\beta}M_{J}B.\exp{\left(\frac{-g\mu_{\beta}M_{J}B}{kT}\right)}}} {{\displaystyle \sum_{-J}^{J}}{\exp{\left(\frac{-g\mu_{\beta}M_{J}B}{kT}\right)}}}$ PLEASE, use \langle ...

4

\documentclass[preview,border=12pt,12pt]{standalone} % please change it back to your article class below %\documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \abovedisplayskip=0pt\relax% don't use this line in your production \begin{align*} n & \propto \exp(-U/kT) \\ \Rightarrow \quad n &= A \exp(-U/kT) ...

8

Something like this. Put & right after n's. Update: commented by barbara beeton. Thanks. Code \documentclass[12pt]{article} \usepackage[paper size={10cm,3cm}]{geometry} \usepackage{amsmath} \begin{document} \begin{align} n& \propto \exp(-U/kT) \notag \\ \Rightarrow \quad n& = A \exp(-U/kT) \notag \end{align} \end{document}

2

Here's a solution with thmtools \documentclass{article} \usepackage{amsthm,amssymb,thmtools} \declaretheoremstyle[ spaceabove=6pt plus 6pt, spacebelow=6pt plus 6pt, headfont=\itshape, bodyfont=\normalfont, postheadspace={ }, qed=\protect\thisproofqed, ]{proof} \declaretheorem[ name=\protect\thisproofname, style=proof, numbered=no, ...

6

Here is a direct solution just using the AMS packages. We just set up a new environment, which is proof but containing a redefinition of the \qedsymbol. \documentclass{article} \usepackage{amsthm,amsmath,amssymb} \newcommand*{\myproofname}{My proof} ...

5

I also tend to use ntheorem as Bernard show. Just wanted to add how I'd do this with amsthm: \documentclass[a4paper]{memoir} \usepackage{amsthm} \newenvironment{proof*}[1][\proofname]{ \renewcommand\qedsymbol{\rule{3mm}{3mm}} \begin{proof}[#1]}{\end{proof}} \begin{document} \begin{proof} sfadf \end{proof} \begin{proof}[Proof of ...] sfadf ...

5

This is quite easy with the ntheorem package. Moreover, it manages correctly the placement of end-of-proof symbols when the proof ends in a displayed equation. I added the cleveref package to show how it manages reference types (if the cited theorem were to become a proposition, for instance, its reference would be changed accordingly): ...

5

From the amsmath user guide: The split environment is designed to serve as the entire body of an equation, or an entire line of an align or gather environment. There cannot be any printed material before or after it within the same enclosing structure. In particular, you can't have \left\{ to the left and \right. to the right of the split material. ...

0

As \raisetag doesn't seem to work properly here the align environment looks like a decent solution: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{align} A = &\left( B \right. \notag \\ &\phantom{(} \left. + C \right) \end{align} \end{document}

1

I'd do something like this \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} A &= \Bigl( B \notag \\ &\phantom{= \Bigl(} + C \Bigr) \end{align} \end{document} or using split \documentclass{article} \usepackage{amsmath} \begin{document} \begin{split} A &= \Bigl( B \\ ...

3

This is what you may need actually. \documentclass{article} \usepackage{mathtools} \begin{document} \begin{align*} I\left(a;\frac{1}{a}\right) &= I\left(\frac{1}{a};a\right) \\ I\left(a;\frac{1}{a}\right) &= -I\left(a;\frac{1}{a}\right) \\ \hbar I\left(a;\frac{1}{a}\right) &= 0 \end{align*} \end{document}

0

Thanks Andrew, that helped a lot! My final solution, for reference is (no section numbering, \g as environment shorthand): \documentclass[10pt,a4paper]{article} \usepackage{amsfonts} \usepackage[fleqn]{amsmath}%fleqn for align left \let\ul=\underline \newenvironment{Gather}[1]{\subsection*{\underline{#1}}% \minipage{\textwidth}\csname ...

3

You could try something like the following: \documentclass[10pt,a4paper]{article} \usepackage{amsfonts} \usepackage[fleqn]{amsmath}%fleqn for align left \let\ul=\underline \newenvironment{Gather}[1]{\subsection{\underline{#1}}% \minipage{\textwidth}\csname gather*\endcsname} {\csname endgather*\endcsname \endminipage} \begin{document} ...

3

According to page 58 of the TeXBook: TeX will not deal with dimensions whose absolute value is 230 sp or more. In other words, the maximum legal dimension is slightly less than 16384 pt. This is a distance of about 18.892 feet (5.7583 meters), so it won’t cramp your style. Your overfull hboxes are no larger than 9000pt, so a width of around ...

4

shamelessly stealing the code from @Mico, and second-handedly from @egreg, here is a small adaptation that has the descriptions of the steps left-aligned, which i think is what the question is really asking for. i have added one step, which takes the math content of the first line of the alignment as an argument, and forces that line to a fixed width, which ...

4

Assuming you want to use the multialign environment that was defined by @egreg in an answer to your posting How to Align systems, all you need to do is to rearrange some of the & alignment symbols. Observe that one must not have all-blank lines in an align environment (or one, such as multialign, that's derived from align and friends). Separately, I ...

6

If you want to carry over the alignment, the easiest way is to define your own environment: \documentclass{article} \usepackage[pass,showframe]{geometry} % just to show the page margins \usepackage{amsmath} \makeatletter \newenvironment{multialign} % a copy of flalign* {\setcounter{multialign}{0}% ...

1


21

Here's a “hand made i with asterisk”: \documentclass{article} \makeatletter \newcommand{\asti}{% \check@mathfonts \leavevmode {\ooalign{% \hidewidth \raisebox{.8ex}{\fontsize{\ssf@size}{0}\selectfont*}% \hidewidth\cr \i\cr }}% } \makeatother \begin{document} Here \asti s \asti t. \LARGE Here \asti s \asti t. \end{document} The ...

6

i⃰ or ı⃰ U+20F0 ‘Combining Asterisk Above’ after either i or dotless i (U+0131), since you’ve tagged your question with xetex, i.e. can use most of Unicode (if you have the right fonts, of which there seem to be few). \documentclass{scrartcl} \usepackage{fontspec,lmodern} \newcommand\testtext[2][i⃰ / ı⃰]{\noindent{#1 \hfill \textit{#1} \hfill \textbf{#1 ...

Top 50 recent answers are included