7

I'd like to bolden the crossed-o but

\textbf{$\oslash$}

does nothing!

5
  • 2
    \usepackage{bm} and $\bm{\oslash}$ should do.
    – egreg
    Commented May 26, 2013 at 11:02
  • 2
    @mateuz Please, take a look at tex.stackexchange.com/questions/595/…
    – user13907
    Commented May 26, 2013 at 11:14
  • 4
    Please note that \oslash is not the same as the HTML-entity ø (a.k.a. the Danish/Norwegian letter Ø), or the diameter symbol ⌀, or the empty set symbol ∅.
    – kahen
    Commented May 26, 2013 at 11:23
  • 1
    \textbd{$\oslash$} will produce an "Undefined control sequence" error, so I guess you mean \textbf{$\oslash$}.
    – lockstep
    Commented May 26, 2013 at 12:16
  • 1
    Kahen's comment is accurate. You shouldn't be using \oslash anyway, but rather just Ø, which you can do if you use UTF-8 as your file encoding. See the comments/answers to your other questions on this.
    – Alan Munn
    Commented May 26, 2013 at 12:23

2 Answers 2

5

There are several options for obtaining bold characters in math mode. Using the bm-package with \bm is considered the best practice for that.

Implementation

\documentclass[border=3mm]{standalone}
\usepackage{amsmath}
\usepackage{bm}
\begin{document}
Options for bold $\oslash$:
$\boldsymbol{\oslash}$ vs.
{\boldmath $\oslash$} vs.
$\bm{\oslash}$
\end{document}

Output

bm

2

You can use the bm package to get bold math characters. See

How can I get bold math symbols?

However, for your actual purposes, (linguistics) you should not be using the math symbol \oslash anyway, but you should just use the regular upper case Ø, in which case it can be made boldface without any extra packages.

3
  • But what package do I need to get "Ø"? Copy-and-pasting directly gives me à Ÿ
    – Teusz
    Commented Jul 15, 2013 at 5:43
  • 1
    @mateuz You shouldn't need a package. How is your input file encoded? You should use latin1 or utf8 You need to load the inputenc package with the correct encoding specified (unless you're using XeTeX) You also need to make sure that you are loading a font that contains that the glyph (so \usepackage[T1]{fontenc} (again, unless you are using XeTeX)). If you took my other advice, you should be using XeTeX in which case your file must be encoded utf8 and things should just work.
    – Alan Munn
    Commented Jul 15, 2013 at 12:41
  • Not sure how it's encoded (I'm using TextMate 4, not XeTeX), but even with \usepackage[T1]{fontenc}, I still get those two glypsh I mentioned above.
    – Teusz
    Commented Jul 15, 2013 at 13:25

You must log in to answer this question.

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