Emtpy column separator @{} is ignored: arrays always have an extra space
Created by: SuzanneSoy
In the format specification for an array, the @{} separators is ignored, and the column sep is always inserted.
So far, I have not found any way to get two things on top of each other without extra space on the sides, short of patching with \! negative spaces: array and matrix add a bit of space on the left and a lot on the right, aligned and split add a lot of space on the left and a bit on the right, \choose adds some parentheses, \arraycolsep=0pt causes an error, the @{} column separator is ignored, \substack and subarray have extra spacing and change the font size, \frac draws a horizontal line and changes the font size… is there a way to produce a vertical superposition of two elements without adding any horizontal spacing, aside from using \! or a negative \hspace to shift things back into place?
HTML: https://jsfiddle.net/wdbngtxb/
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: { inlineMath: [['$','$'],], },
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=default"></script>
<body>
$x\begin{array}{@{}l@{}}a\end{array}y$
</body>
LaTeX document:
\documentclass{article}
\begin{document}
$x\begin{array}{@{}l@{}}a\end{array}y$
\end{document}

