Hi,
I want my pdf file to display the following line.
Blah blah \n blaah
LaTeX forum ⇒ Text Formatting ⇒ how to enter backslash (\) in your text
how to enter backslash (\) in your text
Last edited by ghantauke on Mon Mar 14, 2011 3:35 am, edited 1 time in total.
how to enter backslash (\) in your text
Hi,
the answer depends on the font that you want to use to display \n; some options
the answer depends on the font that you want to use to display \n; some options
\documentclass{article} \usepackage[T1]{fontenc} \begin{document} % monospaced font \verb+\n+ % monospaced font \texttt{\symbol{92}n} % monospaced font; requires T1 encoding \texttt{\textbackslash n} % current font \textbackslash n \end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
how to enter backslash (\) in your text
\textbackslash n"
worked pefectly.
Many thanks to you.

Who is online
Users browsing this forum: Google [Bot] and 3 guests