This question already has an answer here:

I would like to create a vertical bar, as is, in a \textbf{#1} command:




which produces this:

enter image description here

How can I get the vertical bar working in bold-series?

EDIT: I do not want to change the | char (I want to keep using |).

marked as duplicate by Henri Menke, zeroth, Community Jul 6 '16 at 6:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    \textbf{Hello\textbar there} – Runar Jul 6 '16 at 6:36
  • @RunarTrollet please see the updated question, I would like not to change the source code. :) – zeroth Jul 6 '16 at 6:44
  • 1
    \usepackage[T1]{fontenc} taken from stackoverflow.com/questions/3487966/… – Runar Jul 6 '16 at 6:48

Browse other questions tagged or ask your own question.