I have taught eight different courses so far and spent lot of time on preparing teaching material for these courses :(. You can already find some of this material on my “Teaching” page. However, those files are PDF files and you won’t be able to edit them according to your requirements. So, I am sharing the source files too in this post. You will find all the files (e.g., Lyx files, SVG files, etc.) here:
Now, you can edit these files to your taste. Happy LaTeXing!