[texhax] Hacking \circleddash
Juan Mari Alberdi
wapalgaj at sq.ehu.es
Thu Jul 1 16:16:08 CEST 2004
What about these ones? I'm afraid I've used 'stmaryrd' too.
Juan Alberdi
\documentclass{article}
\usepackage{stmaryrd}
\def\ra#1{\raise1.25pt\hbox{#1}}
\def\ststa{\ra \_\mkern-10.5mu\, \mathnormal 0}
\def\ba#1{\raise-.7pt\hbox{#1}}
\def\ststb{\ba -\mkern-11mu\, \mathrm o}
\begin{document}
\begin{equation}
H^{\, \ststa}_T = H^{\,\ststa}_r +
\int^T_r C^{\,\ststa}_P \; dT
\end{equation}
\begin{equation}
H^{\, \ststb}_T = H^{\,\ststb}_r +
\int^T_r C^{\,\ststb}_P \; dT
\end{equation}
\begin{equation}
H^{\, \ominus}_T = H^{\,\ominus}_r +
\int^T_r C^{\,\ominus}_P \; dT
\end{equation}
\begin{equation}
H^{\, \varominus}_T = H^{\,\varominus}_r +
\int^T_r C^{\,\varominus}_P \; dT
\end{equation}
\end{document}
Juan
John Simmie wrote:
> My attempt to hack a 'standard state' symbol which looks like a circle
> with a horizontal line thru it
> it would only ever be used as a superscript in math mode
> is not great, even downright poor ... see \notzero below
>
> ideally a hack of the AMS symbol \circleddash with a smaller circle
> and/or a longer line
> would fit the bill. The closest I have found in the Comprehensive
> LaTeX Symbol List
> is \minuso in the stmaryrd package which I do not want to use ...
>
> So how does one redefine \circleddash to suit?
> ---------------------------------------------------------------------------
> \def\notzero{{\mathchar'174\mkern-13mu 0}}
>
> \begin{document}
>
> \begin{equation}
> H^{\notzero}_T = H^{\notzero}_r + \int^T_r C^{\notzero}_P \; dT
> \end{equation}
>
> $$ \circleddash $$
> ----------------------------------------------------------------------------
>
> Dr. John M. Simmie
> Chemistry Department & Environmental Change Institute
> National University of Ireland, Galway::Ireland
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>TeX FAQ: http://www.tex.ac.uk/faq
>TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
>Mailing list archives: http://tug.org/pipermail/texhax/
>More links: http://tug.org/begin.html
>
>Automated subscription management: http://tug.org/mailman/listinfo/texhax
>Human mailing list managers: postmaster at tug.org
>
More information about the texhax
mailing list