Tag Info

Hot answers tagged

8

It is $\dot{\mathbf{x}}$. The syntax is \dot{<symble>}. You are missing braces. \documentclass{article} \begin{document} $\dot{\mathbf{x}} \dot{x}$ \end{document}


7

\documentclass{article} \usepackage{stackengine,amssymb,graphicx} \newcommand\blivet[2]{\stackengine{-.3ex}{#1}{\stackon[1pt]{\CAL}{#2}}{O}{c}{F}{T}{L}} \newcommand\CAL{\scalebox{2}{\rotatebox[origin=center]{170}{$\circlearrowleft$}}} \stackMath \begin{document} \begin{equation} S\rightarrow \blivet{K}{D}\rightarrow S \end{equation} \end{document} Note: ...


4

You can try with flalign \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \noindent Some equations: \begin{flalign} && f(n) &= 8,199 \times 10^{-6} n + 8,418 & \{n \in \mathbb{N}\} \label{equ:Laufzeit} \\ && t_e &\leq \frac{t_i}{5} & \{t_e \in \mathbb{Q}^+\},\;\{t_i \in \mathbb{N}\;|\;5f(n) \leq t_i ...


4

It's a tikz graphic, but: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \node (A) {A}; \node (B) [right= of A] {B}; \node (C) [right= of B] {C}; \draw [->] (A) -- (B); \draw [->] (B) -- (C); \draw [->] (B) edge [loop, out=45, in=135, looseness=5] node [above] ...


3

Since this seems to be a commutative diagram, you should use a dedicated tools for those kind of diagrams such as tikz-cd. Since the package already offers you the required elements, the code now is a one-liner: \documentclass{standalone} \usepackage{tikz-cd} \begin{document} \begin{tikzcd}[column sep=small] S\ar[r] & ...


3

I would like to suggest you make the following changes: Instead of an array environment, use an align environment. Increase the vertical separation between the rows a bit. Don't use the {{... \choose ...}} "Plain-TeX" syntax. Instead, use the amsmath macro \binom{...}{...}. Reduce the space between the binomial term and the following {-1} exponent, and ...


2

Redefinining \theequation in that way is wrong. The LaTeX \thezzzz macros are supposed to be safe to expand in tables of contents and other expansion contexts to the formatting of just the number. The code to position the number should be elsewhere. If you are using amsmath then the macro to redefine is \maketag@@@ which has default definition ...


2

Package amsmath provides lots of macros and environments for mathematical typesetting. Environment align can be used instead of an additional array for aligning (with \nonumber one of the equation numbers can be suppressed if necessary). Alternatively, environment aligned can be used inside equation. With the proper environments, the math is set in ...


1

How about this? You actually do not use the functions provided by array, so I'd suggest you use align* from the amsmath package. I use \\[<dimension>] to add some space to a line break, e.g. \\[5pt]. Use \binom{a}{b} instead of a choose b. And use \left( ... \right) to have parentheses adapt automatically. \documentclass{article} ...


1

Or like this: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \begin{split} w_{\frac{mn}{m+1}-\rho} & = m\left(\dfrac{n-2}{1+\varepsilon_1}\right) m^{-\frac{mn}{m+1}+\rho} {{n-2}\choose{\frac{mn}{m+1}-\rho}}^{-1} \prod_{i=1}^{\frac{mn}{m+1}-\rho} (1 + \varepsilon_i) \\ ...


1

Package mathtools provide option \shoveleft[<ofset>]{<part of equation>} by which you can easy obtain stairs like multline: Code based on example in mathtools manual (pp 17): \documentclass[11pt, border=1mm, preview]{standalone} \usepackage{mathtools} \begin{document} \[ \begin{multlined} ...


1

As the \binomor dbinom commands from amsmath have a fixed size which may not be enough (this is the case here if the fraction inside \binom is set in displaystyle), I use the DeclarePairedDelimiterX command, from mathtools to define a \Binom command, with a star version that adds a pair of implicit \left … \right around the parentheses. You also may ...


1

Something like this? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \left.\kern-\nulldelimiterspace \begin{aligned} \tan(\alpha) &= \frac{h}{x} \\ \tan(\beta) &= \frac{h}{d - x} \end{aligned} \right\} \text{First step} \end{equation} \end{document} Package amsmath provides aligned for ...


1

Actually, you only get this error if you use the amsmath package - and that is why it is always a good idea to give a complete "minimum working example" of your problem, for example \documentclass{article} \usepackage{amsmath} \begin{document} $\dot \mathbf x$ % doesn't work \end{document} Even with amsmath, $\dot x$ works correctly without braces. But ...


1

One possibility is use colorbox from package xcolor \documentclass{article} \usepackage{mathtools} \usepackage[dvipsnames]{xcolor} \newcommand{\shadow}[1]{\scriptsize\colorbox{orange!40}{$#1$}} \newcommand{\shadowf}[1]{\footnotesize\colorbox{orange!40}{$#1$}} \newcommand{\shadown}[1]{\colorbox{orange!40}{$#1$}} ...



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