Text Formatting ⇒ C# notation
C# notation
Is there any sign that is similar to the C# sign from for example here:
http://en.wikipedia.org/wiki/C_Sharp_(p ... _language)
I used both \# and $\sharp$ and they do not resemble the original.
Kris
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
C# notation
\usepackage{arev}
as in:
Code: Select all
\documentclass{article}
\usepackage{arev}
\begin{document}
C$\sharp$
\end{document}
Re: C# notation
Kris
C# notation
Code: Select all
\documentclass{article}
% define \mysharp using the arev package
\usepackage{arev}
\newsavebox{\sharpbox}
\sbox{\sharpbox}{$\sharp$}
\newcommand{\mysharp}{\usebox{\sharpbox}}
% switch back to Latin Modern
\usepackage{lmodern}
\begin{document}
C\mysharp
\end{document}
Re: C# notation
Kris