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.

  • pmk@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    6 months ago

    The reason is that you’re reading TeX, not LaTeX. The latter has abstracted away the fundamental building blocks so few people know how an hbox is set anymore. So, an hbox is a box where the content is in horizontal mode. Between the things is glue. Glue can stretch and shrink. Depending on how you have set your tolerance and penalties, there’s a maximum percentage of stretch allowed. If the glue stretches more, it becomes bad, this is called badness and can effectively be up to 10000 bad. So why not just put more things into the box? Well, (La)TeX probably tried to do that, but came up with worse badness. TeX always chooses the least bad option on a paragraph level. In practice, the usual suspect is often that you have something else that can’t fit the last part of a line, like a really long word. If you can look at it and manually hyphenate it, things might be better.

  • bleistift2@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    6 months ago

    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.

  • Treczoks@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    If you work with LaTeX for five years and still have no idea what a hbox is or what that message means, you should not consider naming this “experience”.

      • Treczoks@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        5 months ago

        I already explained this in my post of yesterday in this thread. I’ve been the TeX admin at our university in my student times. I’ve been creating styles and \shipout macros. I know this stuff inside out. Heck, I’ve even read good parts of the source to understand some finer points.

        • agelord@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          2 months ago

          “Using LaTeX” and “programing with LaTeX” are very different things. For most people, LaTeX is a means to an end, for you LaTeX is your whole job. You’re the exception, and exception can not be an example.