Um exemplo simples:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
$
a_{ij} =
\begin{cases}
1, & \mbox{se } v_i \mbox{e } v_j \mbox{são adjacentes;} \\
0, & \mbox{caso contrário.}
\end{cases}
$
\end{document}
Retirado aqui: https://kogler.wordpress.com/2008/03/21/latex-multiline-equations-systems-and-matrices/
--
You received this message because you are subscribed to the Google Groups "Latex-br" group.
To unsubscribe from this group and stop receiving emails from it, send an email to latex-br+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/latex-br/CAOhhJ0t2vPXHbdRMK4SO8qzQWSVc95iRQ%3DMz7T%2By2gU1toN_SQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/latex-br/002401d151d8%24b43a23f0%241cae6bd0%24%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Qual sistema vc está usando?
Mande um exemplo mínimo para que possamos tentar reproduzir o erro.
To view this discussion on the web visit https://groups.google.com/d/msgid/latex-br/CAOhhJ0tqAeO2dPSbUB_tgDkq5aRj51pdj%3DZSmg87oEhVpzdyZA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/latex-br/000b01d151e7%24e60f4270%24b22dc750%24%40gmail.com.
Vc só não incluiu o pacote necessário para utilizar o código.
\usepackage{amsmath}
Inclua essa linha no preambulo que vai funcionar.
Marco Paulo
To view this discussion on the web visit https://groups.google.com/d/msgid/latex-br/CAOhhJ0s4mrGRNWf5M%2By-M_o%2B%3Dw6Ee-5_z7936PziKbDcgP7awg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/latex-br/001501d151e9%2491bdf430%24b539dc90%24%40gmail.com.