[Tex/LaTex] Angle brackets in non-math-mode text

bracketsfontspeclinguisticsmath-modeunicode

Is there a way to directly input angle brackets into text without resorting to math-mode symbols?

I'd like to correctly indicate orthography in a linguistics paper, and have been resorting to single guillemots ‹ › as they are simple to type and display correctly. But I'd prefer to use angle brackets like ⟨ ⟩ . If I input these directly (U+27E8 and U+27E9), they don't display correctly—I prefer the Linux Libertine font family—but $\langle$ $\rangle$ display just fine. As the rest of my document(s) use UTF-8 and fontspec, I'd prefer not to clutter up the body text with math commands.

Is there a way around this?

Best Answer

fontspec doesn't have an interface for substituting some characters with characters from a different font, but thankfully egreg provided a package to do just that:

\documentclass{article}
\usepackage{fontspec}
\usepackage{newunicodechar}
\setmainfont{Linux Libertine O}

\newfontfamily\anglefont{Free Serif}    % Change to whatever font you prefer that has ⟨⟩.
\newunicodechar{⟨}{{\anglefont ⟨}}
\newunicodechar{⟩}{{\anglefont ⟩}}

\begin{document}
This is Linux Libertine with ⟨ and ⟩ from {\anglefont Free Serif}.
\end{document}

result