this post was submitted on 11 Jul 2024
695 points (98.7% liked)

linuxmemes

20454 readers
178 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

Context: LaTeX is a typesetting system. When compiling a document, a lot of really in-depth debugging information is printed, which can be borderline incomprehensible to anyone but LaTeX experts. It can also be a visual hindrance when looking for important information like errors.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 106 points 1 month ago* (last edited 1 month ago) (29 children)

LaTeX is soo great! You don’t have to worry about formatting ever again.

Puts image I’m talking about 8 pages away from the section that talks about the image

Writes not only over the margin, but over the goddamn page boundary because adding a page was not fashionable that day

Moves a table left by 1 cm on every other compilation, moves it back in the other compilations (happened to a colleague)

So instead of worrying about formatting you worry about learning the incantations that force LaTeX at gunpoint not to fuck up the formatting.

[–] [email protected] 18 points 1 month ago (1 children)

If you're trying to do something on LaTeX and you find yourself wrestling with the software or writing TeX commands. Take a step back and reconsider. The reason the software is fighting you is because you are trying to make it do something it is not meant for or you're actively asking it to do the opposite of what you stated earlier you wanted to achieve. Thus creating a contradiction of intent.

Obvious examples are using the article template to write a book, or using the book template to write a letter. It is akin to using Excel as a game engine, possible, but not easily. You're trying to use a hammer to unscrew a bolt. Of course the tool is gonna fight you.

[–] [email protected] 5 points 1 month ago (1 children)

Take a step back and reconsider. The reason the software is fighting you is because you are trying to make it do something it is not meant for or you’re actively asking it to do the opposite of what you stated earlier you wanted to achieve.

Wise words, and true most of the time.

But goddammit is it so hard not to write over the page border? This isn’t something I should have to specifically define as bad.

[–] [email protected] 5 points 1 month ago

You don't generally have to. There's a package or environment somewhere that lifted that restriction or force it by trying to do something else. LaTeX is 100% deterministic. Someone, you perhaps unknowingly, told it to put that text there while trying to achieve something else.

Remember that LaTeX is about setting rules then letting it arrange the text in a way that follows those rules. If you try to meddle into the typography by hand, forcing specifics that break the rules, you will break its behavior. If it is putting text over the margin, it is because it determined that is the only way to fulfill the totality of your instructions.

load more comments (27 replies)