Re: Riquadro su ambiente align

#13576
lorenzo.pantieri
Partecipante
    Up
    0
    Down
    ::


    Pacchetto empheq!
    `\documentclass{article}
    \usepackage{amsmath,empheq}
    \begin{document}
    \begin{empheq}[box=\fbox]{align*}
    a&=b\\
    E&=mc^2 + \int_a^a x\, dx
    \end{empheq}
    \end{document} `
    Ciao,
    L.

    P.S. Che cosa sono quei pedici “DES” e “CBC”? http://www.guit.sssup.it/phpBB2/viewtopic.php?t=2379

    P.P.S. Provato con:
    `\documentclass{article}
    \usepackage{amsmath,empheq,xcolor}
    \begin{document}
    \newcommand*\mygraybox[1]{%
    \colorbox{lightgray}{\hspace{1em}#1\hspace{1em}}}
    \begin{empheq}[box=\mygraybox]{align*}
    a&=b\\
    E&=mc^2 + \int_a^a x\, dx
    \end{empheq}
    \end{document} `
    ? Non è forse più sexy di quel triste riquadro? 😉

    Go to top