Questions tagged [typography]

Challenges related to the arrangement, layout, or formatting of monospace plain text.

Filter by
Sorted by
Tagged with
39 votes
54 answers


Related but very different. A boustrophedon is a text where every other line of writing is flipped or reversed, with reversed letters. In this challenge, we will just reverse every other line, but ...
Adám's user avatar
  • 30.2k
9 votes
4 answers

Align the text to a block

Task Your task is to write whole program, which will align given input to a block of given size. Input: ...
Zereges's user avatar
  • 1,183
50 votes
8 answers

Avoiding Rivers

Background In typography, rivers are visual gaps in a block of text, which occur due to coincidental alignment of spaces. These are particularly annoying since your brain seems to pick them up more ...
Martin Ender's user avatar
33 votes
9 answers

Between the Lines

While doodling around on square-ruled paper the other day, I came up with the above negative-space font for digits. In case you haven't spotted it yet, the spaces between the above shapes yield the ...
Martin Ender's user avatar
11 votes
2 answers

Justify a text by adding spaces

Given this text Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ...
Toto's user avatar
  • 967
18 votes
6 answers

Reverse Boustrophedon Text

Boustrophedon is a type of bi-directional text where successive lines alternate between reading left-to-right and right-to-left. Character direction was also mirrored with respect to reading direction....
Dendrobium's user avatar
  • 2,502
15 votes
11 answers

Easier communication means… ○ circular edition!

Based on this, but I was asked[​1​],[​2​] to do a graphical edition. Task Generate a circular display of the text ...
Adám's user avatar
  • 30.2k
5 votes
2 answers

Alignment of a string

This is similar to the alignment used in word. Task 3 inputs: A 1 line string, a positive integer k, and direction (left or middle or right) Your job is to insert ...
Vedant Kandoi's user avatar