0

How to arrange the equation sideway in the margin?

\documentclass{scrartcl}
\usepackage[showframe,
            textwidth=8cm,
            textheight=5cm]{geometry}
\usepackage{mathtools}
\usepackage{marginnote}

\begin{document}
\noindent X\dotfill X
%
\begin{align*}
  \sin^2 \theta &= 1-\cos^2 \theta\marginnote{$\cos^2\theta+\sin^2\theta=1$ } \\
  c &= d 
\end{align*} 
\end{document}

1 Answer 1

1

You can use \rotatebox (see the grfguide for more information) to rotate the equation, e.g.,

\documentclass{scrartcl}
\usepackage[showframe,
            textwidth=8cm,
            textheight=5cm]{geometry}
\usepackage{mathtools}
\usepackage{marginnote}

\begin{document}
\noindent X\dotfill X
%
\begin{align*}
  \sin^2 \theta &= 1-\cos^2 \theta\marginnote{\rotatebox{90}{$\cos^2\theta+\sin^2\theta=1$ }} \\
  c &= d 
\end{align*}

\end{document}

page with rotated equation in margin

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .