Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is there an easy way to render special punctuation marks present in some fonts, such as double question mark, double exclamation mark, or interrobang?

Also, is there a font (preferably open-source) featuring question comma and exclamation comma characters?

share|improve this question
    
For question/exclamation comma characters, you can use \newcommand{\qcomma}{\ooalign{,\cr!}} and \newcommand{\ecomma}{\ooalign{\hss,\kern.03em\hss\cr?}}. –  Werner Jun 27 '12 at 5:21
    
The answer depends on the engine you're using. –  egreg Jun 27 '12 at 8:32

1 Answer 1

I sometimes like to use the Hoefler Text ampersand in the headings of my CV, even though my font of choice for the remainder of the CV is not Hoefler; I do this by adding the following to the preamble:

\usepackage{xltxtra} % Requires use of XeTeX or XeLaTeX
\newcommand{\amper}{{\fontspec[Scale=.95]{Hoefler Text}\selectfont\itshape\&}}

and using \amper whenever I want that special ampersand in a header (but \& when I want the 'normal' ampersand elsewhere).

Note that xltxtra requires that you use XeTeX or XeLaTeX. If--as I understand--you've found a font that represents the interrobang, double exclamation, or double question mark characters in a way you particularly like, but is not the font you're using in the rest of the document, then a solution like this could work for you, I think . . .

share|improve this answer
    
I guess it should be sufficient to load just fontspec and not the whole xltxtra. –  canaaerus Jun 27 '12 at 7:27
4  
It's more efficient to declare \newfontfamily{\hoefler}[Scale=.95]{Hoefler Text} in the preamble and then \newcommand{\amper}{{\hoefler\itshape\&}}, so XeLaTeX doesn't have to do all computations at every call of \amper. –  egreg Jun 27 '12 at 7:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.