\newcommand{\poisson}{\left\{A,B\right\}} in preamble, and then should be used in math mode. If you want to make A,B variables, you can. So would use \newcommand{\poisson}[2]{\left\{#1,#2\right\}} as \poisson{X}{Y}.
– SigurMay 20 '17 at 01:51
Sometimes defining a simple command can do the job, sometimes using one of the thousands of packages adding extra functionality to basic LaTeX can do the job. Depends.
– Johannes_BMay 20 '17 at 05:19
\newcommand{\poisson}{\left\{A,B\right\}}in preamble, and then should be used in math mode. If you want to makeA,Bvariables, you can. So would use\newcommand{\poisson}[2]{\left\{#1,#2\right\}}as\poisson{X}{Y}. – Sigur May 20 '17 at 01:51physicsalready has\pb{A}{B}. – Johannes_B May 20 '17 at 05:18