1

How can I globally reduce the space in front of the opening bracket, i.e. between M and [? I have to set the brackets with \left[ and \right]. I know that I individually can insert a negative space by \! but this is not what I want.

enter image description here

\documentclass{article}
\begin{document}
$A_M\left[3\right], M\left[3\right]$
\end{document}
5
  • 1
    In this case you could think of removing \left and \right.
    – mickep
    Commented Sep 19, 2022 at 17:08
  • I need \left and \right as my formulas are more complicated than the minimal example. Commented Sep 19, 2022 at 17:25
  • 2
    If you need to use LaTeX the mleftright package could be helpful for this situation.
    – mickep
    Commented Sep 19, 2022 at 17:48
  • but you should only use left when you need it otherwise, as you see, it adds unwanted space Commented Sep 19, 2022 at 17:48
  • 1
    @mickep The Package mleftright is helpful Commented Sep 19, 2022 at 17:57

1 Answer 1

2

Thanks to the hint of @mickep a solution would be to use the package mleftright. See the shorter space in the second row.

enter image description here.

\documentclass{article}
\usepackage{mleftright}
\begin{document}
$\\A_M\left[3\right], M\left[3\right]\\
A_M\mleft[3\mright], M\mleft[3\mright]$
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .