# Tag Info

56

The PDF format supports a feature "ActualText" that is used for copy-paste instead of the actual typeset text. However, it is not supported by all PDF viewers, but Acrobat Reader does support it. \documentclass{article} \usepackage{accsupp} \newcommand*{\copyable}[1]{% \BeginAccSupp{% ActualText=\detokenize{#1},% method=escape, }% #1% ...

2


0

The following example uses environment tabular* to simulate the equations and to achieve the alignment requests: \documentclass{article} \usepackage{amsmath} \usepackage{array} \begin{document} \noindent A\hfill Z \begin{center} \begin{tabular*}{\linewidth}{% @{}l% description @{\extracolsep{\fill}}% >{$\displaystyle}c<{$}% simulate displayed ...

3

This code is Plain TeX style. It will possibly run on LaTeX, but \matrix will give an error if amsmath is loaded. Some changes are needed for using the code in LaTeX (I assume also amsmath): D_{E}\propto \left\{ \begin{aligned} &(1-A)\cos(kh\sin\theta)-2B\cos\beta]^{2}\\ &\quad{}+[(1+A)\sin(kh\sin\theta)+2B\sin\beta]^{2} ...

3

Please always post complete documents which reproduce the problem. With the standard classes the bullets are to the left of the number: \documentclass[leqno]{article} \usepackage{amsmath} \begin{document} aaa \begin{itemize} \item Such and so \item the following holds \begin{align} x - 2 \end{align} always. \item whatever else ...

0

First, we need to know what you are using to create your LaTeX documents. I can only give you advice which is Emacs specific but maybe I will be lucky and that is what you are using. This will allow you to jump to the lines in the .tex document by holding shift and left clicking the equation in your pdf. Open Okular and go to settings-Configure Okular. A ...

9

The value for \label is written into the .aux file, thus you need \protect for the fragile \parbox: \documentclass{article} \usepackage{amsmath} \begin{document} $$\label{mylabel} \tag{\protect\parbox[c][3em][c]{4em}{1st tag \\ 2nd tag}} x = y^2$$ \end{document} A tabular fixes at least the right white space: ...

0

You can use flalign*: Notes: With the starred variant you don't need to use \nonumber. I also remove the manually added ~ for spacing as manual spacing should normally be avoided in math. Code: \documentclass[]{article} \usepackage{showframe} \usepackage{amsmath} \begin{document} \begin{flalign*} \eta_7 &= \eta_2 f_0(\lambda) - \eta_1 ...

7

You don't need those parentheses. But that way of typesetting the formula is heavy and doesn't add to clarity. Here's my proposals: the second one is surely how I'd typeset the formula. \documentclass{article} \begin{document} \mathbf{S}_o = \frac{\sum\limits_{i=1}^{N} \frac{\sum\limits_{k=1}^{J-1} \frac{\| P_k^Q - P_{k+1}^Q \|}{\| ...

5

Just to show a version with build in scaling: \documentclass[a4paper]{memoir} \usepackage{mathtools} \DeclarePairedDelimiterX\brak[3]\langle\rangle{% #1 \delimsize\vert #2 \delimsize\vert #3} \begin{document} $\brak{e^+}{\mu}{e^-} \qquad \brak*{e^+}{\frac{\mu}{\sqrt{2}}}{e^-} \qquad \brak[\Big]{e^+}{\sum_i \mu_i }{e^-}$ \end{document}

6

You should use \brak{e^+}{\mu}{e^-} There're 3 different arguments, you can't separate them by commas.

1

Load the bbm package. \documentclass{article} \usepackage{bbm} \begin{document} $p(x) = q^{\mathbbm{1}(x = 1)}$ \end{document}

3

Add an alignment character at the end: \documentclass{article} \usepackage{amsmath}% http://ctan.org/pkg/amsmath \begin{document} \begin{flalign} f(x) &= ax^2 + bx + c \end{flalign} \begin{flalign} f(x) &= ax^2 + bx + c & \end{flalign} \end{document} Note that in a regular alignment, you only use a single & around the relation you wish ...

4

Without knowing what \tagthisline looks like, I would opt for a different approach using a straight align: \documentclass{article} \usepackage{mathtools}% http://ctan.org/pkg/mathtools \providecommand{\tagthisline}{X}% Don't know what this means... \begin{document} \begin{tabbing} \hspace{.5cm} \= \hspace{.3cm} \= \hspace{3cm} \= \kill ...

1

You're probably after the following: \documentclass{article} \usepackage{amsmath}% http://ctan.org/pkg/amsmath \usepackage[retainorgcmds]{IEEEtrantools}% http://ctan.org/pkg/ieeetran \usepackage{hyperref}% http://ctan.org/pkg/hyperref \renewcommand{\theequation}{\thesection.\arabic{equation}}% Equation number format \numberwithin{equation}{section}% ...

6

Better solution if you are a new user \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \begin{cases} u'_0 = {u_0} + u_1^Tt + \tfrac{1}{2}{t^T}{U_2}t \\ {u'_1} = {u_1} + {U_2}t \\ {U'_2} = {U_2} \end{cases} \end{equation*} \end{document}

5

(With at least a few improvements): \documentclass{article} \begin{document} $%$$\left\{ \begin{array}{l} u'_0 = {u_0} + u_1^Tt + {\textstyle{1 \over 2}}{t^T}{U_2}t\\ {u'_1} = {u_1} + {U_2}t\\ {U'_2} = {U_2} \end{array} \right. %$$$ \end{document}

2

Automatic output from Mathematica can't be directly inserted and some manual work is needed. For instance, you'll find useless \left and \right, also useless {} and wrong \text{$\Delta$p}_2. I split the long equation at plus and minus sign, surrounded it by \begin{multline} and \end{multline}; then I inserted \\ at possibly appropriate spots not to make ... 3 With long mechanically generated terms it isn't clear that it makes sense to try to insert & and \\ in align-like structures. To make a human readable output really you need to break it up completely, give names to sub-terms etc, An alternative is just to let the whole thing flow as it comes: \documentclass{article} \usepackage{amsmath} ... 2 You've got some extremely long lines in that equation. You need to put an alignment & earlier in the first line so you can see the following lines: \documentclass{article} \usepackage[margin=1in,landscape]{geometry} \usepackage{amsmath,amssymb} \pagestyle{empty} \begin{document} \begin{align} \left(\nabla p_1\right){}^2 & g_2-\frac{1}{3} ... 4 How about the following? I've replaced the \text{Cos} (my eyes!) by \cos. You can use a gathered environment to break the equation in multiple, centered lines. Make sure that each line containing an opening \left... also contains a closing \right.... Also, use $and$ to open and close an unnumbered displayed equation, not\$; see Why is $...$ ...

2


3

Please always post complete documents, not just fragments. You can use \phantom \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \begin{split} \left| \Psi \left( t \right) \right\rangle _{I}^{3}&=-\frac{1}{{{\hbar}^{2}}}\int_{0}^{t}{\hat{H}_{1}^{I}\left( t' \right)\,}\left( \int_{0}^{t}{\hat{H}_{1}^{I}\left( t'' ...

Top 50 recent answers are included