5

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

2 Answers 2

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}

5
  • 1
    Interesting. Didn't know the backtick had that effect.
    – EricR
    Dec 17, 2010 at 4:37
  • 2
    I'm stumped; I've got no idea what's happening. Can you please explain? Dec 17, 2010 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, 2010 at 14:45
  • Thanks, now I understand: It's not TeX but depends on the font. Dec 17, 2010 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. Mar 7, 2012 at 12:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .