LaTeX forum ⇒ Text FormattingLatex: Definitions on the left of the page?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
AlexanderNY
Posts: 1
Joined: Tue Dec 24, 2013 4:13 am

Latex: Definitions on the left of the page?

Postby AlexanderNY » Tue Dec 24, 2013 4:22 am

Back in my grad-school days, I used LaTeX 2.09 to create summaries of the
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 245 times

Tags:

User avatar
cgnieder
Site Moderator
Posts: 1974
Joined: Sat Apr 16, 2011 7:27 pm
Location: Germany
Contact:

Postby cgnieder » Thu Dec 26, 2013 3:26 pm

Hi Alexander,

Welcome to the LaTeX community!

AlexanderNY wrote:Back in my grad-school days, I used LaTeX 2.09 to create summaries of the
topics we studied.

So it's been a while? LaTeX2.09 has been superseded by LaTeX2e about twenty years ago...

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


Since I've never used 2.09 I'll show an example of how to do this with 2e:

  1. \documentclass{article}
  2. \usepackage[utf8]{inputenc}
  3.  
  4. \usepackage{amsmath}
  5. \renewcommand*\Re{\operatorname{Re}}
  6. \renewcommand*\Im{\operatorname{Im}}
  7.  
  8. \newcommand*\mytitle[1]
  9. {\par\noindent\llap{\bfseries #1:\hspace*{\marginparsep}}\ignorespaces}
  10.  
  11. \usepackage{showframe}% show page dimensions
  12. \begin{document}
  13.  
  14. \section{A Section Title}
  15.  
  16. \mytitle{Properties}
  17. For all complex numbers the following properties hold:
  18. \begin{enumerate}
  19. \item $(z^*)^* = z$
  20. \item $(zw)^* = z^*w^*$
  21. \item $(z +w)^* = z^* + w^*$
  22. \item $(z/w)^* = (z)^* /(w)^*$
  23. \item $z + z^* = 2 \Re(z)$
  24. \item $ z - z^* = 2i \Im(z)$
  25. \item $\arg(z^*) = - \arg(z)$
  26. \item $\arg(zw) = \arg(z) + \arg(w)$
  27. \item $\arg(z/w) = \arg(z) - \arg(w)$
  28. \end{enumerate}
  29.  
  30. \mytitle{Euler}
  31. $e^{inx} = \cos nx + i \sin nx$
  32.  
  33. \end{document}


Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 6 guests