3

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}
4

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

3

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 agree to our terms of service, privacy policy and cookie policy

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