# [Tex/LaTex] how to enter bold-backslash in latex

beamersymbols

I am using beamer making a presentation, I want to add a bold backslash inside a text, \textbf{\textbackslash} does not seem to work, can someone tell me please how to enter a bold-backslash?
the code is something like this:

\documentclass[xcolor=dvipsnames]{beamer}
\usecolortheme{beaver}

\begin{document}

\begin{frame}{Differences in File-systems}
\begin{itemize}
\item (backslash) {\color{red}{\textbf{\textbackslash}}} in windows:\\ \vspace{5 mm}
\textbf{c:\textbackslash Documents and Settings\textbackslash Maria\textbackslash My Documents\textbackslash lec-1.doc}\vspace{5mm}
\item (forward slash) \textbf{{\color{red}{/}}} in linux: \\ \vspace{5 mm}
\end{itemize}
\end{frame}

\end{document}


Your question is very unclear but I assume from the tag you are using beamer.

\documentclass{beamer}

%\usepackage[T1]{fontenc}
%\showoutput
\begin{document}
\begin{frame}
\textbf{aaa\textbackslash}

aaa \textbackslash
\end{frame}
\end{document}


Produces the warning

LaTeX Font Warning: Font shape OMS/cmss/bx/n' undefined
(Font)              for symbol textbackslash' on input line 11.


Telling you that \ comes from the math sans serif and there is no bold in OT1 encoding.

\usepackage[T1]{fontenc}

where if you look closely (or at the output from \showoutput) the \` is bold.