The possibility of using LaTeX to take notes for Physics class

When LaTeX is your hammer...

I don’t often take notes, and this is a poor habit of mine. Sure, I end up getting A’s in those classes anyways, but there’s always the possibility of me not getting an A in a particularly difficult class because I didn’t take notes.

This quarter, I’m taking a physics class, and I had an idea: since there’s gonna be equations and crap, what if I were to take notes in LaTeX\LaTeX?

Setting up the environment

Like previous LaTeX\LaTeX projects I’ve done, I set up Visual Studio Code with the excellent LaTeX\LaTeX Workshop plugin and got to work.

I decided on the following hierarchal structure:

  • The whole \documentclass{book} - The whole class
  • \part - Different units in the class
  • \chapter - Every day, or quiz/test notes
  • \section, \subsection… as needed

Here is the folder structure:


and here is the actually very simple main file:



\title{PHYS 132 Notes}
\author{Astrid Yu}








Each week goes in a single .tex file in its own folder, like so:

\chapter{Simple Harmonic Motion}





\subsubsection{Basics of Oscillations}

    \item Oscillation = motion that repeats itself, back and forth around equilibrium position. Most important is Simple Harmonic Motion (SHM), sinusoidal
    \item Spring goes from expansion to contraction to expansion, etc. Restoring force occurs when stretched or compressed, goes against spring's displacement
    \item If graph repeats, it's oscillatory motion. If position = sinusoidal, then it's SHM.


\subsection{Lab Partners}




Wait, doesn’t physics have lots of diagrams?

Yes it does, I realized in the middle of class, much to my chagrin. Drawing out diagrams in LaTeX\LaTeX sounded like hell, so I just opened up Inkscape and started doodling a diagram to embed in the LaTeX\LaTeX.

But then, also to my chagrin, it seems that you can’t just \includegraphics{shitty-drawing.svg} either! What do?

The solution is to use the svg package and add the -shell-escape flag to latexmk. Now, including Inkscape is as easy as building the following folder structure:


and inside week1.tex, declare a


and voila!

A crudely-drawn free-body diagram of a spring inside of a LaTeX book.

You might notice that the image text exactly matches with the LaTeX\LaTeX font! This is because the svg package actually treats that text as LaTeX\LaTeX code. Here’s how it looks in Inkscape:

The same diagram, but inside Inkscape. There are dollar signs around the words to tell LaTeX to compile them into equations.

A very very small thing with it is that it generates even more intermediate files, so you just have to add to your .gitignore:



With this, we now have ourselves a fully set-up workflow for taking lecture notes in LaTeX\LaTeX and Inkscape!

How the result looks

I have to admit, since LaTeX\LaTeX is somewhat verbose, this is a bit of a slow method of note-taking. You won’t be able to get as much down as, say, Markdown. But at the same time, not many markdown editors have LaTeX\LaTeX equation support.

In addition, knowing me, who knows if I’ll have the motivation to keep this up for another week? Either way, I still think that this method has some potential. Plus, you do end up with very beautiful notes at the end.