I can do $_\tau^{|}$ which renders:

enter image description here

What I don't like is:

  1. The tau becomes under the baseline
  2. I can't control the line's length

Can someone help me? Thanks!

2 Answers 2


Try with

$\stackrel{|}{\tau} $  base 
$\stackrel{\tikz{\draw[black] (0,1) -- (0,0) ;}}{\tau} $

the second option with TikZ.

enter image description here

  • Great! I wanted to be able to control the line's length, but I found that I can do \substack{|\\ |} and it's good enough. Thanks
    – Mageek
    Jun 19, 2016 at 18:53
  • @Mageek If you don't mind loading TikZ, with the last edit you should be able to do it quite at pleasure.
    – c.p.
    Jun 19, 2016 at 19:09

If the vertical bar should a kind of math accent, you can use the following idea:


    \text{\smash[b]{\rule[-0.4ex]{0.4pt}{0.8ex}}}% <-- customize 0.8ex




enter image description here

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.