trying to achieve a structured, boxed equation, which is aligned at the "=". I googled for quite a time, maybe I used the wrong keywords bur I only found equations that are centred, or only one lined, but never aligned to "=". May best solution until now is this:
\documentclass[12pt]{book}
\setlength\parindent{0pt}
\usepackage{amsmath,mathtools}
\usepackage{empheq}
\setlength\fboxsep{0.5cm}
\begin{document}
\begin{center}
\begin{empheq}[box=\fbox]{align*}
log_{b} a \overset{!}{=} \frac{lg(a)}{lg(b)} \\
\\
10^x=2 \\
x=lg(2) \\
10^{lg(2)}=2 \\
\\
a^n=c \\
10^{lg(a)}^{n}=10^{lg(c)} \\
10^{lg(a) /cdot n}=10^{lg(c)} \\
lg(a)/cdot n=lg(c) \\
\end{empheq}
\end{center}
\end{document}
Sadly it doesn't display the \cdot AND it gives me a double superscript error because of the "^" AND I don't know how to define that it should align all lines to the "=", like in Microsoft Word f.e.
:/
Please, if someone would be so kind to deliver a short solution for this? :) Thx
/cdot
instead of\cdot
.