TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How can I draw a dot under a symbol in math mode?

I'm looking for the equivalent of the \textvbaraccent command for the math mode.

share|improve this question

marked as duplicate by Werner, Marco Daniel, Seamus, Stefan Kottwitz Jan 15 '12 at 23:00

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.

up vote 6 down vote accepted

With the same approach as in http://tex.stackexchange.com/a/38907/4427



One has to consult the tipa package font tables to find out the right code. A useful package is fonttable:


However, the file t3enc.def has the entry

  {\tipaupperaccent{156}{#1}}                    % Vertical Bar Accent

that tells the number to use.

In general, this approach is superior to the use of \text{\textvbaraccent{$x$}} that doesn't place the accent taking care correctly of the slant as can be seen in the following picture (left my definition, right the result of \text)

enter image description here

share|improve this answer

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