# Tag Info

5

You can load only the \mathbb alphabet from fourier: \DeclareFontFamily{U}{futm}{} \DeclareFontShape{U}{futm}{m}{n}{ <-> fourier-bb % changed from .92 to 1 }{} \DeclareMathAlphabet{\mathbb}{U}{futm}{m}{n} Note that I've also changed the magnification from .92 to 1 to match iwona sizes. MWE: \documentclass{article} \usepackage[math]{iwona} ...

1

Some of the font packages I've made include a command enabling access to the slashed zero where this is available. For example for the Latin Modern fonts: \documentclass{article} \usepackage{cfr-lm} \begin{document} 0123456789\zeroslash \tostyle 0123456789\zeroslash \plstyle 0123456789\zeroslash \tlstyle 0123456789\zeroslash ...

2

It's not necessary "define" a style, though it's the best solution. You also can write \setbeamertemplate{itemize item}{☙} (with braces, not square brackets).

5

The [☙] option is not predefined, so it has no effect; the syntax should be like \setbeamertemplate{itemize item}[circle] where circle has been defined with \defbeamertemplate. Here's a complete example \documentclass[xcolor=dvipsnames]{beamer} \usepackage{fontspec} \setmainfont{EB Garamond} \usefonttheme{serif} \defbeamertemplate{itemize ...

7

You are looking for METAFONT, a program also written by Knuth and accompagnying TeX. This program has a close relative METAPOST that can be used for drawing PostScript or SVG figures. Start here: http://tug.org/metapost.html I like the tutorial by André Heck, it will give you a feeling of the program.

5

The tikz-timing package. The \texttiming{} macro does the trick! Documentation in above PDF I used \texttiming{[-,timing/slope=0]HL} specifically.

2

I didn't find a symbol like that, but this can get you started. This solution adapts to the actual line height (\baselineskip). So doesn't really matter if you change the font size. \documentclass{article} \usepackage{tikz} \newcommand\net{% \begin{tikzpicture}[scale=0.3\baselineskip/18pt] \draw (0,1) -- (1,1) -- (1,0) -- (2,0); \end{tikzpicture} } ...

1

One can also use commath package. \documentclass{article} \usepackage{commath} \newcommand*{\Value}{\frac{1}{2}x^2}% \begin{document} $\norm{a \vec{u}} = \abs{a} \, \norm{\vec{v}}$ \end{document}

2

There is no Euro symbol in the standard fonts, so textcomp is required. However, the glyph in the European Modern fonts is ugly and wrong; with Latin Modern it's better. \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{textcomp} \begin{document} \begin{verbatim} fr_FR: 123 456,78 € de_DE: ...

1


6

