3

Sorry for the terrible title and the probably silly question. Essentially I would like to display "\\server" as text in the pdf, however tex is taking the \\ as a return.

Thanks,

3
  • 1
    \verb!\\server!
    – Johannes_B
    Sep 25, 2017 at 0:53
  • 1
    verb+\\server or \textbackslash\textbackslash server ... for more i should see context of this, i.e.. provide small complete document which will demonstrate your problem,
    – Zarko
    Sep 25, 2017 at 0:53
  • @Johannes_B Thanks so much for your quick help. Johannes_B's answer helped. My final code looks like \documentclass{article} \setcounter{section}{-1} \begin{document} \begin{enumerate} \item Type \verb|\\server| to access \end{enumerate} \end{document}
    – Adam
    Sep 25, 2017 at 0:56

1 Answer 1

2

[Final solution from Adam's comment]

\documentclass{article} 
\setcounter{section}{-1} 
\begin{document} 
  \begin{enumerate} 
    \item Type \verb|\\server| to access 
  \end{enumerate} 
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .