this post was submitted on 26 Jun 2024
491 points (98.4% liked)

Funny: Home of the Haha

5768 readers
1502 users here now

Welcome to /c/funny, a place for all your humorous and amusing content.

Looking for mods! Send an application to Stamets!

Our Rules:

  1. Keep it civil. We're all people here. Be respectful to one another.

  2. No sexism, racism, homophobia, transphobia or any other flavor of bigotry. I should not need to explain this one.

  3. Try not to repost anything posted within the past month. Beyond that, go for it. Not everyone is on every site all the time.


Other Communities:

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] zewu 1 points 5 months ago* (last edited 5 months ago) (1 children)

Note that this was an exaggeration of my experience with LaTeX, it's not like I use these commands everywhere. I think its better to let LaTeX do its job. Nevertheless, looseness=-1 can help to cram a few words in a new line into the previous paragraph, which subjectively looks better sometimes and frees up some space. Negative vspace around figures or tables can also be used to make more space for text and avoid unwanted page breaks. Manual linebreaks can come in handy if you switch TeX engines (e.g. pdfTeX -> LuaTeX) and somehow things don't look like they are supposed to look. You can do it right or you can add manual linebreaks here and there to get the same results.

[โ€“] [email protected] 1 points 5 months ago

Ah, I see. Makes sense. I have seen some horrible LaTeX code at uni where someone didn't follow your simple rule:

let LaTeX do it's job.

The decision LaTeX makes are often very good, and the problem is often that what one thinks is better comes with even bigger downsides.

Now, once we get into tables... Ugh