Latex: Missing { inserted
Verfasst: Di 15. Mai 2012, 18:21
Hallo,
kann mir mal jemand erklären, warum angeblich ein { und ein } in folgendem Bsp. fehlen?
Fehlermeldung mit TeXmaker:
Dabei wird die Datei auch kompiliert und macht genau das, was ich auch möchte...
Danke,
Bruce
kann mir mal jemand erklären, warum angeblich ein { und ein } in folgendem Bsp. fehlen?
\documentclass{article} \usepackage{amsmath} \newcommand{\sevcases}[1]{ \ensuremath{ \left[ \begin{tabular}{c} \text{#1} \end{tabular} \right] } } \begin{document} I slowly turned \sevcases{my head\\my camera}. \end{document}
! Missing } inserted. <inserted text> } l.18 I slowly turned \sevcases{my head\\my camera} I've put in what seems to be necessary to fix the current column of the current alignment. Try to go on, since this might almost work. ! Missing { inserted. <inserted text> { l.18 I slowly turned \sevcases{my head\\my camera} I've put in what seems to be necessary to fix the current column of the current alignment. Try to go on, since this might almost work.
Danke,
Bruce