How can I shift a subequations environment to the left? \hspace*{} didn't work.

\documentclass[journal]{IEEEtran}

\usepackage{mathtools}
\usepackage[overload]{empheq}

\begin{document}

\title{...}
\author{...}

\maketitle

\begin{abstract}...\end{abstract}

%\hspace*{-2cm} 
\begin{subequations}
    %\hspace*{-2cm}
    \begin{align}[left = \empheqlbrace\,]
    %\hspace*{-2cm}
    &a,\\
    &b,
    \end{align}
\end{subequations}
\end{document}
up vote 4 down vote accepted

Use the flalign environment:

\documentclass[journal]{IEEEtran}

\usepackage{mathtools}
\usepackage[overload]{empheq}
\usepackage{lipsum}

\begin{document}

\title{...}
\author{...}

\maketitle

\begin{abstract}...\end{abstract}
\lipsum[11]
\begin{subequations}
    %\hspace*{-2cm}
    \begin{flalign}[left = \empheqlbrace\,]
    a & = c + d, & \\
     b & = e + f,
    \end{flalign}
\end{subequations}
\lipsum

\end{document} 

enter image description here

You can place it inside a \parbox command as wide as you wish (but at least as needed for the equations)

\documentclass{article}

\usepackage{mathtools}
\usepackage[overload]{empheq}

\begin{document}

\title{...}
\author{...}

\maketitle

\begin{abstract}...\end{abstract}

Test text here:

\parbox{0.14\textwidth}{\begin{subequations}
    %\hspace*{-2cm}
    \begin{align}[left = \empheqlbrace\,]
    %\hspace*{-2cm}
    &a,\\
    &b,
    \end{align}
\end{subequations}}
\end{document}

Output:

enter image description here

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.