1
The expression `\bf{\textbackslash [ formulae \textbackslash ]}`

the result is

The expression ‘[ formulae ]’

(don't mind for not showing the '\' expressions in the result. That's not a problem ;) )

Always the second, or closing single quote being bold.

I don't know why this happens even though the quote is outside of the \bf command :(

Andrew Swann
  • 95,762
  • 3
    Don't use \bf. Use \textbf{}. – Sigur Jun 27 '18 at 00:08
  • 1
    If you really want to use \bf, use like this: {\bfseries foo}. – Sigur Jun 27 '18 at 00:09
  • 8
    \bf is a few decades obsolete. In LaTeX, it shouldn't be used. It and \bfseries switch the font to bold indefinitely. They don't take an argument. \textbf{bold text} and back to normal or `{\bfseries bold text} and back to normal. – cfr Jun 27 '18 at 00:10
  • @Sigur I agree. There are no quotes in the input, are there? – cfr Jun 27 '18 at 00:12
  • 1
    @cfr, I think the input should start with The expression.... But who knows?! – Sigur Jun 27 '18 at 00:13
  • 2
    In old syntax it would have been {\bf ....}, limiting the scope of the boldface, but as the other comments say, you should use \textbf{...} or perhaps {\bfseries ...}. – Andrew Swann Jun 27 '18 at 08:04
  • Please have a look at point 3 at https://tex.stackexchange.com/a/139907/100689 – Michael Fraiman Jun 27 '18 at 09:55

1 Answers1

-1

if you use like this \bf{\textbackslash [ formulae \textbackslash ]} following words all are bold Use like below

{\bf\textbackslash [ formulae \textbackslash ]}