# Closing an indefinite number of brackets

I found myself in the precarious situation of having to open many brackets on one side of the equation which are then closed one by one, as in the following example:

  \left( \cdots \left( \left( A_1 \right) * A_2 \right) \cdots \right) * A_n.


The product here is not associative and requires bracketing.

The ellipsis on the left hand side looks ugly to me, too spacious. Is there a more suitable command to do what I'm trying to do here? Would you approach this problem in a different way?

• First of all, you don't need \left and \right. Commented Aug 29, 2018 at 17:06
• What does the title have to do with the question here? Also, if you're concerned about using \cdots, you should probably also consider using something other than * (perhaps \times).
– Werner
Commented Aug 29, 2018 at 17:08
• I would show at least up to A_3, as in ( \cdots ( ( ( A_1 ) * A_2 ) * A_3 ) \cdots ) * A_n.. Commented Aug 29, 2018 at 17:08
• Does it seem better with {\cdots} (with the braces)? Commented Aug 29, 2018 at 17:15
• @Emre: Indeed. You can use \!\!{\cdot}{\cdot}{\cdot}\!\!.
– Werner
Commented Aug 30, 2018 at 20:21

You can manipulate the spacing around symbols just the way you please. Using some negative spaces and braces around \cdots, you can create \tightcdots:

\documentclass{article}

\newcommand{\tightcdots}{\!\!{\cdot}{\cdot}{\cdot}\!\!}

\begin{document}

$\left( \cdots \left( \cdots \left( \frac{A}{2} \right) \times A_2 \right) \cdots \right) \times A_n.$

$\left( \tightcdots \left( \tightcdots \left( \frac{A}{2} \right) \times A_2 \right) \tightcdots \right) \times A_n.$

\end{document}