0

How would I bold just this item? Thank you.

\item $\neg f\to (\neg b\lor\neg m)$
  • 1
    Welcome to TeX SX! Which type of list is it? – Bernard Sep 12 '17 at 15:23
  • @Bernard I don't think that matters: the math is not an argument to \item. – cgnieder Sep 12 '17 at 15:25
  • 2
    Related: How can I get bold math symbols? – dexteritas Sep 12 '17 at 15:29
  • 1
    @clemens: depends on whether it's the label of the contents which has to be boldened. It's not clear to me. – Bernard Sep 12 '17 at 15:36
1

If you want to bolden the contents of the item, the simplest is this:

\item \boldmath$\neg f\to (\neg b\lor\neg m)$\unboldmath

or, following egreg's suggestion:

\item {\boldmath$\neg f\to (\neg b\lor\neg m)$},
  • This is exactly what I was looking for. Thanks! – Safder Aree Sep 12 '17 at 15:50
  • \item {\boldmath$...$} is better, IMO. – egreg Sep 12 '17 at 16:23
  • @egreg: What's the difference? I thought it was equivalent. – Bernard Sep 12 '17 at 16:36
  • 1
    @Bernard Maybe not equivalent, if \boldmath was already in effect. It's conceptual, rather than specific for the case. Use grouping to limit a scope whenever possible. – egreg Sep 12 '17 at 16:46
  • OK. Initially, I chose what I posted (\bold ... \unbold) because it's too easy to forget closing a brace, and it's tough to find where it's messing at times. (wonderful slip (and metalepsis): ‘messing’ for ‘missing’!) – Bernard Sep 12 '17 at 17:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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