0

I am trying to bold the word in my third line. as shown in figure below:

enter image description here

My full MWE is as below:

    \documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}

\begin{document}

\renewcommand{\labelitemi}{$\blacksquare$}
\renewcommand{\labelitemii}{$\square$}
\renewcommand{\labelitemiii}{\textendash}
\begin{itemize}
   \item  \textbf{First Line}
   \begin{itemize}
     \item  \textbf{Second Line}
        \begin{itemize}
             \item \textbf{\(H_{1,1}\):} No bold starting here Third Line
                %  \item {\textbf{\(H_{1,2}\):}} There 

\end{itemize}
\end{itemize}
\end{itemize}

\end{document}

I had tried:

 \item \textbf{\(H_{1,1}\):} No bold starting here Third Line

and

\item {\textbf{\(H_{1,2}\):}} There 
11
  • 1
    How can I get bold math symbols? might be interesting.
    – leandriis
    Dec 25 '19 at 14:26
  • I have edited the tags, especially to remove biblatex since this tag is not related to the question. I have added symbols and math-mode instead.
    – leandriis
    Dec 25 '19 at 14:28
  • Thanks for having provided a MWE. A bit more experimentation shows you can make the example even smaller.
    – Arnaud
    Dec 25 '19 at 14:30
  • Actual minimal WE: \documentclass{article} \begin{document} \textbf{\(H_{1,2}\):} \end{document} since the problem is not related to itemize. (As also stated by Arnaud).
    – leandriis
    Dec 25 '19 at 14:31
  • @leandriis, thanks. I was thinking \(H_{1,2}` is not math symbols. I had tried \usepackage{amsbsy}` and $\boldsymbol{\(H_{1,1}\)}$, not correct
    – aan
    Dec 25 '19 at 14:33
3

To make the math expression bold, you need to use \mathbf{} inside the math expression (i.e. \( \mathbf{...} \) rather than \textbf{ \(...\) }).

Or else, a bad way out is to use "poor man's bold" or \pmb{} in place of \textbf{} which gives you a fake bold.

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb}

\begin{document}

\renewcommand{\labelitemi}{$\blacksquare$}
\renewcommand{\labelitemii}{$\square$}
\renewcommand{\labelitemiii}{\textendash}
\begin{itemize}
   \item  \textbf{First Line}
   \begin{itemize}
     \item  \textbf{Second Line}
        \begin{itemize}
             \item \textbf{\(H_{1,1}\):} No bold starting here Third Line
             \item \( \mathbf{H_{1,1}} \): Math bold font in fourth Line
             \item \pmb{\(H_{1,1}\):} Poor man's bold in fifth Line
                %  \item {\textbf{\(H_{1,2}\):}} There 

\end{itemize}
\end{itemize}
\end{itemize}

\end{document}

to get something of this sort:

enter image description here

To get a bold colon (:) on the fourth line, place the colon inside\ mathbf{}, i.e. use \( \mathbf{H_{1,1}:} \).

1

Not related to being a third item, but to trying having math being bold with \textbf.

5
  • @Arnuad, thanks. i was thinking \(H_{1,2} is not a math symbol.
    – aan
    Dec 25 '19 at 14:34
  • \( ... \) is equivalent to $ ... $ (in fact there is a subtle difference, don't ask me though)
    – Arnaud
    Dec 25 '19 at 14:43
  • @CampanIgnis : what new question are you referring to?
    – Arnaud
    Dec 25 '19 at 14:49
  • @Arnoud that was an automatic comment made by the system (note the From Review link) that was generated because the reviewer (CampanIgnis) clicked the 'in my opinion this is a different question posted as an answer' option. He may have thought that you wanted to ask a new question, i.e., "how can I use \textbf to write bold math?" or something similar. That was probably a review mistake, in my opinion this is an (accurate) answer to the question, although a bit short.
    – Marijn
    Dec 25 '19 at 16:23
  • @Arnaud. See Marijn comment. Marion is correct. Dec 25 '19 at 21:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.