ForNeVeR / xaml-math

A collection of .NET libraries for rendering mathematical formulae using the LaTeX typesetting style, for the WPF and Avalonia XAML-based frameworks
MIT License
637 stars 100 forks source link

Equation with cases #407

Closed seghier closed 1 year ago

seghier commented 1 year ago

Hello How to create this equation?

\documentclass{article}
\usepackage{amssymb}
\usepackage[overload]{empheq}
\newcommand{\for}{\text{for }}

\begin{document}

\begin{equation*}[right=\empheqrbrace{=xy.}]
    X(m,n)=
    \begin{cases}
      x(n),& \for 0\leqslant n \leqslant 1 \\
      x(n-1),& \for 0\leqslant n \leqslant 1 \\
      x(n-1),& \for 0\leqslant n \leqslant 1
    \end{cases}
\end{equation*}

\end{document} 

0BzZH