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

linuxmemes

20688 readers
1115 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
[–] dustyData@lemmy.world 18 points 2 months 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.

[–] bleistift2@sopuli.xyz 5 points 2 months 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.

[–] dustyData@lemmy.world 5 points 2 months 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.