I'm newbie to TikZ. When I use < and > in matrix, they are interpreted to some other symbols. The following code
\documentclass[tikz,convert=pdf2svg,multi=false]{standalone}
\usepackage[ngerman]{babel}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}
\matrix [matrix of nodes] {
<hello> & world\\
};
\end{tikzpicture}
\end{document}
will produce PDF and SVG:
¡hello¿ world
<hello> was translated to ¡hello¿.
Question
- Why?
- How do I input angle bracket in
matrix
\begin{document} <hello> world\end{document}You could add\usepackage[T1]{fontenc}although less than and greater than signs do not really make good angle brackets, better to use$\langle$and$\rangle$or\guillemotleftand\guillemotright– David Carlisle Aug 23 '15 at 20:59\usepackage[T1]{fontenc}all the time but never really knew its purpose. Thanks. – gongzhitaao Aug 23 '15 at 21:02