Text Formatting ⇒ Latex: Definitions on the left of the page?
-
- Posts: 1
- Joined: Tue Dec 24, 2013 4:13 am
Latex: Definitions on the left of the page?
topics we studied.
A simple example can be found in the attachment.
I used to have a custom environment which allowed things like Definitions
to be placed on the left of the page. Unfortunately, I forgot how to do this.
Any ideas?
Regards,
AlexanderNY
- Attachments
-
- 01page.pdf
- (56.24 KiB) Downloaded 405 times
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
Latex: Definitions on the left of the page?
Welcome to the LaTeX community!
So it's been a while? LaTeX2.09 has been superseded by LaTeX2e about twenty years ago...AlexanderNY wrote:Back in my grad-school days, I used LaTeX 2.09 to create summaries of the
topics we studied.
Since I've never used 2.09 I'll show an example of how to do this with 2e:AlexanderNY wrote:A simple example can be found in the attachment.
I used to have a custom environment which allowed things like Definitions
to be placed on the left of the page. Unfortunately, I forgot how to do this.
Any ideas?
Regards,
AlexanderNY
Code: Select all
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\renewcommand*\Re{\operatorname{Re}}
\renewcommand*\Im{\operatorname{Im}}
\newcommand*\mytitle[1]
{\par\noindent\llap{\bfseries #1:\hspace*{\marginparsep}}\ignorespaces}
\usepackage{showframe}% show page dimensions
\begin{document}
\section{A Section Title}
\mytitle{Properties}
For all complex numbers the following properties hold:
\begin{enumerate}
\item $(z^*)^* = z$
\item $(zw)^* = z^*w^*$
\item $(z +w)^* = z^* + w^*$
\item $(z/w)^* = (z)^* /(w)^*$
\item $z + z^* = 2 \Re(z)$
\item $ z - z^* = 2i \Im(z)$
\item $\arg(z^*) = - \arg(z)$
\item $\arg(zw) = \arg(z) + \arg(w)$
\item $\arg(z/w) = \arg(z) - \arg(w)$
\end{enumerate}
\mytitle{Euler}
$e^{inx} = \cos nx + i \sin nx$
\end{document}