1

Sorry for my bad English.

How can I removing space between bracket and array environment and obtained results as used cases environment.

Thank you very much!

I use code

\[\left\{\begin{array}{l} x + y = 1\\ x - y = 2 \end{array}\right.\]
\[\begin{cases} x+y=1 \\ x-y=2\end{cases}.\]

Pic 1 Pic 2

2
  • 2
    Following the \left\{, add \mkern-8mu or (approximate) \!\!\!. It is one reason why amsmath is preferred to array. Commented Jan 11, 2019 at 14:52
  • 1
    or \begin{array}{@{}l}? Commented Jan 11, 2019 at 14:54

2 Answers 2

1

Two options:

One with dedicated aligned environment. And, other by playing with the dedicated \mkern<space>. An example is as follows:

\documentclass[10pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\begin{document}
\[
    \left\{
    \begin{aligned}
     x + y = 1\\ x - y = 2
    \end{aligned}\right.
\]
    \[\left\{\mkern-10mu\begin{array}{l} x + y = 1\\ x - y = 2 \end{array}\right.\]
\end{document}

which would give you:

enter image description here

1
  • 1
    @Circumscribe you are very fast in commenting, than my typing speed :D Commented Jan 11, 2019 at 15:28
2

Here are two ways:

\documentclass[10pt,a4paper]{article}
\usepackage{mathtools, empheq}
\newtagform{eqt}{(eqt\,}{)}

\begin{document}

\[ \left\{\begin{array}{@{}l} x + y = 1 \\ x - y = 2 \end{array}\right.\]

\begin{empheq}[left=\empheqlbrace]{align*}
   x + y & = 1\\ x - y & = 2
\end{empheq}
\[\begin{cases} x+y=1 \\ x-y=2\end{cases}.\]

\end{document} 

enter image description here

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.