1
\textbf{C$_{global\_binary}$}

The above is the code I use, the generate text is enter image description here

I want to make "global_binary" subscript also in bold, how could I do this?

2 Answers 2

0

Since the material doesn't appear to be math-y, I would recommend using \textsubscript rather than TeX's math mode.

enter image description here

\documentclass{article}
\begin{document}
\textbf{C\textsubscript{global\_binary}}

C\textsubscript{global\_binary}
\end{document}
0

The problem here is that \textbf, as the name implies, applies to text (as opposed to math. Using \mathbf (inside math mode) gives you

$\mathbf{C_{global\_binary}}$

as your input and

boldface C with global_binary as subscript

as your output

You must log in to answer this question.

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