5

Does LaTeX have an escape sequence for the open source sarcmark?

7

\textexclamdown is an inverted exclamation point:

example

(found via Detexify)

10

Writing !` (exclamation point followed by a backtick) is very easy:

\documentclass{article}
\begin{document}
Example: !`
\end{document}

  • 1
    Interesting. Didn't know the backtick had that effect. – EricR Dec 17 '10 at 4:37
  • 2
    I'm stumped; I've got no idea what's happening. Can you please explain? – Hendrik Vogt Dec 17 '10 at 10:47
  • 2
    @Hendrik: It's treated by TeX as a ligature. LaTeX defines \textexclamdown as alias (in OT1) in ot1enc.def: \DeclareTextCommand{\textexclamdown}{OT1}{!'}. – Stefan Kottwitz Dec 17 '10 at 14:45
  • Thanks, now I understand: It's not TeX but depends on the font. – Hendrik Vogt Dec 17 '10 at 19:46
  • of course it depends on the font! the glyph has to be there, after all. but latex will support \textexclamdown for any font it directly supports (e.g., t1-encoded ones, in which the glyph exists. – wasteofspace Mar 7 '12 at 12:52

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.