Settings

Theme

Clean Thesis – A clean, simple, and elegant LaTeX style for thesis documents

cleanthesis.der-ric.de

176 points by noqqe 11 years ago · 74 comments

Reader

gjm11 11 years ago

If the creator is reading this: Your web pages would be immediately improved 100% by adding a link to a PDF file generated using this style, showing most of what goes into a typical thesis. (You could use your own thesis for which it was developed, or just a pile of lorem ipsum.)

I see that you have links to JPEGs of sample pages, but this would be much better. [EDITED to add: I am not suggesting that you remove the JPEGs. They don't do any harm.]

ajarmst 11 years ago

Many institutions, including mine, require a very specific style. Many even provide templates. Irritatingly, mine only provided a Word template, so I had to spend a day or two creating a LaTeX style. (Procrastination bonus: I was "working on my thesis" without actually working on my thesis). The mere fact that the provided style uses color would disqualify it as a thesis in many institutions. Also, it's somewhat distasteful that the linked site uses significantly more words on how I can donate for this derivative work than it spends on convincing me to use it.

  • asQuirreL 11 years ago

    In fairness, the donation is not monetary. It is probably more aptly described as "Contribution".

ginko 11 years ago

Isn't the LaTeX stylesheet for your thesis usually dictated by your university? It was for me at least..

  • Steuard 11 years ago

    At the University of Chicago, the thesis office didn't give any indication that they'd ever heard of LaTeX. But they did hand us a long list of formatting requirements (precise margins, contents format, lots of other details) and it was clear that any deviation from those would result in your thesis being handed right back to you.

    Fortunately, there was a LaTeX style file that had been handed around the physics department for years that generations of grad students had tuned to meet the requirements. Doing my part, I tweaked it a bit to handle some special cases that came up in my thesis (and, I think, to clean up the code in one or two places) and passed it on to the next generation. (I shudder to think of how many forks there must have been; I saw at least two or three while I was preparing my version. Maybe someone has put a canonical version on GitHub by now: nothing of the sort was really on our radar back then.)

    • kenko 11 years ago

      Similar issue at Stanford, right down to there being a Keeper of the LaTeX Style. I certainly couldn't have used any old off-the-shelf style that I happened to like.

    • Serow225 11 years ago

      Same exact story here, I even whipped up a quick web page[1] to share the modifications I made to the stylesheet with other students. Amazingly it looks like the site is still up after 10+ years so kudos to the webmasters, with the files still downloadable and links still alive; looking back on the page is a hilarious nostalgia trip for me, it was written by hand and has a hit counter (of course): [1] http://homepage.usask.ca/~ebs642/

    • reagency 11 years ago

      University of Chicago can't afford secretaries? What do they put academics through this crap? This is part of why PhD students drop out and become dotcom millionaires instead of academics.

      • Steuard 10 years ago

        Nobody ever explains to grad students that they can ask the secretaries to do this stuff. I didn't figure it out until I got a tenure-track job.

    • carlob 11 years ago

      Put on github instead of passing it down? Might not work for non-comp-sci students that use LaTeX, but are not familiar with git.

      • Steuard 11 years ago

        True. I started using Subversion and then Mercurial for writing scientific papers during grad school (a distributed VCS was handy when editing on multiple machines), but it never seemed worth the effort to teach my collaborators how to use them from scratch.

        • carlob 11 years ago

          There are lot of people who use Dropbox for its version control features, albeit limited they might be. It might not scale well with many users and branching, but it's probably good enough for two researchers editing the same paper on two different machines in the same office.

          There might be a market for a good automated multi user version control (no programming required)…

  • fdej 11 years ago

    In my case, I only had to use a predetermined stylesheet for the title page.

    I've heard of one university (there must be others) where there's a thick compendium that specifies exactly which font to use where on each page, what spacings and margins to use, how to format the table of contents, etc. Not actually a LaTeX stylesheet you can use, but a list of rules that you manually have to make sure your thesis conforms with. Of course, the rules were written with MS Word in mind, but math/CS/science people who need to use LaTeX have to replicate the rules in detail. Of course, there's a person employed by the university to check that your submitted thesis exactly conforms with the rules, or else it will be rejected.

    The person who told me this might have embellished the story, but sadly it sounds all too plausible to me.

    • analog31 11 years ago

      20+ years ago, my university's formatting rules were pre-computer-age, and the asked a guy in the IT department (a friend of mine) to create e a new set of rules. The new rules were entirely based on MS Word.

  • imrehg 11 years ago

    Not necessarily, wasn't for me (Oxford, just for specificity). Some universities do mandate, but they do that in .doc format for example. Tell them you write your thesis in LaTeX and often it can be "oh, okay...."

  • thearn4 11 years ago

    Yep. For me, the PhD LaTeX stylesheet was a file passed down and updated from graduate student to graduate student for who knows how many decades in my dept.

  • wodenokoto 11 years ago

    No, many universities only require a front page, the rest is up to you.

    My university doesn't even provide this front page in LaTex ...

    • tormeh 11 years ago

      Mine autogenerates the front and just inserts it at the start of my pdf file.

  • eli_gottlieb 11 years ago

    It's usually passed down from student to student through departments. Which reminds me: I never put my own patches to the Technion thesis template on a public platform. I need to do that!

  • tonyarkles 11 years ago

    Me too. In the comp sci department, at least, one of the professors made a compliant style a long time ago and it continues to get passed around. I'm defending on Thursday and so far there haven't been any real complaints other than a requirement that my figure captions be at the top of the figure instead of the bottom. Not a biggie.

  • ccannon 11 years ago

    You're right, most universities dictate what style you should use. However, if you wanted to publish your thesis for your own personal use it might be nice to port it to this clean thesis format.

  • dagw 11 years ago

    My university had a set of stylesheets (.doc, LaTeX and I think InDesign) and set of rules you had to follow if you wanted to make your own stylesheet.

  • mrweasel 11 years ago

    I think ours was just a style one from ACM. IT made it easy to publish papers because the format was already correct.

  • baby 11 years ago

    Not at the University of Bordeaux :D

johnchristopher 11 years ago

I thought the default style(s) were the results of years of micro tweaking and deep studies of the impact of character positioning and flows by Knuth and that only the default \LaTeX{} style could give that 2% head start or that A instead of a B++ for any essay.

Now we add blue titles ? And sans serif font ?

Sarcasm apart, it looks good. Some links are 404 on the page though (classic thesis, etc.).

  • hiphopyo 11 years ago

    +1. The blue titles, the unnecessary lines and the fact that he branded it with the whole Clean<bold>Thesis</bold> thing doesn't really sound clean in my book.

    I'm currently looking for a thesis template as well, but the more I come across (1) the more I just want to do something like http://motherfuckingwebsite.com/.

    (1) http://tex.stackexchange.com/questions/326/latex-templates-f...

    • fizixer 11 years ago

      I just finished a rant on a certain tex forum about how LaTeX adds 10x complexity (to TeX + plainTeX) for making end-user's life about 10% easier.

      My two cents:

      - Once you become a moderately advanced LaTeX user, you need more control over your document.

      - This almost exclusively leads to a preamble that is a complete mess of spaghetti code.

      - Putting that mess in a separate file doesn't solve the issue, only hides it.

      - Another view is that if your preamble is a mess, your document is screaming at you to create your own documentclass (or rename the class you're using and modify it).

      - But that requires you become familiar with LaTeX (and TeX) internals.

      - But that is way harder than becoming familiar with TeX + PlainTeX.

      Therefore, as an intermediate to advanced TeX user I'm beginning to believe that TeX + PlainTeX is a much better approach. Although you'd sacrifice advanced functionality of hundreds of LaTeX packages, but people who wrote those packages could've easily written TeX macro-collections. LaTeX is used more only because it has more momentum behind it; otherwise PlainTex is a much cleaner approach.

      If you're willing to get under the hood of the whole system, I highly recommend Knuth's The TeXbook.

      P.S.: Just for comparison, LaTeX *.ltx files are about ~10,000 LOCs compared to ~1200 LOCs of plain.tex (which is fully documented in Appendix B of The TeXbook).

    • paulojreis 11 years ago

      This link got me started in TeX (I was just barely aware of its existence before). http://nitens.org/taraborelli/cvtex

      Not a thesis template at all, but great ideas and it sheds some light on how to get decent typography.

      On a side note, I think it would be great to have a good WYSIWYG TeX editor for office/basic user level of proficiency. Typesetting does matter, it profoundly impacts reading, which is particularly relevant when you're giving 300+ pages of your hard work for someone else to read. It would be very good for everyone to get decent default typesetting. Unfortunately, our alternatives are:

      * Word/typical word processors, which are are horrible at typesetting;

      * TeX, which is good, but it's hard for most people and has an aura of complexity (it's code, after all...);

      * Publishing software, such as Adobe InDesign, which are indeed great at typesetting, but only if you know what you are doing. This is professional software, which is clearly not aimed at common users.

  • bhaak 11 years ago

    You seem to confuse TeX and LaTeX. Knuth himself doesn't do LaTeX so the default styles aren't from him.

    It's been a while since I read the documentation to KOMAscript and Memoir but I think both contain some criticism on Lamport's default styles.

    There is nothing wrong per se with a sans serif font for titles as long as it fits to the serif font for the main text. I'm not quite convinced though that this is the case here.

    BTW, the README states that this layout has been "inspired by user guide documents from Apple Inc." So don't bash on the ground it might look like a Word document. ;-)

    • johnchristopher 11 years ago

      > You seem to confuse TeX and LaTeX. Knuth himself doesn't do LaTeX so the default styles aren't from him.

      Oops, mea culpa. You're right, I mixed both thinking Latex and Tex were quite equivalent in term of style rendering. I never bothered looking into Tex, I just wrote some Latex classes (and documents, of course).

      > BTW, the README states that this layout has been "inspired by user guide documents from Apple Inc." So don't bash on the ground it might look like a Word document. ;-)

      Oh but Word wasn't on my mind at all when I commented. I even followed the link on keynote to see what was the reference (since I never looked at keynote or iLifexxx documentation).

      • TylerE 11 years ago

        Basically....

        TeX is low level formatting...like pre-CSS HTML... with the equivalent of <font> tags every where.

        LaTeX is like CSS...being a set of markup-driven global rules.

  • Maakuth 11 years ago

    Indeed, blue titles evoke MS Word. As pointed out, a PDF rendered with this style would be great help in understanding it. Perhaps it's a good choice for on-screen reading, but shouldn't you go with serif typefaces when laying out for print?

  • MengerSponge 11 years ago

    I doubt there were deep studies, because there so much of a document's design is a matter of taste. For example, Don Knuth really liked a certain generation of math journals, so he built TeX and CM to emulate that. Just because it's the default doesn't mean it's an optimal design.

    I'm partial to serif fonts, and Scala in particular, but Apple's design documents are beautiful too, and I can't begrudge someone wanting to emulate their design.

  • baby 11 years ago

    Yeah I don't understand this sans serif font either.

coliveira 11 years ago

In many universities the problem is that you need to produce a thesis according to the university specifications. A generic thesis document may help with this, but will unfortunately never solve the complete problem. Fortunately, however, most universities also have a local LaTeX guru, or you can just copy the style used by previous students.

  • snowballsteve 11 years ago

    Where I did mine, they required submissions in strict word formatting.

    • reagency 11 years ago

      What's going to happen whem Word is dead is 20 years and they have all these useless files?

      • tonyarkles 11 years ago

        There's a very good chance that they'll end up being transformed into PDFs before being released, and will also end up in print.

currysausage 11 years ago

http://cleanthesis.der-ric.de/img/ct_toc.jpg

Using 2 different sans-serif fonts in the same document (here: Helvetica and the TeX humanist) is usually frowned upon by typographers. One reason is that differences in size, style, color, etc. should always be noticable. Two sans-serif fonts will always look superficially similar; the eye has to get used to different letter forms when it expects the font to stay the same.

Beyond that, I think the template is really beautiful. Thanks for sharing!

stared 11 years ago

For mine I used KOMA-Script Package (scrbook) http://www.dickimaw-books.com/latex/thesis/thesis-screen.pdf (and for official documentation: http://www.ctex.org/documents/packages/nonstd/koma-script.pd...).

ccannon 11 years ago

Stop wasting time coming up with elegant thesis formats and finish your thesis!

droffel 11 years ago

"This text should contain all letters of the alphabet..."

Except for Z and Q. Those don't count.

zlalanne 11 years ago

Anyone have a good template / project for homework assignments that typically have code snippets, graphs, images and formulas?

  • analog31 11 years ago

    If I were teaching right now, I would gladly accept iPython. It is what I now use for reports containing similar content, doing R&D in industry.

bh13731 11 years ago

Another excellent template... https://github.com/kks32/phd-thesis-template

cies 11 years ago

A quick look on Github told me you are not using the memoir package for this. Could the author please elaborate why it is not using memoir?

richerlariviere 11 years ago

LaTeX rule them all when it's time to write a thesis. This template is nice. The code is simple so a beginner can start to play with at any moment. Keep working hard I love what you did.

boothead 11 years ago

Anyone got a similar resource for self publishing ebooks? I had some stuff hacked together with org-mode and some other bits a while ago, but would like to know of anything better.

Ftuuky 11 years ago

My university dictates the style of a thesis so no chance there but it looks good.

kanusterkund 11 years ago

That's thesis style infinity out of infinity +1. Nothing special, weird fonts, lots of wasted space.

kanusterkund 11 years ago

That's just thesis style infinity + 1, nothing special, a lot of wasted space due to huge numbers.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection