diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/delimset/dlmssamp.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/delimset/dlmssamp.tex | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/delimset/dlmssamp.tex b/Master/texmf-dist/doc/latex/delimset/dlmssamp.tex new file mode 100644 index 00000000000..66b6360aabc --- /dev/null +++ b/Master/texmf-dist/doc/latex/delimset/dlmssamp.tex @@ -0,0 +1,118 @@ +%% +%% This is file `dlmssamp.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% delimset.dtx (with options: `sample') +%% +%% Copyright (C) 2016 Niklas Beisert +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +\NeedsTeXFormat{LaTeX2e}[1996/12/01] +\ProvidesFile{dlmssamp.tex}[2016/11/01 v1.0 sample for delimset] +\documentclass[12pt]{article} + +\usepackage[margin=2cm]{geometry} +\usepackage{amsmath,amsfonts} +\usepackage{delimset} + +\begin{document} + +sizes for default brackets: +\[ +\brk0{x},\quad +\brk1{x},\quad +\brk2{x},\quad +\brk3{x},\quad +\brk4{x} +\] + +styles for default brackets: +\[ +\brk[r]{x},\quad +\brk[s]{x},\quad +\brk[c]{x},\quad +\brk[a]{x} +\] + +nested brackets: +\[ +\brk[c]2{\brk[s]!{\brk{ax+b}x+c}x+d} +\] + +default absolute value, norm and default evaluations: +\[ +\abs*{\frac{ax+b}{cx+d}},\qquad +\norm*{\frac{ax+b}{cx+d}},\qquad +\eval*{\frac{ax+b}{cx+d}}_{x=0},\qquad +\eval[s]*{\frac{ax+b}{cx+d}}_{x=0}^{x=\infty},\qquad +\] + +outer delimiter spacing: +\begin{align*} +&\square\brk0{x}\square,&&\square\brk1{A^k}\square, +\\ +&\square\brk*{x}\square,&&\square\brk*{A^k}\square, +\end{align*} + +delimiter sizes in exponents: +\[ +e^{\brk{ax+b}},\qquad +e^{\brk!{ax+b}} +\] + +delimiter declaration: +\DeclareMathDelimiterSet{\braket}[2] + {\selectdelim[l]<#1\selectdelim|#2\selectdelim[r]>} +\[ +\braket!{\psi}{\psi} +\] + +delimiter usage: +\[ +\delimpair<|>!{\psi}{\psi} +\] + +conditional set, alternative layouts: +\[ +\delimpair\{{[m]|}\}!{2n}{n\in\mathbb{Z}}, +\qquad +\delimpair\{{[b]|}\}!{2n}{n\in\mathbb{Z}}, +\qquad +\delimpair\{{[p]|}\}!{2n}{n\in\mathbb{Z}}, +\qquad +\delimpair\{|\}!{2n}{n\in\mathbb{Z}}, +\qquad +\delimpair\{{[.];}\}!{2n}{n\in\mathbb{Z}}, +\] + +delimiter definition: +\newcommand{\comm}{\delimpair[{[.],}]} +\[ +\comm!{\comm{A}{B}}{C} ++\comm!{\comm{B}{C}}{A} ++\comm!{\comm{C}{A}}{B} +=0 +\] + +alternative representation: +\renewcommand{\comm}{\delimpair[{[.];}]} +\[ +\comm!{\comm{A}{B}}{C} ++\comm!{\comm{B}{C}}{A} ++\comm!{\comm{C}{A}}{B} +=0 +\] + +\end{document} +\endinput +%% +%% End of file `dlmssamp.tex'. |