Hallo!
Ich möchte bei folgender Matrix, dass die letzte Spalte aufrecht und in Normalschrift oder Schreibmaschinenschrift (\ttfamily
) gesetzt wird.
Eine Methode Styles für einzelne Spalten zu definieren habe ich schon rausgesaucht. Falls es einafcher gehen sollte, ist es mir auch recht.
Das MWE unten funktioniert nicht!
\documentclass[varwidth, margin=5mm]{standalone}%\documentclass[a4paper]{article}\usepackage[ngerman]{babel}\usepackage{amsmath, relsize, tikz}\usetikzlibrary{matrix,fit}\usetikzlibrary{decorations.pathreplacing}\begin{document}\begin{tikzpicture}[ anno/.style={column #1/.style={nodes={text=red, font=\tiny\ttfamily}}}, anno/.list={4} ] \matrix (m) [matrix of math nodes, inner sep=0pt, column sep=0.25em, %row sep=0.1em, nodes={inner sep=0.25em,text width=1em,align=center} ] { a_{1}& b_{1}& c_{1}& =III\\ a_{2}& b_{2}& c_{2}& 2II-I\\ a_{3}& b_{3}& c_{3}& = I\\}; %Klammern%\node[red] at (m-1-2.north east){+};\draw[decorate,decoration=brace](m-3-1.south west) -- (m-1-1.north west) ; \draw[decorate,decoration=brace](m-1-3.north east) -- (m-3-3.south east); % Trennstrich\draw[] (m-1-3.north west) -- (m-3-3.south west); \end{tikzpicture}\end{document}