Is there a c/o symbol in LaTex for writing an address? I have looked in the Comprehensive latex symbol list but couldn't find one.
Asked
Active
Viewed 1.5k times
32
6 Answers
24
\documentclass[a5paper]{article}
\newcommand{\co}{%
\leavevmode
\begingroup
\setbox 2 = \hbox {\small c}%
\setbox 0 = \hbox {/}%
\dimen 0 = \ht 0 \advance \dimen 0 by -\ht 2
\raise \dimen 0 \box 2
\kern -0.3333\wd0/\kern -0.3333\wd 0
\lower \dp 0 \hbox {\small o}%
\endgroup
}
\begin{document}
\co\space Mr. Bean
\end{document}

diabonas
- 25,784
Harald Hanche-Olsen
- 15,968
18
Probably quick and dirty, see ISO character entities and their LaTeX equivalents on page 3:
${^c\!/\!_o}$ Jim Jones

Edit: Included suggestion from Tobi’s comment having the letters c and o non-italicised:
$\mathrm{^c\!/\!_o}$ Jim Jones

14
The "c" should be level with ascenders and the "o" at the baseline; with textcomp's \textfractionsolidus the slash is slightly better than the normal /; but for symmetry it can be slightly raised up.
\documentclass{article}
\usepackage{textcomp}
\makeatletter
\newcommand{\co}{%
\check@mathfonts
\raisebox{.85ex}{\fontsize{\sf@size}{\z@}\selectfont c}%
\kern-.1em\raisebox{.2ex}{\textfractionsolidus}\kern-.1em
{\fontsize{\sf@size}{\z@}\selectfont o}%
}
\makeatother
\begin{document}
\co\ Mr.~Bean
\end{document}

egreg
- 1,121,712
-
for whatever it's worth, the image for the unicode symbol (U+2105) shows the letters in italic. – barbara beeton Jun 07 '13 at 21:27
-
@barbarabeeton If that's preferred, just change
\selectfontinto\itshape. – egreg Jun 07 '13 at 21:31
1
Another solution. This \co macro is nearly the same that a macro used by LyX to obtain the c/o symbol (\LyXcareof)
\documentclass{article}
\newcommand\co{\mbox{%
\raisebox{.8ex}{c}%
\kern-.175em\raisebox{.2ex}{/}%
\kern-.18em\raisebox{-.2ex}{o}%
}~}
\begin{document}
\co Mr. Bean
\end{document}

Fran
- 80,769
1
With XeLaTeX and a font that can display the character you can use the unicode character U+2105 and write \char"2105:
\documentclass{article}
% load a font that can display the symbol
\usepackage{noto}
\begin{document}
\char"2105
\symbol{"2105} % alternative syntax, see comment below.
^^^^2105 % yet another syntax
\end{document}
Unfortunately, this does not work with pdfLaTeX and probably not with others as well.
Qw3ry
- 195
-
2Of course, the glyph U+2105 is provided by the font. The LaTeX syntax for plain TeX's
\char"2105is\symbol{"2105}. Alternatively, the [^^-notation](https://tex.stackexchange.com/q/62725/16967) can be used:^^^^2105. – Heiko Oberdiek Aug 26 '17 at 11:45 -
Thank you, I edited the answer accordingly. Still, I could not get it to work with LaTeX or pdfLaTeX (not sure what's the real problem though). – Qw3ry Aug 26 '17 at 19:29
1
I've got a better one.
\usepackage{units}
…
{\nicefrac{\raisebox{.2em}{\textsc{c}}}{\raisebox{-.3em}{\textsc{\kern -.1em o}}}}
Fredrick Brennan
- 257

c/o? – daleif Mar 07 '11 at 13:08\usepackage{amsmath,relsize,units}\def\careof{\smaller\nicefrac{\text{c}}{\text{o}}}? – kahen Mar 07 '11 at 13:46@in a comment is notified. – Martin Scharrer Mar 07 '11 at 14:30