From a33d5086a09c90b37f18f35bb747551bba732a62 Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Fri, 28 Jul 2023 22:01:27 -0400 Subject: [PATCH] =?UTF-8?q?Added=20=C2=ABNotes=20to=20self=C2=BB=20in=20pr?= =?UTF-8?q?eamble?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Notes on Python.tex | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Notes on Python.tex b/Notes on Python.tex index 1ee15a6..cdbd09a 100644 --- a/Notes on Python.tex +++ b/Notes on Python.tex @@ -19,7 +19,7 @@ \pagestyle{fancy} \fancyhf{} % Clear existing header/footer entries \fancyhead[LE, RO]{\thepage} % Page number is always on the outside - \fancyhead[CE, CO]{Notes on Python} + \fancyhead[CE, CO]{Notes on Python} % Title is always in the middle \fancyhfoffset[LE,RO]{0in} % Adjust header and footer width to match text width % \cfoot{Page \thepage} % \renewcommand{\footrulewidth}{0.5pt} @@ -89,6 +89,11 @@ \author{Kenneth John Odle\\ \texttt{ken at kjodle dot net}} \date{2023\\ \medskip v. 0.0.1} +% Notes to self %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Make sure that \section{} is OUTside the multicols environment +% Make sure that \subsection{} is INside the multilcols environment +% If needed, add \newpage before a \section if the placement of the heading is weird + \begin{document} \maketitle @@ -102,6 +107,11 @@ \section{Preliminaries} \begin{multicols}{2} + +\subsection{What is Python?} + +\subsection{Why use Python?} + \lipsum[1] \lipsum[1] @@ -145,6 +155,8 @@ It is a long established fact that a reader will be distracted by the readable c \lipsum[1] +\subsection{This is a subsection} + \lipsum[1] \begin{wrapfigure}[]{r}[8pt]{0pt}