1

I used \string\noindent to output a command \noindent, but the result is "noindent. I also tried with \verb|\noindent| and \texttt{\noindent}, but the results are the same. I found a question may be related to my problem, but I don't know how to fix it. Any suggestion is appreciated!

minimal working example:

\documentclass{article}
\usepackage{libertine}

\begin{document}

\verb|\noindent| \string\noindent \texttt{\noindent}

\end{document}

Update: I found that this result is because I use libertine font: \usepackage{libertine}. I deleted it and everything is fine. But I am still confused about the principle behind it.

Zarko
  • 296,517
Qiang
  • 11

0 Answers0