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

I'd like to use \v{C} as a math operator. However, if I write $\v{C}_r(S)$ or define \DeclareMathOperator{\Cech}{\v{C}}, the \v{C} symbol does not get shown at all. What is the proper way to handle this?

share|improve this question
    
\v is a text accent, the math equivalent is named \breve – daleif Feb 1 at 13:52
4  
@daleif No: \breve is curved. The math equivalent is \check – Frédéric Grosshans Feb 1 at 14:14
    
@FrédéricGrosshans my bad, had a meeting to go to, so it was a little fast – daleif Feb 1 at 14:50
up vote 14 down vote accepted

\v(C) only works outside maths mode. For inside maths mode, use \check{C}. Thus (providing you are using the amsmath or mathtools packages), create your operator using:

\DeclareMathOperator{\Cech}{\check{C}}

and you can then do $\Cech_r(S)$ to get what you want.

share|improve this answer
    
For completeness, you should mention that \DeclareMathOperator requires either the amsmath or mathtools packages. – Steven B. Segletes Feb 1 at 14:05
3  
Note that if this operator is intended for comparison between two elements, you should use \mathbin{\check{C}}. – Dorian Feb 1 at 14:08
1  
@StevenB.Segletes fair point. I assume the OP was doing that, but for the benefit of those who come here by google, I've added that as a parenthetical comment. – Robert Brignall Feb 1 at 15:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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