If you do know, which package do I need to use? Thanks.
[Tex/LaTex] What are the LaTeX codes for clockwise and counter-clockwise integrals (∱ and ⨑)
integralmath-modesymbols
Related Solutions
\xrightarrow
is provided by package amsmath
:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
$\xrightarrow{P}$
\end{document}
LaTeX package amsmath
is part of distribution package amsmath
in TeX Live
and MiKTeX. Usually it should be already installed, because it belongs to the "required" packages: CTAN:macros/latex/required/amslatex/
.
Package mathtools
loads package amsmath
and provides further extensible arrows, see section "3.3 Extensible symbols" in its documentation.
It is part of distribution package mh
in MiKTeX and TeX Live.
I can show you how to do this in clear plain TeX and in plain TeX with OPmac. First clear plain TeX:
\newfam\hebfam
\font\tmp=rcjhbltx at10pt \textfont\hebfam=\tmp
\font\tmp=rcjhbltx at7pt \scriptfont\hebfam=\tmp
\font\tmp=rcjhbltx at5pt \scriptscriptfont\hebfam=\tmp
\edef\declfam{\ifcase\hebfam
0\or1\or2\or3\or4\or5\or6\or7\or8\or9\or A\or B\or C\or D\or E\or F\fi}
\mathchardef\shin = "0\declfam 98 % 98 is hexa code of shin
\mathchardef\aleph = "0\declfam 27
\mathchardef\beth = "0\declfam 62
\mathchardef\gimel = "0\declfam 67
\mathchardef\daleth = "0\declfam 64
\mathchardef\lamed = "0\declfam 6C
\mathchardef\mim = "0\declfam 6D
\mathchardef\ayin = "0\declfam 60
\mathchardef\tsadi = "0\declfam 76
\mathchardef\qof = "0\declfam 72
Now I can use $A_\shin, \shin$ or $B^\shin$.
\bye
The solution is based on the font rcjhbltx
which is present in common TeX distributions. The encoding of this font is described in the file cjhebltx.enc
. You can look into this file in order to find another codes you need.
The main disadvantage of clear plain TeX is that the main font size is fixed to 10pt and the math typesetting is set to fixed 10pt/7pt/5pt. On the other hand, OPmac provides arbitrary size of main font (and derived math typesetting). Finally, the declaration of new math family is more simple:
\input opmac
\addto\normalmath {\loadmathfamily 15 rcjhbltx } \normalmath
\addto\boldmath {\loadmathfamily 15 rcjhbltx }
\mathchardef\shin = "0F98 % 98 is hexa code of shin
\mathchardef\aleph = "0F27
\mathchardef\beth = "0F62
\mathchardef\gimel = "0F67
\mathchardef\daleth = "0F64
\mathchardef\lamed = "0F6C
\mathchardef\mim = "0F6D
\mathchardef\ayin = "0F60
\mathchardef\tsadi = "0F76
\mathchardef\qof = "0F72
Now I can use $A_\shin, \shin$ or $B^\shin$. (10pt size)
\typosize[12.3/15]
Now I can use $A_\shin, \shin$ or $B^\shin$. (12.3pt size)
\bye
Best Answer
With the
MnSymbol
package, you could use the following symbols:(other package might know these symbols as
\ointclockwise
and\ointctrclockwise
)If you only want half a circle, you can use the
mathdesign
package: