Math & Sciencelinear equation with curved bracket and numbering

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
dejhost
Posts: 5
Joined: Wed Jan 11, 2023 10:11 pm

linear equation with curved bracket and numbering

Post by dejhost »

Hi.
I am rather new to latex. Would you please help me to align the following linear equation, so identical terms stand straight below each other? Also, I'd like to have a curved bracket (left side) and finally, I'd like to know how to display one, common number for both lines (e.g.: "1"), but I'd also like to learn how to display each line having its own subnumbering (e.g. "1.0" and "1.1"). I tried all kind of classes (equation, systeme etc.) but do not manage to get all the things I am looking for into place.

Code: Select all

Code, edit and compile here:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{subequations}
\renewcommand{\theequation}{\theparentequation.\arabic{equation}}
\begin{alignat}{4}
&-X_{i}^{T} A & + x_{i}X_{i}^{T}C = 0 \\
&-X_{i}^{T} B & + y_{i}X_{i}^{T}C = 0
\end{alignat}
\label{eqn:all-lines}
\end{subequations}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Your help is much appreciated.
Last edited by Stefan Kottwitz on Wed Jan 11, 2023 10:44 pm, edited 1 time in total.
Reason: \usepackage{amsmath} added

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply