1

Here's my code

\begin{equation*}
\Pi_1(X)=\Bigg\langle a_i, b_i, g_j, h\Bigg|
\begin{split}
&\prod_{i=1}^g[a_i,b_i]\prod_{j=1}^kq_j=1, g_0^bh=1,\\
&g_i^{\alpha_i}h^{\beta_i}=1, [h,q_j]=[h,a_i]=[h,b_i]=1 \\
\end{split}\Bigg\rangle.
\end{equation*}

And here's what I get enter image description here How can I eliminate all that spacing?

1
  • You can't use split there; use aligned instead.
    – campa
    Commented Nov 24, 2020 at 18:07

2 Answers 2

1

Are you looking for this?

enter image description here

\documentclass[12pt,a4paper]{article}
\usepackage{mathtools}
\begin{document}
    \begin{equation*}
        \Pi_1(X)=\Bigg\langle a_i, b_i, g_j, h\Bigg|%
        \begin{multlined}
            \prod_{i=1}^g[a_i,b_i]\prod_{j=1}^kq_j=1, g_0^bh=1,\\
            g_i^{\alpha_i}h^{\beta_i}=1, [h,q_j]=[h,a_i]=[h,b_i]=1 \\
        \end{multlined}\Bigg\rangle.
    \end{equation*}
\end{document}
1

Use aligned instead of split:

enter image description here

\documentclass{article}

\usepackage{amsmath}

\begin{document}

\[
  \Pi_1(X) = \Bigg\langle a_i, b_i, g_j, h \Bigg|
  \begin{split}
    & \prod_{i = 1}^g[a_i,b_i] \prod_{j = 1}^k q_j = 1, g_0^b h = 1,  \\
    & g_i^{\alpha_i} h^{\beta_i} = 1, [h,q_j] = [h,a_i] = [h,b_i] = 1
  \end{split}
  \Bigg\rangle.
\]

\[
  \Pi_1(X) = \Biggl\langle a_i, b_i, g_j, h \Biggm|
  \begin{aligned}
    & \prod_{i = 1}^g[a_i,b_i] \prod_{j = 1}^k q_j = 1, g_0^b h = 1,  \\
    & g_i^{\alpha_i} h^{\beta_i} = 1, [h,q_j] = [h,a_i] = [h,b_i] = 1
  \end{aligned}
  \Biggr\rangle.
\]

\end{document}

You must log in to answer this question.

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