Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    G

    Gilles Castel

    castel.dev · Personal blog · on HN since 2019

    Gilles Castel, a mathematics PhD student, writes about taking lecture notes in LaTeX with Vim and Inkscape.

    Visit blogHN submissions
    ProductivityMathOpen Source & Linux
    What HN says

    HN calls his LaTeX and Vim note-taking setup famous, and one commenter praises his notes as a pleasure to browse, made with a spartan design taste.

    Stats for nerds
    35HN people shared it
    14linked in comments
    2.3Kstory points
    Jul 2024last shared
    2019people per year2024

    Top posts on HN

    1. 1
      How I'm able to take notes in mathematics lectures using LaTeX and Vim
      20 people · 1.2K points · first shared 2019 · 221 comments on HN
    2. 2
      I draw figures for my mathematical lecture notes using Inkscape
      14 people · 867 points · first shared 2019 · 97 comments on HN
    3. 3
      My Mathematics PhD research workflow: LaTeX notes and instant pdf referencing
      2 people · 236 points · first shared 2022 · 63 comments on HN
    4. 4
      Managing my LaTeX lecture notes
      3 people · 2 points · first shared 2019 · Discussion on HN
    5. 5
      Notes
      3 people · first shared 2021
    6. 6
      Homepage
      1 person · first shared 2022
    7. 7
      Ca3.png
      1 person · first shared 2021

    What HN people wrote when they linked it

    • disabledAug 2021

      > I found Orgmode was amazing for writing LaTeX documents - but I wasn't working with other people.

      This is probably the best way to type notes (and diagrams!) in class. It also works awesome for pretty much everything else in life too, when it comes to taking notes, especially for STEM work. I hope this helps! :-)

      * How I'm able to take notes in mathematics lectures using LaTeX and Vim: https://castel.dev/post/lecture-notes-1/

      * GitHub repo for above: https://github.com/gillescastel/latex-snippets

      * How I draw figures for my mathematical lecture notes using Inkscape: https://castel.dev/post/lecture-notes-2/

      * GitHub repo for above: https://github.com/gillescastel/inkscape-figures

      * How I manage my LaTeX lecture notes: https://castel.dev/post/lecture-notes-3/

      * GitHub repo for above: https://github.com/gillescastel/university-setup

    • blagieFeb 2024

      I took notes in LaTeX in my college. I didn't need macros or the fancy editor setup. It's not hard. It turned passive learning into active. I didn't have a few of the formatting nuances as pretty as he did (e.g. boxes around theorems), but that's not hard.

      The key difference between him and me are the figures. It's worth looking at his notes here:

      https://castel.dev/notes

      The figures are beautiful.

      How?!?!?!?

      (Footnote due to recent bad experiences to pre-empt stupid answers: "Inkscape" is not an answer. I use Inkscape, and I know how long these things would take me. It's definitely not something I could do anywhere close to real-time. I want to know what conceivable workflow in Inkscape would allow those sorts of figures in even a significant fraction of lecture speed, let alone real-time)

    • venice_beniceFeb 2024

      I am unable to reply to any comments, so I’ll add my reply to blagie as a top-level comment instead: Gilles himself documents his process of using Inkscape here: https://castel.dev/post/lecture-notes-2/

      As a summary, he uses a custom keyboard shortcut manager¹ which allows him to compos multiple keystrokes (and also saves commonly used styles):

      > For example, when I press `s` and `f` simultaneously, my shortcut manager will apply a solid stroke and a grey fill to the current selection. When I want the stroke to be thick, I press `s+f+g` together, where `g` stands for thick (as the `t` key is hard to reach).

      [1]: he makes it available on GitHub: https://github.com/gillescastel/inkscape-shortcut-manager

    • ggerulesApr 2020

      A couple of things that might be of interest:

      1) pandoc is awesome.
      2) There are integrated development environments that allow you to write in markdown and output to pdf, html, and word with the flick of a switch. Rstudio with knitr, bookdown, and markdown has some nice functionality. Plus you can do graphs and drawings and embed them in the the rmd (r markdown) text.
      3) There is an earlier post in HN from Gilles Castel on how to speedily write text through the ultisnips package. Very much a game changer on how I use vim to work with anything text related.

      https://castel.dev/post/lecture-notes-1/

      Nice post!

    • ykonstantMay 2021

      Both texmacs and lyx are excellent products, especially in the seamless integration of images and diagrams. More traditionally, Vim and Emacs can be used with snippets and vimtex/auctex quite efficiently, both for interactive note-taking and to prepare large documents. Gilles Castel has an excellent guide on the Vim side [0], and I cannot help mentioning my system [1] which I think produces pretty clear latex code.

      [0] https://castel.dev/post/lecture-notes-1/

      [1] https://www.reddit.com/r/unixporn/comments/jtjol5/cinnamon_latex_workflow_in_vim/

    • whatupmikedFeb 2024

      According to the comments in the most recent post on this blog the author has passed away: https://castel.dev/post/research-workflow/

      I stumbled on this blog recently when researching the same topic (nvim +latex). I found this more recent blog (https://www.ejmastnak.com/tutorials/vim-latex/intro/), by another author, inspired by this original author useful as well.

      I found this blog post to be very helpful and the author was obviously a very good writer and I am sure he will be missed. Condolences to his friends and family.

    Related

    Gödel's Lost Letterrjlipton.wordpress.com185 people

    Mihai Pătraşcu 1982–2012

    Gödel's Lost Letter
    Personal · last shared 2021
    Craig Modc82.net83 people

    Living with Nausea: My Story in Six Charts

    Craig Mod
    Personal · last shared 2026
    Steven Wittensacko.net287 people

    TermKit - a graphical terminal replacement

    Steven Wittens
    Personal · last shared 2026
    Peter Seibelgigamonkeys.com328 people

    Practical Common Lisp (2005)

    Peter Seibel
    Personal · last shared 2026
    LessWronglesswrong.com2.4k people

    The Best Textbooks on Every Subject

    LessWrong
    Publication · last shared 2026
    Computational Complexityblog.computationalcomplexity.org98 people

    When did computer science theory get so hard?

    Computational Complexity
    Personal · last shared 2026
    MathWorks Blogsblogs.mathworks.com52 people

    Artificial Neural Networks for Beginners

    MathWorks Blogs
    Company · last shared 2026
    Wolfram Blogblog.wolfram.com225 people

    The solution of the Zodiac killer’s 340-character cipher

    Wolfram Blog
    Company · last shared 2026