One possibility: I used \DeclarePairedDelimiterX
from the mathtools
package to define a \MeijerM
command with three arguments which is responsible to typeset the delimited matrix; then I defined \MeijerG
having eight arguments (the first one is optional and will be passed as the optional argument to \MeijerM
); using the \WithSuffix
command from the suffix
package to provide the starred version \MeijerG*
:
\documentclass[11pt]{article}
\usepackage{suffix}
\usepackage{mathtools}
\DeclarePairedDelimiterX\MeijerM[3]{\lparen}{\rparen}%
{\begin{smallmatrix}#1 \\ #2\end{smallmatrix}\delimsize\vert\,#3}
\newcommand\MeijerG[8][]{%
G^{\,#2,#3}_{#4,#5}\MeijerM[#1]{#6}{#7}{#8}}
\WithSuffix\newcommand\MeijerG*[7]{%
G^{\,#1,#2}_{#3,#4}\MeijerM*{#5}{#6}{#7}}
\begin{document}
\[
\MeijerG*{m}{n}{p}{q}{a_1, \dots, a_p}{b_1, \dots, b_q}{z}\quad
\MeijerG[\big]{m}{n}{p}{q}{a_1, \dots, a_p}{b_1, \dots, b_q}{z}\quad
\MeijerG[\Bigg]{m}{n}{p}{q}{a_1, \dots, a_p}{b_1, \dots, b_q}{z}
\]
\end{document}
![enter image description here](https://i.stack.imgur.com/EfSau.png)
The size of delimiters in the second and third examples is obviously wrong, but I just included them to test the functionality of the defined commands. Also, I used simple sub/superscripts to typeset the first four arguments, but of course you can use one of your proposed variants instead.
Just another suggestion with PSTricks.
![enter image description here](https://i.stack.imgur.com/I3vCS.png)
\documentclass[preview,border=12pt,leqno,varwidth]{standalone}
\usepackage{pst-node}
\usepackage{amsmath}
\begin{document}
\begin{align}
\rnode[l]{A}{y} &= ax^2 +bx +c\\
\rnode[l]{B}{y} &= mx +c
\pcbar[angle=180,nodesep=3pt,linearc=3pt,linecolor=blue]{->}(A)(B)
\end{align}
\end{document}
Best Answer
This should be the right approach:
If you prefer a different alignment move the
&
:If you also prefer longer arrows, use
\longrightarrow
and\longmapsto
: