Starting from these MWE into two links
- How to place and number 3 short equations in one line? (Stefan Kottwitz's answer) with this MWE:
\documentclass[11pt,a4paper]{scrbook}
\usepackage{amsmath}
\usepackage{tabularx}
\begin{document}
\chapter{Equations}
See equations \eqref{eqn:1}, \eqref{eqn:2} and \eqref{eqn:3}.
\noindent\begin{tabularx}{\textwidth}{@{}XXX@{}}
\begin{equation}
x_{1} = \frac{A-A_{0}}{\frac{1}{2}
\cdot \left( A_{\mathrm{A}} - A_{\mathrm{a}} \right)}
\label{eqn:1}
\end{equation} &
\begin{equation}
x_{2} = \frac{B-B_{0}}{\frac{1}{2}
\cdot \left( B_{\mathrm{A}} - B_{\mathrm{a}} \right)}
\label{eqn:2}
\end{equation} &
\begin{equation}
x_{3} = \frac{C-C_{0}}{\frac{1}{2}
\cdot \left( C_{\mathrm{A}} - C_{\mathrm{a}} \right)}
\label{eqn:3}
\end{equation}
\end{tabularx}
\end{document}
- My previous question An elegant aspect for enumerate the equations of a book (Werner's answer) that that I have modified a bit,
\documentclass{book}
\usepackage[top=2.5cm,bottom=2.2cm,
left=3.2cm,right=1.5cm,headsep=10pt,
a4paper]{geometry} %%%%%%%%%%% <--------- added
\usepackage{mathtools,amssymb}
\usepackage[svgnames, dvipsnames, table, x11names]{xcolor}
\usepackage{pifont}
\usepackage{tabularx} %%%%%%%%%%% <--------- added
\definecolor{ocre}{RGB}{243,102,25}
\usepackage{lipsum} %%%%%%%%%%% <--------- added
%----------------------------------------------------------------------------------
% Change number equations with sections
%----------------------------------------------------------------------------------
\usepackage{chngcntr}
\counterwithin{equation}{section}
\renewcommand{\theequation}{\thesection-\arabic{equation}}
\newcommand{\eqnnumsymbol}{\textcolor{ocre}{\reflectbox{\ding{228}}}}
\makeatletter
\newtagform{bbrackets}% <name>
[\textbf]% Internal style
{(}% Left bracket
{\ifnum\pdfstrcmp{\@currenvir}{equation}=0
\eqnnumsymbol%
\else
\ifnum\pdfstrcmp{\@currenvir}{align}=0
\eqnnumsymbol%
\fi
\fi
)}% Right bracket
\makeatother
\usetagform{bbrackets}
\begin{document}
\lipsum[3][1-7]
\begin{tabularx}{\textwidth}{@{}XXX@{}}
\begin{equation}
f(x + y) = f(x) + f(y),
\label{eqn:1}
\end{equation} &
\begin{equation}
f(ax) = af(x),\,
x,y\in V, a\in\mathbb{C}
\label{eqn:2}
\end{equation}
\end{tabularx}
\lipsum[2][1-4]
\end{document}
we observe that the enumeration in the same line goes out the margins. See (out with red arrows in the image). However, I would like something of this type that I have modified with paint for clarity of my question:
This possible output, however, must be achieved realized when two or more equations (with two-by-two equations on different rows).
Please, what are the possible solutions?
\noindent
before\begin{tabularx}
. (As it is already present in the first example cde in your question.)