Giter Club home page Giter Club logo

mho_bespoke_notes's Introduction

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

mho_bespoke_notes's People

Contributors

mholson avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

deiviscode

mho_bespoke_notes's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.