The definition of \blitza in ulsy.sty is \newcommand{\blitza}{{\usefont{U}{ulsy}{m}{n}\symbol{'011}}} which clearly means it's a symbol just for text mode. In math mode \usefont does nothing at all, so what is executed is equivalent to {\symbol{'011}} which is just the same as {\char'011\relax} and the rules of TeX say that this will be the symbol in ...

6

the wasy fonts are more likely to be installed in most installations of Tex. \documentclass{beamer} \usepackage{amsmath, amssymb, amsthm} \usepackage{wasysym} \begin{document} \frame{ \begin{align*} [\text{\lightning}] \end{align*} } \end{document} Incidentally I found that just by drawing the character:

2

Use the T1 encoding: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \begin{document} <<blah blah>> \end{document} If your document is UTF-8 encoded, then also direct input works: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \begin{document} «blah blah» ...

7

Leave the hard work to textgreek. If you need the letter to work also in math mode, add a suitable definition with \newunicodechar. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{textgreek} % use these if you also want π to work in math mode \usepackage{newunicodechar} \newunicodechar{π}{\ifmmode\pi\else\textpi\fi} \begin{document} This ...

9

It is easy to get a large accent, eg {\Huge\'{}} positioning it over a normal size letter usually means a bit of trial and error to get something that looks right but perhaps: \documentclass{article} \newcommand\biga[1]{\leavevmode\vbox{\offinterlineskip \halign{##\cr\hss\makebox(0,0){\Huge\'{}}\hss\cr\noalign{\vskip-3pt}#1\cr}}} \begin{document} ...

5

Rotate \boxplus by 45 degrees: \documentclass{article} \usepackage{graphicx,amsmath,amssymb} \DeclareRobustCommand{\diamondtimes}{% \mathbin{\text{\rotatebox[origin=c]{45}{$\boxplus$}}}% } \begin{document} $a\diamondtimes b$ $a\times b$ \end{document} For a smaller version and an empty diamond (note that \diamond already exists, but gives a much ...

6

Mimicing the procedure depicted at Typing Following notation in Latex, I was able to determine that \diamondtimes was part of MnSymbolC font set. Then, using the fonttable package (uncomment 2 lines in MWE), I found the symbol number to be 125. Then, I just changed the name and numbers from that example to get this one. \documentclass{article} ...

1

Here's a non-tikz approach: \documentclass{article} \usepackage{graphicx} \usepackage{stackengine} \begin{document} \stackinset{c}{} {c}{ 2.3ex}{N}{% \stackinset{c}{} {c}{-2.3ex}{S}{% \stackinset{c}{ 2.3ex}{c}{} {E}{% \stackinset{c}{-2.3ex}{c}{} {W}{% \scalebox{3.5}{$\bigotimes$}% }}}} \end{document}

1

The solution was to add anchor=center in the /.style. Thanks Mark! \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning,calc} \tikzset{add/.style n args={4}{ draw, circle, minimum width=6mm, path picture={ \draw (path picture bounding box.south east) -- (path picture bounding box.north west) ...

6

You have to declare the symbol as \mathord rather than \mathalpha. \documentclass{article} \usepackage{sansmath} \DeclareSymbolFont{extraup}{U}{zavm}{m}{n} \DeclareMathSymbol{\varheart}{\mathord}{extraup}{86} \begin{document} \sansmath{Is the following a filled heart? $\varheart a+b$} \end{document}

2

Just for fun with PGF. Code \documentclass[varwidth]{standalone} \usepackage{pgf} \makeatletter \newcommand*\mayanumber[2][]{% \pgfpicture[#1] \pgftransformyscale{-1} \pgfmathdectobase\maya@{#2}{20} \expandafter\pgfutil@tfor\expandafter\maya@\expandafter:\expandafter=\maya@\do{ \if0\maya@ \maya@shell ...

8

Just superimpose a minus to \sqsubset: \documentclass{article} \usepackage{amsmath,amssymb} \newcommand{\sqin}{% \mathrel{\vphantom{\sqsubset}\text{% \mathsurround=0pt \ooalign{$\sqsubset$\cr$-$\cr}% }}% } \begin{document} $a\sqin A\sqsubset B$ \end{document}

4

I think this does it: \documentclass[border=0.125cm]{standalone} \usepackage{tikz} \newcount\mayannumber \newcount\mayantmpa \newcount\mayantmpb \newcommand\mayan[2][]{% \begin{scope}[#1,scale=1/4]% \mayannumber=#2\relax% \mayantmpb=20\relax \pgfmathloop \mayantmpa=\mayannumber \advance\mayantmpa by-\mayantmpb ...

11

You can copy the relevant code from mathabx.sty and mathabx.dcl to your document. \DeclareFontFamily{U}{mathb}{\hyphenchar\font45} \DeclareFontShape{U}{mathb}{m}{n}{ <5> <6> <7> <8> <9> <10> gen * mathb <10.95> mathb10 <12> <14.4> <17.28> <20.74> <24.88> mathb12 }{} ...

1

The MnSymbol package provides a \udots macro, which does exactly what you want. When you're looking for some symbol, consult the Com­pre­hen­sive LaTeX Sym­bol List; you stand a good chance to find it in there. \documentclass{article} \usepackage{amsmath} \usepackage{MnSymbol} \begin{document} \begin{tabular}{ll} diagonal dots ($\text{slope} = -1$) ...

0

It depends on tools. If the package graphicx is acceptable, the solution may be as follows \documentclass{article} \usepackage[demo]{graphicx} \begin{document} $A\ddots B \scalebox{-1}[1]{\ddots} C$ \end{document}

0

How about using \iddots? It requires the mathdots package though. EDIT: There is a discussion on your problem here

2

If a really wide "hat" symbol that should cover the entire expression is what you're after, you may want to look into using the Mathtime Professional 2 (mtpro2) package. The full package isn't free of charge, but its "lite" subset, which is all that's needed to create a superwide hat symbol, is indeed free. \documentclass{article} ...

0

you write Hat covers the whole expression Do you mean something like this? \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \newcommand{\Sel}{\operatorname{Sel}} \begin{equation*} \widehat{\Sel_{E}^{\Sigma_0}(\mathbb{Q}_\infty)_p{}} \end{equation*} \end{document} also, you might want to check this question

4

I understand, that it is like some kind of Fourier transform of the whole expression. An alternative version added. \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \newcommand{\Sel}{\operatorname{Sel}} $\Sel_{E}^{\Sigma_0}(\mathbb{Q}_\infty)_p{}\widehat{}$ But probably better \[ ...

12

First a pencil: \documentclass[tikz,border=1cm]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[rotate=30] \fill[gray!50] (0,4) -- (0.4,4) -- (0.4,0) --(0.3,-0.15) -- (0.2,0) -- (0.1,-0.14) -- (0,0) -- cycle; \draw[color=white] (0.2,4) -- (0.2,0); \fill[black] (0,3.5) -- (0.2,3.47) -- (0.4,3.5) ...

2

Using the stackengine package: \documentclass{article} \usepackage{amsmath} \usepackage{stackengine} \newcommand{\divby}{% \setstackgap{S}{0.45ex}% \mathrel{\Shortstack{{.} {.} {.}}}} \begin{document} $15\divby 3$ \end{document}

2


4

If you want to be quite similar to \ll, then you can use this symbol, which overlaps the two \subsets. It should work properly in all sizes: \documentclass{article} \usepackage{mathtools} \newcommand\ssubset{ \mathrel{ \mathrlap{\subset} \hphantom{\ll} \mathllap{\subset} } } \begin{document} \[ A\ssubset B_{A\ssubset B_{A\ssubset B}} ...

2

This should give you the result that you're looking for: \mathbf{P} = \epsilon_0 \left(\chi^{(1)} \cdot \mathbf{E}+\chi^{(2)} : \mathbf{EE}+\chi^{(3)}\vdots \mathbf{EEE}+ \cdots \right) Result:

0

You could use Unicode. U+2460-2473 for 1 to 20, U+24EA for 0, U+3251-325F for 21-35, and U+32B1-32BF for 36-50.

1

Just another alternative (in some sense the poorer solution around), could be to define \argmin in terms of \min and \arg commands. \newcommand{\argmin}{\arg\!\min} In this way, 1) \argmin will behave always the same way as \min, 2) doesn't need amsmath or care about \operator... commands 3) yes, the variable in not centered (it is centered in the min ...

4

The comment environment (comment package) should start in a new line without a space before. From the manual: The opening and closing commands should appear on a line of their own. No starting spaces, nothing after it. Otherwise it won't work and cause strange errors.

12

Usually, spaces at the beginning of a line are ignored by TeX. However, this is not the case when writing in a verbatim like context. The same is true for tabulators. Whitespace characters like NO-BREAK SPACE (U+00A0) behave in a different way. To use them properly, a modern engine like LuaLaTeX in conjunction with fontspec is needed. Please be aware, ...

8

The problem is the rounded corners part, which is not relative to the font size. So the solution is to set rounded corners=<x>ex, then it depends on the font size. The following example shows a solution an illustrated the problem with simple corners: \cornerI is rounded with the absolute same radius, while \cornerII is rounded with a radius ...

0

Removing the entire tex distribution and starting from scratch again fixed the problem. I believe something may have interrupted the makeall script provided by FontPro, so if you're installing MinionPro via the scripts provided in FontPro, make sure nothing interrupts them while being run. Aside from that, installation of Minion Pro works as suggested by the ...

2

These symbols remind of footnote symbols, which following this sequence: (1) *, (2), \dagger, (3) \ddagger, (4), \mathsection, (5) \mathparagraph, (6) \|, (7) **, (8) \dagger\dagger and (9) \ddagger\ddagger. You'll notice this sequence when viewing the definition of \@fnsymbol (from latex.ltx): \def\@fnsymbol#1{\ensuremath{\ifcase#1\or *\or \dagger\or ...

2

If there is no prevailing convention, just go ahead and use whatever you want. After all, you only need to introduce it stringently so it's clear from your notation what you want to show. From a readability point of view, it's best to use symbols not easily confused with others. Have a look at the list of LaTeX symbols. Me personally, I'd have a look in Tab. ...

0

\dagger There are others available in the same family.

0

As Tobjorn already mentioned (I am too slow), you can add the charter option to mathdesign: % arara: pdflatex \documentclass{scrreprt} \usepackage{mathtools} \usepackage{amsmath} \usepackage{esint} \usepackage[charter]{mathdesign} \begin{document} \begin{flalign} \oiiint \rho dv \end{flalign} \end{document} Other possible fonts are listed in the ...

0

try \usepackage{mdsymbol} or use one of the new...math fonts.

1

I have never used OriginPro, but one possibility is to export to PNG files which can be easily included by pdflatex. Another possibility is to export the data which you want to plot into .txt files, then to plot the graphs using pgfplots. This is the approach which I use. Using pgfplots has the following advantages: It is very easy to change the format ...

Top 50 recent answers are included