IUCompilerCourse / Essentials-of-Compilation

A book about compiling Racket and Python to x86-64 assembly
1.31k stars 141 forks source link

Naive question about the four corners of the book #89

Closed stefanos82 closed 1 year ago

stefanos82 commented 2 years ago

What are these things in four corners called?

image

jsiek commented 2 years ago

I also do not know the answer to that question. If you find out the answer, please share it with me :)

stefanos82 commented 2 years ago

@jsiek they are called "Crop Marks" and are located in TimesAPriori_MIT.cls.

Replace \documentclass[7x10]{TimesAPriori_MIT}%%7x10 with \documentclass[7x10,nocrop]{TimesAPriori_MIT}%%7x10 and they get removed.

Also, a kind suggestion: the make command gets executed only once; that is wrong in my humble opinion.

LaTeX, as most of us know, needs to re-executed a couple more times to generate the appropriate output, such as table of contents (TOC), bibiography links, and proper indexing.

You can see it yourself that sometimes you get ?? at areas where a citation is expected; to remedy this problematic behavior, you re-execute the command to re-generate the missing citation links; at least, this is the mechanism I use with TeXworks.

By the way, I have also played a bit with fonts.

This is how it currently looks with lmodern

image

which to be honest with you, looks so dry.

If we replace lmodern with charter, we get far better and much more attractive fonts

image

Another observation is...book.tex is HUUUUGE!

You could easily break down each chapter to its own .tex file and include it instead; well, at least that's how I use LaTeX myself.

image

cfbolz commented 2 years ago

here's some more info: https://graphicdesign.stackexchange.com/questions/55325/why-do-some-printed-documents-have-those-target-like-lines-in-their-corners