Math & Science ⇒ Suspend align enviroment
Suspend align enviroment
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Suspend align enviroment
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Suspend align enviroment
Code: Select all
\documentclass[a4paper,12pt]{article}
\usepackage[top=1in, bottom=0.3in, left=25mm, right=25mm]{geometry}
\usepackage{mathtools}
\begin{document}
\begin{align*}
2x &= 4x^{2} + 7x \hspace{29mm} \makebox[10mm][c]{and \hspace{11mm} $g(x) = 42$} \\
2x &= 4x^{2} + 7x \hspace{36mm} g'(x) = 12 \\
2x &= tan(x)x^{2} + 7x \hspace{26mm} g''(x) = 7x +1 \\
\end{align*}
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Suspend align enviroment
Code: Select all
\documentclass[12pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{geometry}
\usepackage{mathtools}
\begin{document}
\begin{alignat*}{2}
2x &= 4x^{2}+7x &\makebox[10em]{and} g(x) &= 42 \\
2x &= 4x^{2}+7x & g'(x) &= 12 \\
2x &= \tan(x)x^{2}+7x & g''(x) &= 7x +1
\end{alignat*}
\end{document}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Suspend align enviroment
Thank you.