# Tag Info

2

Here you are, if it is ok, i will include it to the next circuitikz relase: \documentclass{standalone} \usepackage{circuitikz} \makeatletter \ctikzset{/tikz/circuitikz/tripoles/magnetron/width/.initial=1} \pgfdeclareshape{magnetron} { \savedanchor\northwest{ \pgf@y= \pgfkeysvalueof{/tikz/circuitikz/bipoles/length} \pgf@y=\...

2


3

The physics LaTeX package also implements abs and norm: \documentclass{article} \usepackage{physics} \begin{document} $c = \abs{-c}$ $\vu{a} = \frac{\vb{a}}{\norm{\vb{a}}}$ \end{document}

1

From The \gls-Like Commands (First Use Flag Queried): Be careful when you use glossary entries in math mode especially if you are using hyperref as it can affect the spacing of subscripts and superscripts. You need to put the super/subscript in the final optional argument of \gls. For example \gls{symb:A}[^1]. Trimming down your example: \...

3

\documentclass{article} \usepackage{oldgerm,stackengine,graphicx} \newcommand\xe[1]{\stackengine{.5pt}{#1}{\scalebox{.6}{\tiny e\,\,}}{O}{r}{F}{F}{S}} \begin{document} \xe{a} \xe{o} \xe{u} \frakfamily *a *o *u \end{document} One may add an \itshape after the \tiny to get a slightly different presentation:

2

Here's a simple roll-your-own approach, using the standard LaTeX box making and box raising tools. \documentclass{article} \usepackage{helvet} \newcommand\ue{\raisebox{2\height}{\makebox[0pt][l]{\kern1.3pt\tiny e}}u} \begin{document} \textsf{M\ue sli}. \end{document}

34

Pretty standard for old fraktur fonts for the "x" to be an "r" with a hook. \documentclass{article} \usepackage{amssymb} \begin{document} $$\mathfrak{r}\mathfrak{x}$$ \end{document} Bringhurst tells us that blackletter fonts can be broken into 4 types, generally, based on how the lower case "o" is formed: Here are some ...

3

This answer uses the roundrule package, found exclusively at the end of this answer: Is there such a thing as a \mathrule? (rounded endcaps). It provides three parameters to tweak the design: \LRthk is the rule thickness; \LRwd is the width of the symbol (not counting the 1pt buffer on both sides); and \LRfrac is the relative size of the small corner to ...

3

Here's a solution with the \stackinset command, from stackengine: \documentclass[11pt, border=5pt]{standalone} \usepackage{amssymb} \usepackage{stackengine} \newcommand\Lrcorner{\mathclose{\ensurestackMath{\stackinset{l}{0.018em}{t}{0.01em}{\scriptstyle\lrcorner} {\lrcorner}}}} \begin{document} $\Lrcorner$ \end{document} [Steven B. Segletes edit] ...

1

Add \usepackage[utf8]{inputenc} into your preamble if you don't have alreay. UTF-8 encoding should fix the problems with unicode characters.

5

A solution, which composes the symbol with a clipped version of \blacktriangleright and the full symbol \rhd. The example uses \mathrel for the result as relational symbol (like \blacktriangleright). If the final symbol should be better a binary symbol (like \rhd), then \mathrel needs to be replaced by \mathbin. Luckily both symbols of package amssymb match ...

3

I am not too proud about my ⺼-trick, but if you just need it a few times... % arara: xelatex \documentclass{book} \usepackage{polyglossia} \setmainlanguage{chinese} \setotherlanguage{english} \usepackage[AutoFallBack=true]{xeCJK}[2016/05/14] \setCJKmainfont[FallBack=SimSun-ExtB]{SimSun} \parindent=0pt \begin{document} Simplified Characters ...

8

Something like this? \documentclass{article} \usepackage{amssymb} \begin{document} $\not\gtrless$ \end{document}

2

Your acronyms of the class nomenclature all have the field sort = a. Apparently, this field must have a unique value, otherwise the second entry will overwrite the first, and the third entry will overwrite the second one. Either delete the sort-fields, or change them to something like this: \DeclareAcronym{k}{ short = $k$ , long = Discrete time index ,...

6

According to http://detexify.kirelabs.org/classify.html The command you are looking for is \divideontimes, can be used in mathmode only, and requires the amssymb-package.

1

You can make it an active character, see TeX FAQ \documentclass{article} \catcode\X=\active \def X{Y} \begin{document} XZXZ \end{document}

2

8-bit TeX engines, \usepackage[utf8]{inputenc} % Redefine Yo/ye for umluatless version \usepackage{newunicodechar} \newunicodechar{Ё}{Е} \newunicodechar{ё}{е} Unicode TeX engines (LuaTeX, XeTeX) Characters can be made active: % Umlautless version \catcode\Ё=\active \defЁ{E} \catcode\ё=\active \defё{e}

2

Depending on how the file should be used, there are different ways to load it. \begin{filecontents*}{\jobname.txt} # This line is a comment variable=value # This line is also a comment variable2=value2 \end{filecontents*} \documentclass{article} \usepackage{fancyvrb} \newread\caissyfile \begin{document} \begingroup\catcode#=12 \openin\caissyfile=\...

4

Even though Swiss francs are not an SI unit, the siunitx package is really convenient to typeset numbers with units. You simply declare CHF a new unit with \DeclareSIUnit\CHF{CHF} If you now want to change the representation from CHF to, say, Fr. throughout the whole document, all you have to do is adjust the definition to \DeclareSIUnit\CHF{Fr.} Here ...

3

Isn't the symbol for the Swiss Franc just CHF? you could just build something like \newcommand{\CHF}[1]{#1\,\textrm{CHF}} or something along these lines. EDIT: changed {\rm...} to \textrm{...}, thanks!

1

To separate your footnotes from the default structure I would consider the package manyfoot, where you can have several series of footnotes. But, now to the answer of the question. As I understand you want the same series as the default footnotes. You have redefined \@makefntext which is used by \footnote to set the text in the footnote. To have your own ...

9

There isn't a curated list similar to Comprehensive LaTeX Symbol list, but you can generate various automated lists to show all the characters in a font. Run context --global --bodyfont=modern s-math-characters.mkiv This generates a 137 page document. Here is a snippet mathname is the name of the macro that will give you the symbol. As you can see, ...

1

The general easy way to do this is to use \underset from the amsmath package, \underset{\neq}{\triangleleft} however it will give you a rather bulky symbol, that you would not want to use in running text. \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \begin{equation*} H \triangleleft G \qquad H \underset{\neq}{\...

1

You may choose between the amssymbversion and a variant borrowed from mathabx: \documentclass{article} \usepackage{amssymb} \DeclareFontFamily{U}{matha}{\hyphenchar\font45} \DeclareFontShape{U}{matha}{m}{n}{ <-6> matha5 <6-7> matha6 <7-8> matha7 <8-9> matha8 <9-10> matha9 <10-12> matha10 <12-> matha12 }{} \...

7

I tried the formula at the bottom of page 85 in Google books \documentclass{article} \usepackage{mathtools} \DeclareRobustCommand{\DPiA}{\mathbf{II}} \DeclareRobustCommand{\DPiB}{\mathbf{I\mspace{-1mu}I}} \DeclareRobustCommand{\DPiC}{{\mathrlap{\amalg}\Pi}} \begin{document} First version: \[ A \rightarrow (\Pi = \DPiA(R) \leftrightarrow \mathsf{R}(\Pi) =...

7

If you're willing to play around a bit, yes: \documentclass{article} \usepackage{listings} \lstset{ mathescape = true, basicstyle = \ttfamily} \newcommand{\dollar}{\mbox{\textdollar}} \begin{document} \begin{lstlisting} //basic instruction ["$\dollar$p.red"] $\rightarrow$ ["!jQuery", ".red"] \end{lstlisting} \end{document} We escape inside math ...

2

You can e.g. use the fonttable package \usepackage{fonttable} ... \xfonttable{OMS}{wcry}{b}{n} but this assumes that your glyph is encoded, if not you should look e.g. in the afm-file (if there is one).

0

You can use the testfont.tex. Use either: tex testfont or pdftex testfont Then give the name of the font file (pfb) without extension. For example if cmr10.pfb, use cmr10. Then you need to provide \table and \end as given in the below screenshot.

3

I really doubt this is correct usage, but here is a solution using the textcomp-package. Output Code \documentclass[11pt]{article} \usepackage{mathtools,textcomp} \begin{document} $$x\textnormal{\textquotesingle}$$ \end{document}

2

Wether you define a command, and use it \newcommand*\q{\mathchar'} $a\q b$ or if you want all ' to give you the usual single text quote, you change the mathcode of ' to not being “math-active” (active means \mathcode'="8000). \mathcode'=' % this seems to work, but I'm not sure it's the perfect way $a'b$

4

Adapting the solution by [egreg (2016)], we define \sfpi. \documentclass{article} \DeclareFontEncoding{LGR}{}{} \DeclareSymbolFont{sfitgreek}{LGR}{cmss}{m}{it} \SetSymbolFont{sfitgreek}{bold}{LGR}{cmss}{bx}{it} \DeclareMathSymbol{\sfpi}{\mathord}{sfitgreek}{`p} \begin{document} $\pi \sfpi$ \end{document}

4

Try \renewcommand\qedsymbol{\raisebox{2pt}{$\square$}\,\llap{$\blacksquare$}} in your preamble. See A question on how to change the qed-symbol of amsthm for more on changing the qed-symbol. The command above builds the new qed symbol out of the \square and \blacksquare symbols from amssymb, by vertically shifting the \square up a tiny bit (\raisebox)...

5

See edited answer at the end, with a cleaner and adaptative solution Quick, dirty, and very explicit, but it works : \documentclass{article} \usepackage{fourier} \usepackage{graphicx} \begin{document} \raisebox{0.325ex}{\resizebox{!}{1.2ex}{\danger}} dasdfcsdasda \end{document} of course, it need to be adapted according to the font you ...

2

Please provide a minimal working example (MWE) next time you ask a question... I hope this is what you are looking for. Here I define a new command \daggerfootnote to be used in such cases. It doesn't interfere with other footnotes numbering, as you can see. MWE: \documentclass{article} \newcounter{daggerfootnote} \newcommand*{\daggerfootnote}[1]{% \...

3

It seems to be a feature of CMU Serif, that uses different glyphs for Greek when the script is Latin. You can do \setmainfont{CMU Serif}[Script=Greek] and the result will be the same. However, it's better to properly segregate the other language using \foreignlanguage or the otherlanguage or otherlanguage* environment. \documentclass[twoside,a4paper,...

7


-1

How about these? \def\CSH{{C\nolinebreak[4]\hspace{-.05em}\raisebox{.4ex}{\footnotesize\bf \#}}} A direct variation of Prettiest way to typeset "C++" (cplusplus)?

5

As said in the comments, I’d suggest to define a command for this. That way it is easy to change the appearance later (macro name taken from Joseph …). \documentclass{article} \newcommand\laevo{\textsc{l}} \begin{document} poly-\laevo-lysine \end{document} If the font doesn’t have small caps (and only then) one might use a scaled upper case L (using \...

11

It just looks to me like a smallcaps L. \textsc{l} should do it! \documentclass{article} \begin{document} poly-\textsc{l}-lysine \end{document} One of the difficulties in starting off with *TeX is just learning what some of its features are called. It's a big world, so plan at least 30 minutes or so sometime soon just to read through a *TeX introduction; ...

2

Latex does indeed support Tetration notation. Simply use: {^{n}a} This produces the notation. This should not require the use of any special packages.

10

Here is the theory; the image does not seem to align to the top and bottom of the integral sign because it has some white space above and below that I didn't remove. Use your own image, of course. \documentclass{article} \usepackage{graphicx} \makeatletter \DeclareRobustCommand{\duckintegral}{% \mathop{\mathpalette\duck@integral\relax}\nolimits } \...

Top 50 recent answers are included