# A chevron above a consonant, like a tilde [duplicate]

I want to put a wedge above a character, like a tilde can place, over an "S" or a "K".

The MWE:

$$\begin{split} K_{ij}=\^{K}_{i,(1+j-i)} \qquad \text{para} \qquad i & =1,2,...,\text{NGDL};\\ j & = i,i+1,...,\text{SAB}+i \leq \text{NGDL}\\ \end{split}$$


The K shows without the chevron.

## marked as duplicate by Andrew Swann, Christian Hupfer, egreg, Paul Gessler, Martin SchröderMay 4 '15 at 11:24

• Do you mean a en.wikipedia.org/wiki/Caron or a en.wikipedia.org/wiki/Circumflex ? Please post an image of what you search, explain, where you have already searched (saving us from searching there, too) and give an MWE which shows your font setting. Are you willing to use Lua- or XeLaTeX? – LaRiFaRi May 4 '15 at 8:04
• XeLaTeX, please. – Isai May 4 '15 at 8:37
• As LaRiFaRi indicates, in math mode you need to use \hat for a circumflex accent. – Andrew Swann May 4 '15 at 8:39
• @AndrewSwann credits go to Mathew. Voted to close as duplicate, though. – LaRiFaRi May 4 '15 at 8:42

For a caron, use \v{a} to get ǎ.

For a circumflex, use \^{a} to get â.

\documentclass{article}
\begin{document}
A caron, \v{a}, and a circumflex, \^{a}.
\end{document}


In math mode, try \hat{a} for a hat:

$$\begin{split} K_{ij}=\hat{K}_{i,(1+j-i)} \qquad \text{para} \qquad i & =1,2,...,\text{NGDL};\\ j & = i,i+1,...,\text{SAB}+i \leq \text{NGDL}\\ \end{split}$$


For a full list of basic LaTeX accents, see this WikiBooks page.

• Welcome to TeX.SX and thanks a lot for answering and participating here. If you have time, make your example a minimal working example (MWE) as this is best practise here and makes it easy to reproduce your suggestion. – LaRiFaRi May 4 '15 at 8:16
• I edited my question. I tried with both of them, but I didn't get the results. – Isai May 4 '15 at 8:34
• What version of LaTeX are you using? Try using \hat{a} for math mode. – Mathew Carrick May 4 '15 at 8:38
• It works with \hat{}. – Isai May 4 '15 at 8:41
• You also can try \widehat (depending on the width of the text – probably widehat{W} will look better than \hat{W}). – Bernard May 4 '15 at 8:45