# Tag Info

6

Maybe you want something like this? \documentclass{article} \usepackage{amsfonts} \usepackage{amsmath} \newsavebox\tempbox \newcommand\fitbox[2][a_t-d_t]{ \savebox{\tempbox}{$#1$} \makebox[\wd\tempbox][c]{$#2$} } \begin{document} \begin{align} 0.9 &\leq \fitbox{a_t, d_t} \leq 1.1 \\ -0.1 &\leq \fitbox{b_t, c_t} \leq 0.1 \\ -0.05 &\...

5

I'd avoid long textual set descriptions. Everybody understands “hom”, in my opinion. The symbol at the left of \longmapsto is understood to be a variable in the set above it and similarly for the symbol at the right of \longmapsfrom. I propose two different alignments, take your pick. \documentclass[11pt, a4paper, english]{article} \usepackage[main=english,...

5

It's a known problem, see https://github.com/latex3/latex2e/issues/15 The manual of amsmath explicitly tells that align can be nested in gather, see page 26: However a “register” is not cleared at the proper time and a spurious, but innocuous, warning of There were multiply-defined labels is issued; this happens in connection with \nonumber. In my ...

4

With tabular table: \documentclass[]{article} \usepackage{array} \newcounter{rownum} \begin{document} \begin{tabular}{>{\stepcounter{rownum}\therownum.}r @{\ } l>{$}r<{$} @{\,} >{$}l<{$}} & bla bla bla: & a & = 3 \\ & bla: & b & = 2 \\ & bla bla bla: & c & = hm \\ ...

4

Something like this? I used alignat* instead of align* to have less horizontal spacing between columns. I also used the command \vdotswithin from mathtools to center the vertical dots with the \equiv and = symbols. \documentclass[a4paper, 11pt]{book} \usepackage[a4paper,left=3cm,right=3cm,top=3cm,bottom=3cm]{geometry} \usepackage{mathtools} \usepackage{...

4

Here's a solution that employs an alignat environment instead of an align environment. (To determine the argument of alignat, one counts the maximum number of &s in any row (here: 3), add 1, and divides by 2. Since (3+1)/2=2, the argument of alignat is set to 2 in the following example.) \documentclass{article} \usepackage{amsmath} % for 'alignat' ...

4

A couple of versions. The first one aligns the first long term on the right-hand side on the right margin as in you picture; the second version is a possible alternative (de gustibus). Assuming that you really want bold +, \textbf{+} is a very bad way to do it. At the very least, it completely ruins spacing, as you probably have noticed since you had to put ...

3

I wouldn't use that form, but to get \mathrel relation spacing at the start of a math list you need {}= F not =F \documentclass[11pt,letterpaper,twoside]{book} \usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{geometry} \usepackage[nodisplayskipstretch]{setspace} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{mathtools} ...

3

\documentclass{article} \usepackage{amsmath} \begin{document} alignat \begin{alignat*}{3} -1 &< x && < 4 \\ -2 &< 2x&& < 8 & \qquad \text{multiply by 2} \\ \end{alignat*} \end{document}

3

Some suggestions: Omit all \bigg sizing directives and omit the associated opening and closing parentheses. Break the left-hand parts of the three long equations into three rather just two parts and use \qquad and \quad directives to "shove" the first and second lines to the left and create a slightly staggered look. Use \tfrac{1}{2} rather than ...

3

You can try with an xparse environment which grabs its body: \documentclass{article} \usepackage{amsmath} \usepackage{xparse} \NewDocumentEnvironment{mycomment}{b} {}{} \begin{document} \begin{align} 1 + 1 & = 2 \\ e^{i \pi} + 1 & = 0 \begin{mycomment} comment comment \end{mycomment} \end{align} \end{document}

3

The physics package can do a lot of useful things. It's also known, though, for making lexical assumptions about the meaning of parentheses and brackets that may or may not be appropriate. The fact that changing det to \det causes extra problems would appear to be related to this issue. I suggest that unless you're heavily invested in the capabilities of the ...

2

To provide different approaches under same question, this is a xparse solution, using the b-type argument specifier. \documentclass{article} \usepackage{amsmath} \usepackage{xparse} \NewDocumentEnvironment{subalign}{b}{% \begin{subequations} \begin{align} #1 \end{align} \end{subequations} }{} \begin{document} \begin{subalign} a &= b \\...

2

Right-alignment of the text labels: \documentclass[12pt]{beamer} \usepackage{amsmath} \usepackage{pgfpages} \pgfpagesuselayout{resize to}[a4paper,landscape] \usetheme{Boadilla} \usepackage{bm} \definecolor{beamer@blendedblue}{RGB}{0,102,102} \usefonttheme{professionalfonts} \setbeamertemplate{navigation symbols}{} \setbeamertemplate{blocks}[rounded][shadow=...

2

I propose one of these slightly different layouts,based on gather* and alignedat with a single \mod p for the whole group: \documentclass[a4paper, 11pt]{book} \usepackage{lmodern} \usepackage[a4paper,left=3cm,right=3cm,top=3cm,bottom=3cm]{geometry} \usepackage{mathtools} \usepackage{amssymb} \usepackage{amsthm} \begin{document} \begin{gather*} \begin{...

2

Your code doesn't compile as stated, in part because not all required packages are loaded, in part because it contains one or more syntax errors and a couple of entirely unnecessary \$ tokens. Anyway, if I understood correctly what you're trying to get typeset, there's no need for a \resizebox-induced typographic calamity. Instead, just provide a few more ...

2

Taken from this and this and knowing about \notag from amsmath you can have: \documentclass{article} \usepackage{amsmath} \newcommand*\tageq{\refstepcounter{equation}\tag{\theequation}} \begin{document} \begin{align} x = 1\\ y = 1\\ z = x + y \notag \end{align} \begin{align*} x = 1\\ y = 1\\ \tageq z = x + y \end{align*} \end{document}

2

Edit: It seems that you looking for the following (showed is only last slide): \documentclass{beamer} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{decorations.pathreplacing, calligraphy, tikzmark} \tikzset{ B/.style = {decorate, decoration={calligraphic brace, amplitude=4pt, raise=1pt}, ...

2


2

By changing all instances of \dfrac to \tfrac, getting rid of all \left and \right directives, it's possible to write the entire expression on one frame. Oh, and I would get rid of the \, thinspaces. They're simply not needed to typeset the math material well. \documentclass[12pt,fleqn]{beamer} \usetheme{AnnArbor} \usepackage{setspace} %\setstretch{1.0} % \...

2

This sort of emulates the multline environment, with left aligned first line, right aligned last line and centred middle lines, in display style with increased spacing and + and - at start not end of a line, \documentclass[12pt]{article} \pagestyle{empty} \setlength{\textheight}{10in} \DeclareMathSymbol{\zplus}{\mathbin}{operators}{"2B} \...

2

As you want the normal table behaviour that column widths are based on the width of the content, you want \halign not \valign so something like this (or more simply just use latex tabular, which is basically the same) {\offinterlineskip \setbox\strutbox=\hbox{\vrule height12pt depth3pt width0pt } \def\cline{\omit\vrule\hfill\vrule&\multispan{3}{\kern-...

2

Probably the following gets closer to the desired output. (Lines indicate margins): \documentclass{scrreprt} \usepackage{caption} \usepackage{graphicx} \usepackage{showframe} \usepackage{lipsum} \usepackage[export]{adjustbox} %for the valign=t option \begin{document} \noindent \begin{minipage}[t]{0.38\textwidth} \lipsum[2] \end{minipage} \hfill \begin{...

1

Try the following: \documentclass{article} %\usepackage[utf8]{inputenc} in recent article is default \usepackage{geometry} \usepackage{mathtools, amssymb} % mathtoola define \shortintertext % and load amsmath package % amssymb load amsfonts too \usepackage{cases} \usepackage{graphicx} \...

1

This runs without error but I have no idea what layout you want, I suspect not this but it can be adjusted. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{hyperref} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{cases} \usepackage{graphicx} \DeclareMathOperator{\sign}{sign} \makeatletter \newcommand{\vast}{\...

1


1


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