Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

Scheduled Pinned Locked Moved Uncategorized
35 Posts 23 Posters 112 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • simontatham@hachyderm.ioS simontatham@hachyderm.io

    Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

    If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

    But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

    If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

    Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

    technicaladept@techhub.socialT This user is from outside of this forum
    technicaladept@techhub.socialT This user is from outside of this forum
    technicaladept@techhub.social
    wrote last edited by
    #26

    @simontatham vertical layout divisions? nope, nothing concise.

    1 Reply Last reply
    0
    • simontatham@hachyderm.ioS simontatham@hachyderm.io

      Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

      If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

      But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

      If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

      Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

      kitten_tech@fosstodon.orgK This user is from outside of this forum
      kitten_tech@fosstodon.orgK This user is from outside of this forum
      kitten_tech@fosstodon.org
      wrote last edited by
      #27

      @simontatham "columns of text" and "width"

      1 Reply Last reply
      0
      • simontatham@hachyderm.ioS simontatham@hachyderm.io

        Terminology: what are good unambiguous names for the two senses of the word "column", when printing text in a monospaced font?

        If someone says "2 columns" or "3 columns", they mean it in the sense that a newspaper is laid out in multiple columns – you read to the bottom of the first column before starting from the top of the next.

        But if they say "80 columns" or "132 columns", they mean the number of monospaced character cells that fit across one line of text _within_ one of those columns.

        If you need, for example, a command-line option for each of these, and you don't want to call either option '--columns' because that's ambiguous, what _do_ you call each one?

        Particularly the first one (2 or 3 columns). I haven't come up with any good description for it that doesn't involve a definition by negatives. "Number of columns, no, not in that sense, the other sense."

        ewenmcneill@cloudisland.nzE This user is from outside of this forum
        ewenmcneill@cloudisland.nzE This user is from outside of this forum
        ewenmcneill@cloudisland.nz
        wrote last edited by
        #28

        @simontatham the layout terms “boxes” and “blocks” could possibly be repurposed for the complicated case (layout verticals). Technically not quite the same thing (neither requires full top to bottom).

        To the best of my knowledge publishing (typography) normally uses “columns” for the layout purpose (not the width purpose), and just ignores the width meaning (since it is “whatever fits with given font / weight”).

        TeX used boxes as terminology in that context (\hbox and \vbox).

        simontatham@hachyderm.ioS ewenmcneill@cloudisland.nzE 2 Replies Last reply
        0
        • ewenmcneill@cloudisland.nzE ewenmcneill@cloudisland.nz

          @simontatham the layout terms “boxes” and “blocks” could possibly be repurposed for the complicated case (layout verticals). Technically not quite the same thing (neither requires full top to bottom).

          To the best of my knowledge publishing (typography) normally uses “columns” for the layout purpose (not the width purpose), and just ignores the width meaning (since it is “whatever fits with given font / weight”).

          TeX used boxes as terminology in that context (\hbox and \vbox).

          simontatham@hachyderm.ioS This user is from outside of this forum
          simontatham@hachyderm.ioS This user is from outside of this forum
          simontatham@hachyderm.io
          wrote last edited by
          #29

          @ewenmcneill yes, I agree that Srs Typographers just say "columns" without worrying about the ambiguity. And rightly so, because in their situation, there _isn't_ an ambiguity – they're not using a monospaced font, so the other meaning of "columns" isn't even meaningful! I'm sure that's part of the problem, and the reason why there isn't already a well-established unambiguous pair of terms.

          1 Reply Last reply
          0
          • ewenmcneill@cloudisland.nzE ewenmcneill@cloudisland.nz

            @simontatham the layout terms “boxes” and “blocks” could possibly be repurposed for the complicated case (layout verticals). Technically not quite the same thing (neither requires full top to bottom).

            To the best of my knowledge publishing (typography) normally uses “columns” for the layout purpose (not the width purpose), and just ignores the width meaning (since it is “whatever fits with given font / weight”).

            TeX used boxes as terminology in that context (\hbox and \vbox).

            ewenmcneill@cloudisland.nzE This user is from outside of this forum
            ewenmcneill@cloudisland.nzE This user is from outside of this forum
            ewenmcneill@cloudisland.nz
            wrote last edited by
            #30

            @simontatham in case it helps looks like CSS settled on:

            column-count
            column-width

            For those attributes in its multi column layout. Which is verbose, but at least obvious.

            simontatham@hachyderm.ioS 1 Reply Last reply
            0
            • ewenmcneill@cloudisland.nzE ewenmcneill@cloudisland.nz

              @simontatham in case it helps looks like CSS settled on:

              column-count
              column-width

              For those attributes in its multi column layout. Which is verbose, but at least obvious.

              simontatham@hachyderm.ioS This user is from outside of this forum
              simontatham@hachyderm.ioS This user is from outside of this forum
              simontatham@hachyderm.io
              wrote last edited by
              #31

              @ewenmcneill ah, thank you! At least two other people have suggested those names, but I think you're the first to mention that they're already established in an existing context. That does make a difference.

              ewenmcneill@cloudisland.nzE jleedev@mastodon.sdf.orgJ 2 Replies Last reply
              0
              • simontatham@hachyderm.ioS simontatham@hachyderm.io

                @ewenmcneill ah, thank you! At least two other people have suggested those names, but I think you're the first to mention that they're already established in an existing context. That does make a difference.

                ewenmcneill@cloudisland.nzE This user is from outside of this forum
                ewenmcneill@cloudisland.nzE This user is from outside of this forum
                ewenmcneill@cloudisland.nz
                wrote last edited by
                #32

                @simontatham CSS also cheated and made “columns” a “multi value with magical defaults” property that takes either or both of count and width. (As best I can tell using a scaling value like “rem” to detect it is width.)

                But… that’s probably undesirable in a command line 😃

                Link Preview Image
                columns CSS property - CSS | MDN

                The columns CSS shorthand property sets the maximum number of columns to use when drawing an element's contents, along with the minimum width and maximum height of the element's columns.

                favicon

                MDN Web Docs (developer.mozilla.org)

                1 Reply Last reply
                0
                • simontatham@hachyderm.ioS This user is from outside of this forum
                  simontatham@hachyderm.ioS This user is from outside of this forum
                  simontatham@hachyderm.io
                  wrote last edited by
                  #33

                  @baz --2columns=4 # looks silly but I suppose YKWIM

                  1 Reply Last reply
                  0
                  • simontatham@hachyderm.ioS This user is from outside of this forum
                    simontatham@hachyderm.ioS This user is from outside of this forum
                    simontatham@hachyderm.io
                    wrote last edited by
                    #34

                    @baz but I don't want to make a rule about the maximum number of columns you can possibly have! Someone somewhere will have a very narrow text file and an A0 printer and violate my assumptions.

                    1 Reply Last reply
                    0
                    • simontatham@hachyderm.ioS simontatham@hachyderm.io

                      @ewenmcneill ah, thank you! At least two other people have suggested those names, but I think you're the first to mention that they're already established in an existing context. That does make a difference.

                      jleedev@mastodon.sdf.orgJ This user is from outside of this forum
                      jleedev@mastodon.sdf.orgJ This user is from outside of this forum
                      jleedev@mastodon.sdf.org
                      wrote last edited by
                      #35

                      @simontatham @ewenmcneill Both column(1) and Python’s textwrap agree that `width' is the number of characters.

                      1 Reply Last reply
                      0
                      • R relay@relay.infosec.exchange shared this topic
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups