Is there a list of open source LaTeX books? I've only found these books (the link points to a web archive), but I want to know if there is a list with more diversity as this has only mathematical books. I want to find open source books about physics, chemistry, electronics...

My aim is to use these as a source of inspiration. For example if I wanted to do a digital circuit I would like to take a look at a book written with LaTeX about electronics just to see how other people do it. Here for example is a physics book with the source available http://www.lightandmatter.com/lm/ . In this book I've seen that putting images in the chapter entry looks nice.

  • 7
    Arturo, that is not the way to go. Other people make mistakes, some of them a lot. After reading an up to date introduction, you will be able to google your problem, assess the solutions given, and decide to go with the package documentation for all further reference. It might take a bit of time in the beginning, but will save you so much more time in the future trying to debug strange code by a stranger.
    – Johannes_B
    Commented Feb 27, 2015 at 21:52
  • 8
    Why was this closed as off-topic? It's about books written using LaTeX for which the authors have made the source public. I think it's not off-topic. I'm voting to reopen. Commented Feb 27, 2015 at 21:56
  • 3
    By the way, the author of Light and Matter is a member here as well: tex.stackexchange.com/users/6853/ben-crowell
    – Johannes_B
    Commented Feb 27, 2015 at 22:45
  • 6
    @Arturo: Please don't edit answers. You may suggests edits in a comment to an answer, but I don't like my answers to be edited unless there are severe errors or typos. I did not mention Jim Hefferon's as it is his 'job' to provide an answer.
    – user31729
    Commented Feb 28, 2015 at 9:33
  • 2
    I've added big-list and I will suggest again that this could be a very useful list to have on-site. I also suggest again that this question be made community wiki, as is common with our other big-list questions. Commented Mar 2, 2015 at 13:38

9 Answers 9


Books about (La)TeX

Tout ce que vous avez toujours voulu savoir sur LaTeX sans jamais oser le demander

Vincent Lozano's Tout… sur LaTeX is licenced under the licence art libre, typeset using LaTeX. An introduction book in French, clear and whose reading is rather easy.


TeX by Topic

Viktor Eijkhout's TeX by Topic is licensed under the GNU Free Documentation License (FDL). It is typeset using LaTeX, and the source is available at GitHub here.

The TeXbook

The question asks specifically about LaTeX, but the one and only The TeXbook by D.E. Knuth himself is a fine example of a complete book typeset with TeX. Its source is available on CTAN as the package texbook. Please note that this source is available for inspection/learning only and is not to be compiled.

LaTeX for Complete Novices as well as all other titles in The Dickimaw LaTeX Series

This collection of books written by Nicola Talbot is licensed under the GNU FDL just like TeX by Topic. The sources for each book1 along with the typeset books in an array of output formats are available at the respective home pages:

1 A caveat potentially relevant to this question is noted near the download link for each book's source code:

Note that the source code is very complicated as it required creating four different versions of the document: the HTML version, the A4 PDF version, the screen PDF version and the 7x10 inch paperback version. It should not be considered an example file for beginners.

  • 10
    To the downvoter: it'd be nice if you commented with your reasoning so I know how I might improve this post. Commented Feb 28, 2015 at 13:06
  • 3
    "I like my answer more", perhaps :/ Commented Mar 3, 2015 at 0:30
  • Also: stackoverflow.com/questions/614197/… Commented Apr 11, 2015 at 11:12
  • 1
    @MattAllegro updated with the whole Dickimaw LaTeX Series, thanks for the suggestion! Commented Apr 14, 2015 at 2:38


Simple Nature by Ben Crowell

enter image description here

  • HTML
  • PDF
  • LaTeX Source git clone git://lightandmatter.com/physics

Mechanics by Ben Crowell

enter image description here

  • HTML
  • PDF
  • LaTeX source git clone git://lightandmatter.com/physics

Light and Matter by Ben Crowell

enter image description here

  • HTML
  • PDF
  • LaTeX source git clone git://lightandmatter.com/physics

Special Relativity by Ben Crowell

General Relativity by Ben Crowell

enter image description here

  • 4
    Adding parts of a solution from an answer from other users (or editing their answer -- you know exactly, what I mean, and users with more than 10k can see the answer deleted by me!) and then use a self-accept is far more than doubtful.
    – user31729
    Commented Mar 2, 2015 at 13:24
  • 2
    Arturo, this really isn't kosher if it's not a CW post to begin with. Commented Mar 3, 2015 at 0:33
  • 3
    the posted link to "LaTeX sources" of the Cryptotoday book does not contain any .tex files, only PDF, PS, HTML and TXT. So it's not a good example IMHO. Commented Mar 3, 2015 at 6:52

Computer Science

Complexité Algorighmique by Sylvain Perifel

Uses XeLaTeX

The Chicago Journal of Theoretical Computer Science

This journal publishes the sources of all its articles. For instance,

Computational Models with No Linear Speedup

Homotopy Type Theory: Univalent Foundations of Mathematics by The Univalent Foundations Program Institute for Advanced Study


Although Light and matter has been mentioned already, Ben Crowell has also a nice book on General Relativity, available from here (as well as the sources)



  • PDF
  • HTML
  • LaTeX source (github account)

enter image description here




Linear Algebra by Jim Hefferon

Matrix Arithmetic by Harold W. Ellingsen

Algebra - First year (in french) by Exo7

enter image description here


Analysis - First year (in french) by Exo7

enter image description here


Le Frido - Les quelques premières années de mathématiques by Laurent Claessens.

enter image description here


Stitz Zeager Open Source Mathematics:



Martin Thoma uses some very straightforward LaTeX in typesetting Pride and Prejudice and some Sherlock Holmes stories.

I wrote up my lecture notes on beginning abstract algebra: Concrete Algebra.

The arxiv has TeX source for most of its papers and books, including hundreds of books: Modern Antennas and Microwave Circuits


In a rather different subject there is the user manual for the memoir document class.

The source is available at https://ctan.org/tex-archive/macros/latex/contrib/memoir/doc-src/memman.tex

There are other files in that doc-src directory that will be of assistance if you want to process memman.tex.

I'm assuming that you have the memoir class on your computer so texdoc memoir or texdoc memman will show the typeset manual.

You must log in to answer this question.