## LaTeX forum ⇒ TeXShop ⇒ circumflex accent

Information and discussion about TeXShop, an integrated LaTeX environment for Mac OS X
vanessaj
Posts: 1
Joined: Tue Jun 30, 2015 1:50 am

### circumflex accent

Hello,

I am a beginner, so please forgive me for giving explanation that may not be clear.
I am working with Mac.

I am using the engine XeLaTex, as required “by” the console.
For all circumflex accent, for example ô
\ˆ{o}
I have the comment :
Undefined control sequence.

\usepackage{xunicode}
or
\usepackage[utf8]{inputenc}

Any idea ?

vanessaj

Tags:

Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
Hi, how would you type in the letter including the diacritic when writing in word, or when writing an email? With XeLaTeX, you type it in just the same way.

\documentclass{article}\usepackage{fontspec}\begin{document}I can type \^o or \^{o} or ô.\end{document}

The other notation should work as well, so there might be something else going on.

Hint: There is a simple algorithm to find the source of a problem, when finished you will have a so called minimal working example that we can use to test possible solutions. More Information: Creating a minimal example
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.