10

Is it possible to produce isolated accents, with no letters under it?

I'm looking for these characters in specific: ` ~ ^ ´ ˆ ˜ ¨

2
8

You can generate the accent like you would normally, only use a space as the letter to apply it to. As an example, consider the following:

\documentclass{article}
\begin{document}
  $\tilde{ }$ $\hat{ }$ \'{ }
\end{document}

Which looks like this:

Accents

0
11

There's no need to go in math mode:

\`{} \'{} \^{} \~{} \v{} \u{} \.{}

are various examples: just tell TeX to put the accent over nothing.

0

In case of XeLaTeX and some individual accent characters in Greek (e.g. Psili - Unicode U+1FBF) it is posisble to ensure the character is not combined with the preceding letter using the following trick:

ἐπ\/᾿\ \ ὀλίγον

Which renders correctly as "ἐπ᾿ ὀλίγον" instead of π combined with Psili.

1
  • Note that Unicode has the non-combining psili ᾿ (U+1FBF) and also might support adding the combining accent to a non-breaking space (^^^^00a0 or ~)
    – Davislor
    Dec 9 '20 at 22:42
0

In Unicode, the canonical way to do this is to combine the accent with a non-breaking space (U+00A0). In TeX, a non-breaking space is ~,

There are also Unicode codepoints for many non-combining accents.

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.