Re: Come evitare \left e \right nella definizione del modulo

#14678
lorenzo.pantieri
Partecipante
    Up
    0
    Down
    ::


    Beh, che dire Enrico… grazie mille! 😀

    Ho ricalcato il tuo codice per definire anche la norma:
    `\makeatletter
    \newcommand\abs{\@ifstar{\@abs\@firstofone}{\@abs\mathord}}
    \newcommand{\@abs}[2]{#1{\left|#2\right|}}
    \newcommand\norma{\@ifstar{\@norma\@firstofone}{\@norma\mathord}}
    \newcommand{\@norma}[2]{#1{\left\|#2\right\|}}
    \makeatother
    `
    Se c’è qualcosa che non va, fammi sapere!

    Ciao e ancora grazie,
    Lorenzo

    Go to top