# Tag Info

5

Wouldn't it be the easiest way to use an align or alignat here? I replaced the \ldots by \dots in between the binary operators as they are looking wrong. % arara: pdflatex \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{mathtools} \usepackage{amssymb} \renewcommand\theequation{\arabic{section}.\arabic{equation}} ...

5

EDIT I decided that I didn't really like my first solution (see below) because it requires all of this "extra clutter" in order for it to work. So, I have written a custom enumitem environment equationate (=equation+enumerate) that does the same thing except that it hides the clutter inside the environment. The output is given above, which is exactly the ...

3

The unicodes are U+2ABB and U+2ABC. Here are some examples with the fonts I am having available (in order of increasing uglyness): % arara: lualatex \documentclass{article} \usepackage{unicode-math} \newcommand*{\test}{\ensuremath{\prec\Prec\Succ\succ}} \begin{document} \setmathfont{code2000.ttf}\test \setmathfont{xits-math}\test ...

2

Here's a homemade construction. \documentclass{article} \usepackage{graphicx} \def\pprec{\mathrel{\scalebox{.9}[1]{$\prec$}\mkern-5mu% \scalebox{.4}[1]{$\prec$}\mkern-5.5mu\scalebox{.4}[1]{$\prec$}}} \begin{document} $a \pprec b$ \end{document}

9

The mathb font (from mathabx) has \llcurly and a \ggcurly symbols. Here is how to use them without loading the whole package: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \DeclareFontFamily{U}{mathb}{\hyphenchar\font45} \DeclareFontShape{U}{mathb}{m}{n}{ <-6> mathab <6-7> mathb6 <7-8> mathb7 <8-9> mathb8 <9-10> ...

3

The Unicode symbol for a sailboat is U+26F5, so \char"26F5 should work in LuaLaTeX or XeLaTeX. If you have an emoji font that contains this glyph, you might want to make an alias for that font with \newfontface from fontspec. MWE (if you have Symbola): \documentclass{article} \usepackage{fontspec} \newfontface\emojifont{Symbola} % Or another font ...

10

Just found a dugout: % arara: lualatex \documentclass{article} \usepackage{fontawesome} \usepackage{graphicx} \begin{document} \rotatebox[origin=c]{45}{\faPhone} \end{document} % arara: lualatex \documentclass{article} \usepackage{fontawesome} \usepackage{graphicx} \begin{document} $\begin{array}{c} \rotatebox[origin=c]{45}{\faPhone}\\[-14.5pt] ... 13 Can we cheat? \documentclass{article} \usepackage{tikz} \newcommand*{\myboat}{% \protect\raisebox{-0.0000165em}{% \protect\begin{tikzpicture}[x=0.08em, y=0.08em, xscale=0.25, yscale=-0.25, inner sep=0pt, outer sep=0pt] \protect\path[fill=cyan!40] (99.9880,49.1240) .. controls (97.9470,49.1240) and (95.9760,48.6600) .. ... 1 It is working in LaTeX, http://www.ctan.org/pkg/lcd . For 10, \DefineLCDchar{10}{00000000000000010111101011010110111} For small caps shape {E}, \DefineLCDchar{12}{00000000000111101000011100100001111} It may be necessary, http://latexcolor.com/ Thanks a lot, Mike Kaufmann. 1 You can raise them with the help of an invisible rule: \documentclass{beamer} \usepackage{amsmath} \begin{document} \begin{frame} \[\skew{4} \hat{\textrm{\emph{\rule{0ex}{1.7ex}I}}}$ $\skew{4} \hat{\textrm{\emph{\rule{0ex}{2ex}I}}}$ \end{frame} \end{document} To lower them, you need to \smash the variable I and adjust the height of the ...

3

\documentclass{beamer} \usepackage[T1]{fontenc} \usefonttheme[onlymath]{serif} \renewcommand\sfdefault{cmbr} \begin{document} \begin{frame} Some text, $x^2 + y^2 = r^2$ \end{frame} \end{document}

1

To define a hyphen for use as part of a hyphenated name in a macro, I used the command \def\mymathhyphen{{\hbox{-}}}. This gives the usual en-dash.

1

\usepackage{amsmath} \usepackage{amssymb} ... $r\sim[0,1]$ or $r\thicksim[0,1]$

8

The mathtools package already has the necessary tool to do that (don't load amsmath: mathtools already does it): \documentclass[12pt]{article} \usepackage{mathtools} \newcommand\logeq{\mathrel{\vcentcolon\Leftrightarrow}} \begin{document} $A \logeq A$ \end{document}

11

Package colonequals provides a vertically centered colon: \ratio. Both \ratio and \Leftrightarrow are of kind \mathrel, therefore TeX will not put additional space between them: \documentclass{article} \usepackage{colonequals} \newcommand*{\logeq}{\ratio\Leftrightarrow} \begin{document} $A \logeq B$ \end{document} P.S. It does not matter ...

3

Maybe this? \documentclass[12pt]{article} \usepackage{amsmath} \newcommand\logeq{\mathrel{\raisebox{.66pt}{:}}\Leftrightarrow} \begin{document} $A \logeq A$ \end{document}

0

You can use flalign* environment for getting the desired result Code: \documentclass[11pt,a4paper,oneside]{report} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} \usepackage{amsthm} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \begin{flalign*} N &=\frac{\theta _{1}-\theta _{2}}{f}\left( \left( \theta ...

4

Another solution using low level functions: \documentclass{article} \usepackage{amsmath,siunitx,xparse} \NewDocumentCommand{\mySI}{O{}mom}{% \IfNoValueTF{#3} {\SI[#1]{#2}{#4}} {\SI[parse-numbers=false,#1]{\num[parse-numbers=true]{#2}\douncert{#3}}{#4}}% } \NewDocumentCommand{\douncert}{m}{% ^{% \vbox{ \def\myrow##1{\num{##1}} ...

2

If you want something that produces the same vertical spacing as the O.P.'s example, you can try the stackengine package: \documentclass[12pt,preview,border=3mm]{standalone} \usepackage{amsmath} \usepackage{stackengine} \setstackEOL{\\} \begin{document} $\text{shaft} = ... 6 Sometimes the low-level commands are just nicer in my opinion: \documentclass{article} \begin{document} \[ \mathrm{shaft = 20^{+0.080\atop +0.005} mm}$ \end{document} If you use amsmath, it will nag but does compile. However, it has been said it's better to use the higher-level macros with LaTeX, and so borrowing from Gonzalo's answer from a previous ...

3

I agree with tohecz that you may need to do some basic reading regarding how to work with LaTeX. I hope this is what you want: \documentclass{article} \usepackage{mathtools} \begin{document} A=\begin{bmatrix} X_{t_{k}} & Y_{t_{k}} & \dot{X}_{t_{k}} & \dot{Y}_{t_{k}} \end{bmatrix}^{T} ...

5


Top 50 recent answers are included