Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands for important formulas for linear algebra #15

Closed
wunderlich opened this issue Dec 15, 2013 · 0 comments
Closed

Commands for important formulas for linear algebra #15

wunderlich opened this issue Dec 15, 2013 · 0 comments

Comments

@wunderlich
Copy link
Owner

Commands for important formulas for linear algebra should be added. E. g.:

Planes in normal form (not using xparse and l3):

\newcommand{\planen}[3][]{%
  {\ensuremath%
    \ifthenelse{\equal{#1}{\empty}}{}{
      #1:
    }
  }
  \left[ \vec{x} - \vect{#2} \right] \cdot \vect{#3} = 0
}

Planes and lines in parametrical form:

\newcommand{\planep}[4][]{
  {\ensuremath%
    \ifthenelse{\equal{#1}{\empty}}{}{
      #1:
    }
  }
  \vec{x} = \vect{#2} + r \vect{#3} + s \vect{#4}
}

\newcommand{\linep}[3][]{
  {\ensuremath%
    \ifthenelse{\equal{#1}{\empty}}{}{
      #1:
    }
  }
  \vec{x} = \vect{#2} + r \vect{#3}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant