# Tag Info

11

Yes, of course. \documentclass{article} \begingroup \catcode+=\active \gdef+{\mathbin{\mathrm{blurb}}} \endgroup \AtBeginDocument{\mathcode+="8000 } \begin{document} $x+y$ \end{document} Of course you can think to better definition for the “math active” +. ;-)

4

The particular error is that the document loads two incompatible redefinitions of math mode, fouriernc and mathptmx but more generally the preamble loads multiple packages many of them three or four times, and most of them unneeded as the already extensive memoir class is used as base. It also loads newlfont, etex, fixltx2e which shouldn't be used with ...

0

Here is a \pdfliteral solution. It only works for single numbers. \def\circled#1{% #1% \pdfliteral{ q .5 w 10 0 0 10 -2.5 3.5 cm .05 w .5 0 m .5 .276 .276 .5 0 .5 c -.276 .5 -.5 .276 -.5 0 c -.5 -.276 -.276 -.5 0 -.5 c .276 -.5 .5 -.276 .5 0 c h S Q }% } \circled{1} a \circled{2} b \circled{3} c \circled{10} \bye

4

XeTeX can use the powerful method of mapping files. Locate on your TeX system the file tex-text.map and copy it into the working directory as baskerville-dash.map. Open the file with a text editor and modify it to look like ; TECkit mapping for TeX input conventions <-> Unicode characters LHSName "baskerville-dash" RHSName "UNICODE" pass(Unicode) ...

4

Since you're using the "Monotype Baskerville" font, you actually have a choice of two weights for the em-dash symbol: \char"0214 (the default) and \char"0215. The former glyph is indeed extremely thin; the latter is a lot thicker, and it may even be too thick for your taste. Your call. If you like the latter form, you could set up a macro via an instruction ...

3


13


3


2

As others have pointed out in the comments, you don't actually need the \usepackage{pxfonts} line; if you remove it, your font goes back to Computer Modern. \documentclass{article} \usepackage{lipsum} \DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n} \DeclareMathSymbol{\strictif}{\mathrel}{symbolsC}{74} \begin{document} \lipsum[11] $p \strictif q$ ...

11

An alternative that works in all math styles... REVISED SOLUTION (closed circle-arrow) This is something of a stretch, and so I leave my original solution below. The OP wanted the circle-arrow part of the result to be a closed (not open) circle. Ideally, one could locate such a glyph and substitute its use for the other. However, no such glyph could be ...

25

Here's a possibility. Only text and display style, I hope you don't need them in subscripts, superscripts or small fractions. \documentclass{article} \usepackage{amsmath,amssymb,graphicx} \makeatletter \newcommand*{\sumcirclearrowleft}{% \DOTSB \mathop{ \mathchoice {\rlap{\kern.25em\rotatebox[origin=c]{-90}{$\circlearrowleft$}}{\sum}} ...

2

Correct would be something like $1 \le k \le B$, $k \notin S$. Elipses are ambiguous... Don't try to reduce everything to symbols, that easily turns into utter gibberish. What you write is for humans to understand, symbols (particularly less familiar ones) just stand in the way.

3

I would try for $k\in\{1,2,\dots,B \mid k\not\in \mathbf{s} \}$. Presumably, B is an integer and \mathbf{s} is a set of integers ranging from 1 to B, right?

5

The posted text produces the error message ! Missing $inserted. <inserted text>$ l.8 a \sigma {\textsubscript{\emph{x}}} is used to ? Because \sigma is a math command so must be used in math mode. \textsubscript{\emph{x}} would not itself be a tex error but it denotes a textual subscript and textual emphasis, both ...

0

I tried quite some of the solutions given here but none of those seemed satisfactory to me. Most of them only solve the problem of the vertical alignment of the colon but do not respect the length of all the other binary relations, that is ":=" is much longer than "=" and the like. My suggestion hence is the following: ...

1

Normally, it's just \cdot, it's what people are used to and it doesn't look small in $(G,{\cdot})$ to me. Anyway, if you want a bigger dot, you can load the package \usepackage{bm} after any other font package, and then define \newcommand\bigcdot{\bm{\cdot}} and use this.

3

Maybe this is what you mean, with a simpler code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{mathtools, nccmath} \begin{document} \begin{align*} & \begin{aligned}[t] &\!\min_{\mathclap {u(t), \eta(t), r}}\quad\int_{0}^{t_f}y^Ty dt\\ & \text{\footnotesize s. t. \enspace}\mathrlap{\medmath{\begin{array}[t]{|l} ...

3

Well, one more possible solution: \documentclass[border=3mm, preview]{standalone}%preview enable showing math \usepackage{mathtools} % loads amsmath too \begin{document} \begin{align*} \min_{u(t),\eta(t),r} &\quad \int_{0}^{t_f} y^Ty dt &\Longrightarrow && \min_{u(t),\eta(t),r} &\quad z_2(t_f) ...

3

Here's a solution that uses two minipage environments to house the align* environments. Note the use of \vphantoms in the right-hand minipage to ensure that the equations' rows line up across the two sets of equations. \documentclass{article} \usepackage{amsmath} \newcommand\tran{{}^T\!} % well-spaced transpose op. \begin{document} \begin{minipage}{5cm} ...

3

Your original display is at the top, with my suggested alteration at the bottom: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{tabular}{p{5cm}p{5cm}} {\begin{align} \underset{u(t), \eta(t), r}{\text{min}}&\quad\int_{0}^{t_f}y^Ty dt\nonumber\\ \text{s.t:}&\quad \int_{0}^{t_f} u^Tu\leq f_{1,k}\nonumber\\ ...

1

Just for fun: \documentclass{standalone} \usepackage{circuitikz} \makeatletter % ************************* analog meter ************************** \ctikzset{bipoles/meter/height/.initial=.80} \ctikzset{bipoles/meter/width/.initial=.80} \ctikzset{bipoles/meter/logo/.initial=$\Omega$} \pgfcircdeclarebipole{} {\ctikzvalof{bipoles/meter/height}} ...

2

I don't think this is easy with mhchem (but I may be mistaken…) The following try uses the chemformula package instead of mhchem and uses TikZ/pgf and Jake's complete sines decoration for the wavy line. chemformula allows to define new arrows for the usage in chemical reactions. Since the syntax differs in significant details from mhchem's this may or may ...

Top 50 recent answers are included