Skip to content

Explore my custom-curated notes collection! This repository is home to my public notes, complete with setup and styling resources, meticulously typeset in LaTeX, dynamically generated via Python scripts, and systematically managed with org denote for seamless organization. 🚧 WIP

Notifications You must be signed in to change notification settings

mholson/mho_bespoke_notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Banner

mho Bespoke Notes

This repository serves as a collection of my public-facing notes which are currently typeset using LaTeX (often pronounced "Lay-tech" or "Lah-tech").
It also contains the custom style files, the python scripts, some of the assets, and parts of my org-mode denote knowledge system that I use to annotate and link my notes.

In addition to my notes, you will also find the templates that I use to create slide decks, generate exams and produce worksheets.

Please be aware that some of these files might not compile successfully right out-of-the-box. This is mainly due to certain assets, like images, that are required but not included in this repository due to size constrains.

I genuinely hope that my work sparks a bit of LaTeX inspiration in your projects. I've been greatly inspired by the generous contributions of the community, and I aim to give back in the same spirit.

As of November 2023, I am contemplating making the switch to Typst, which is a markup-based typesetter built using Rust. While it has a much cleaner syntax, easier to program and is super fast to compile documents, I am waiting for the platform to mature a little more.

Happy TeX-ing!

Scripts

Generating TeX and Org Files

mho Bespoke Script

Cheatsheets

Doom Emacs Cheatsheet

Doom Emacs Cheatsheet

Dependencies

Files

Notebooks

Exams

Generated Images

Images Generated using TiKz

   
058w 05wm
058w.tex 05wm.tex
059t 0136
059t.tex 0136.tex
05c9 01pk
05c9.tex 01pk.tex

Images Generated using TkZ

   
05ee 05ej
05ee.tex 05ej.tex

Images Generated using PythonTex

Generating Factor Trees

mho_pythontex_prime_tree_generator

The files mho_primetree_texfile_generator.py and mho_pythontex_factortree.tex need to be placed in the same directory. For me this is ~/../assets/pytex.

Step 1:

python mho_primetree_textfile_generator.py

This will generate an individual tex file of the form imgs_pytex_primetree-###.tex for each composite integer on a given range included in the script file (default: 4-1001). Each of these files need to be individually compiled and have pythontex run.
In my workflow, this is automatically taken care of by the tex_all.py script that automates the compilation of all my LaTeX files.

The code used to generate the trees using pythontex, forest and python was referenced from Stack Exchange.

If you just want to create a specific factor tree, then you can create a tex file, such as the example given and place the following code in it. Notice that the argument passed into the PrimeTree{990} command is the composite integer that you want to generate a tree that includes it's prime factors.

\documentclass[crop, varwidth]{standalone}
\input{mho_pythontex_factortree}
\begin{document}
\PrimeTree{990}
\end{document}

Dependencies

LaTex
Python
  • math

Files

About

Explore my custom-curated notes collection! This repository is home to my public notes, complete with setup and styling resources, meticulously typeset in LaTeX, dynamically generated via Python scripts, and systematically managed with org denote for seamless organization. 🚧 WIP

Topics

Resources

Stars

Watchers

Forks