The Biggest Myth in Chinese Typesetting: Hanging Punctuation
Gutenberg’s 42-line Bible, which shows extensive treatment resembling “hanging punctuation”.
Project Peacock: Approaches to Chinese Typography series argues for discussing Chinese typesetting on its own terms, from the starting point and logic of Chinese itself. Fine Chinese typesetting is not a matter of small tricks such as hanging punctuation, but a system with its own design logic. In this piece, the author uses comparison to dig into the essence of Chinese typography.
In the introduction to the previous article, “Revisiting the Differences Between Chinese and Western Typography”, I dropped in the remark that “Chinese typesetting is more than small tricks like hanging punctuation” without elaborating. As that introduction said, Chinese typesetting needs a system with a design logic, and hanging punctuation is only one element of it—at most a sufficient but not necessary condition of good Chinese typesetting.
In recent years, with the growth of e-reading, Chinese typesetting has again attracted wide attention, including from engineers and enthusiasts outside the design profession. Some newly launched e-readers, in promoting their typesetting features, have also fed one of the great myths of Chinese typesetting: hanging punctuation. Some crude e-book engines that implement only this one feature have even been hailed as offering “the best-typeset e-books”. A designer I know once said that hanging punctuation is “a magic trick for pleasing laypeople”, because it is conspicuous and easy to understand.
This one-sided taste has even spread among professional graphic and book designers. Today, saying “we’ve done hanging punctuation” seems to have become shorthand for refined typesetting, as if every typesetting problem disappears once the punctuation hangs.
This text does use hanging punctuation—but does it really look better? (The text was adjusted to emphasise the effect.)
In this article I try to analyse the origins and current state of hanging punctuation in modern typesetting: what exactly this feature is, and whether it can be the cure-all for typesetting’s troubles.
Contents
To hang or not to hang, that is the question
An imported practice
First, it is almost certain that so-called hanging punctuation is an import. As the header image shows, traces of something like hanging punctuation are clearly visible in Gutenberg’s 42-line Bible, at the very birth of modern metal type printing. One of Gutenberg’s guiding principles was to reproduce the look of manuscripts as faithfully as possible, so from the outset metal type used many techniques that look extremely complex even by modern standards, including dozens of ligatures and various treatments of punctuation.
Optical margin alignment in Western typesetting. Note how it differs from ordinary “hanging punctuation”.
Look carefully at the finely adjusted Western text above and it is easy to see that some of the adjustments fall outside what we usually call hanging punctuation. Specifically:
- Where it adjusts: not only line ends on the right, but also line starts on the left. If an opening curly quote (“) begins a line, for example, it is shifted left and hung outside;
- What it adjusts: not only punctuation such as hyphens (-) and en dashes (–), but also letters with concave shapes, such as W and T;
- How much it adjusts: not necessarily a full character width, but fine-tuned to each character’s shape. An en dash, for instance, is often hung by only a half or a third of its width.
So Western adjustment is really “optical margin alignment”, of which hanging punctuation is only a part. In this sense, Adobe InDesign’s name for the feature, Optical Margin Alignment, is entirely apt.
A prerequisite for optical margin alignment in Western text is that the text block itself is aligned. A great deal of Western text is set flush left, ragged right; there only “hanging at line start” is relevant—the right edge is ragged anyway, so there is nothing to align optically. When a block is flush right, ragged left, only hanging at line end applies. Only when text is justified do both line starts and line ends need to be considered.
Optical margin alignment is possible in Western text because of the nature of the script. Compared with square Chinese characters, Latin characters—letters and punctuation alike—vary in shape and are proportionally spaced, producing more fragmentary white space and gaps. “Fragmentary” because, compared with the large square of a Chinese character, these gaps may be smaller than a letter and may not even span the full height of the type: the space below a curly quote, for example, or beneath the arms of a capital W or T.
Clearly these adjustments are laborious, so in practice designers only make them when the gaps are large enough to be visually distracting, as in large headlines or short pull quotes. In long running text the gaps are less noticeable and the work tedious, so designers often choose not to adjust.“Too much is as bad as too little” is worth remembering in text typesetting.As Joep Pohlen points out in his book Letter Fountain:
Even margins are not important in terms of legibility, so optical margin alignment is not usually applied to long passages of text. As with spacing and manual adjustment of font metrics, it is better to do nothing than to do too much.1
Akira Takaoka of Kazui Press, Japan’s leading authority on Western typesetting, writes in his book Western Typesetting:
In posters and packaging, which have only a few lines of text anyway, concave shapes stand out and must be adjusted. In book printing, adjusting hundreds of pages one by one was too much work, so careful adjustment was rare in the past. Now, whether to hang punctuation can simply be selected in software.
Today a single click turns on an option, and the typesetting software’s algorithm applies optical margin alignment to long running text for us. But no design decision is absolutely good or bad. Consider an example from a well-known foreign publisher.
An example of optical margin alignment applied to running text. Antonio Foscari, Andrea Palladio – Unbuilt Venice, Lars Müller Publishers, 2010
Although this example uses optical margin alignment, its basic hyphenation and justification (H&J) settings are “fragmentary”: words can be broken after just two letters, so the book has many hyphens at line ends. Optical margin alignment is meant to make the right margin look more even, yet the many hanging hyphens, together with several unhung closing parentheses at line ends, make the right margin below the highlighted area look even less even. This again shows that typesetting needs a systematic design logic; one option cannot solve every problem.
Western ideas for Chinese use?
Many people still regard hanging punctuation as essential to refined typesetting, a sign of typographic craftsmanship. In fact the practice did not exist in traditional Chinese typesetting.
Before modern metal type arrived, China’s long printing history was dominated by woodblock printing. Unlike Western typography’s concern with alignment that “looks” right, traditional Chinese woodblock books had a physical frame around the text block, and text normally could not break out of it. So for a very long time, the text blocks of Chinese publications were absolutely even. We must admit that even today, in the age of desktop publishing, the sense of an even frame remains very strong in Chinese typesetting: everything, punctuation included, is kept within the text block where possible. In terms of active demand, breaking the text block with hanging punctuation is uncommon in formal publications in China.
The grid frame diagram from the Qianlong-era Wuying Palace movable type manual.
With square characters alone, text set in sequence is naturally even; what really disturbs the balance is punctuation. In the woodblock era, Chinese punctuation was immature, with at most old-style interlinear judou marks and no in-line punctuation. When modern in-line punctuation was introduced, the rules of line-start and line-end prohibition (kinsoku) came with it.As currently practised, Chinese hanging punctuation is just one method within the handling of line-start and line-end prohibited punctuation.Line-break prohibition is a complex topic that I will cover in a separate article.
Even in the rare cases of hanging punctuation in Chinese, it differs greatly from Western optical margin alignment. First, position: traditional Chinese paragraphs favour justification, and while Western optical alignment adjusts both line starts and ends, Chinese practice almost always hangs punctuation at line ends and very rarely at line starts. And for various reasons, the only marks currently handled are the comma (,) and full stop (。) among the line-start-prohibited marks.
The adjustable amounts also differ greatly. As I noted in “Revisiting the Differences Between Chinese and Western Typography”, the greatest difference is that Chinese is not written with spaces between words, so there are no gaps like Western word spaces. The element that supplies space in modern Chinese typesetting, and is key to modern Chinese readability, is punctuation. In modern Chinese, the space a punctuation mark provides is essentially half an em (half a character width) or more, far exceeding the full width of some Latin letters. Latin letters vary in width, so the adjustable space in set text is finer and more fragmentary, even requiring attention to letters’ internal shapes; Chinese characters are all full-width, and in principle the space inside the character frame is inviolable. So Chinese simply lacks the fragmentary gaps that make Western optical margin alignment possible, and its adjustments are relatively coarse. Conversely, Chinese is far more tolerant of gaps than Western text: it already has many bulky punctuation marks, and a gap that must be fixed in Latin may be perfectly acceptable in Chinese.
For Chinese typesetting, the correct logic is to first consider the compression of the spaces around punctuation within the line, rather than simply hanging marks at the line end. Punctuation compression is arguably the core issue of contemporary Chinese typesetting, and I will discuss it separately.
For comparison, here is a table of Western optical margin alignment and Chinese hanging punctuation as discussed in this section:
| Aspect | Western | Chinese |
| Main purpose | Optical alignment | Line-start/line-end prohibition |
| Position | Line start or line end | Line end only (plus line start at paragraph opening) |
| Typical targets | Most punctuation . – – ‘ ’ “ ” and some capitals | Usually only . , 。 、 |
| Amount | Varies | Usually based on a half-width |
| Used in | Mostly short headings | Often in both headings and text |
What happens if we bluntly apply Western optical margin alignment to Chinese? Using Adobe InDesign’s algorithm, forcing optical margin alignment on a Chinese text produces the result below. The software ignores the character frame and, as with Latin, examines the concave and convex shape of each character’s actual face, then applies the Western algorithm to align both margins optically. Look especially at characters such as 卜 and 中 at the start of the first few lines: to readers used to ordinary book typesetting, the effect is decidedly odd.
Western optical margin alignment bluntly applied to Chinese text. Not only is punctuation hung at both line starts and ends, but the shapes of the characters themselves are adjusted too.
Lessons from Japan
When discussing Chinese typesetting we often borrow from neighbouring Japan. And any discussion of Japanese typesetting must mention the rigorous Japanese Industrial Standard JIS X 4051:2004, Formatting Rules for Japanese Documents. Surprisingly, though, the main text of this standard contains no rules on hanging punctuation.
It turns out this question was hotly debated in the JIS committee. Section 4 of the commentary appended to the standard, “Special issues in the deliberations for this third revision”, records the discussion. My translation:
During deliberations, whether to add rules for hanging punctuation was an issue among the experts, and the public consultation draft did receive comments asking that the status of hanging punctuation be clarified. However, for the following reasons we decided not to include it in this revised and expanded edition:
- The commentary to the second edition already stated: “Although the discussion draft said ‘hanging is not required’, hanging is a form of line adjustment and may be regarded as permissible; it is best removed from the main text of the standard.” Processing environments may offer hanging as an option; as a method of line adjustment it is within the permissible range.
- In principle, Western typesetting does not use hanging punctuation, so it may look inconsistent in mixed Japanese–Western text.
- Hanging may have been a method adopted in metal type typesetting to reduce adjustment work.
The JIS experts thus took the view that hanging, while tolerable, was probably a labour-saving shortcut not worth promoting. That will surely surprise those who claim hanging punctuation is the mark of refined typesetting. It also supports my earlier point: Japanese, like Chinese, follows the principles of square characters set solid, and traditionally has no hanging punctuation. Line-break prohibition should be handled first through in-line punctuation adjustments, not by simply hanging marks.
The JIS committee’s view sparked wide debate in Japan’s printing and typesetting industry. Many criticised it for sidestepping the established, widely accepted reality of hanging punctuation—a kind of inaction. Later, the World Wide Web Consortium (W3C) document based on JIS X 4051, Requirements for Japanese Text Layout, took a more practical approach. In section 2.5.1, “Examples of exceeding the text block”, part c, after noting that JIS sets no rule, it adds:
When so-called hanging punctuation is applied, it is limited to full stops and commas required for line-start prohibition, placed just outside the text block next to the line end.
Note 1: Hanging punctuation is one way of reducing “in-line adjustment by changing inter-character spacing”.
Note 2: Many books use hanging punctuation.
Figure 3.127 from Requirements for Japanese Text Layout showing hanging punctuation. The note to this figure adds: “Where the mark can be placed in the 18th character position at the line end, as at the end of the first and fifth lines, it is simply placed there. In computer typesetting such marks are sometimes hung as in the third line, which can be said to be unnecessary.” This can be read as a direct response to environments that force hanging.
In fact, since the phototypesetting era, Japanese text typesetting has widely used hanging punctuation, but strictly limited to full stops and commas. This requirement directly shaped the default settings and algorithms of software such as Adobe InDesign.
A truly rational logic of “hanging”
Having looked at Western and Japanese practice, we should now think seriously about what hanging punctuation is in a Chinese context, how it should be done, and how to build a design logic for it.
First, Chinese lacks the conditions for Western optical margin alignment. Chinese should not use Western-style optical margin alignment, but its own approach to hanging punctuation.
Second, East Asian hanging punctuation is in fact an additional method of line-break prohibition.
The basic idea of line-break prohibition is simple. When a line is full and a line-start-prohibited mark comes next, the compositor has only two choices: compress the line to make room for the mark at its end (“push in first”), or open up the spacing and push the last character and the mark together to the start of the next line (“push out first”). That is all. In the metal type era the latter was most common. Pushing the last character to the next line left a full-width gap in the current line, and compositors usually filled it by inserting four quarter-em spaces at four points in the line. In both Chinese and Japanese metal typesetting, adding four quarter spaces near the line end was standard practice.
An example of line-start prohibition in the metal type era. Note the extra space at the line ends marked by red arrows (Wu Zhao and Liu Dongsheng, A Brief History of Chinese Music, People’s Music Publishing House, 1993).
This method is crude and the result poor, since the suddenly widened spacing at the line end looks abrupt. Finer adjustments should be made through the principles of punctuation compression. After the decline of metal type, phototypesetting and desktop publishing brought computer algorithms. After pushing out a character, the software no longer “manually adds four quarter spaces”, but distributes one character width evenly across the line for a more even look—though this also breaks the principle of setting solid and sacrifices consistent spacing.
In the metal type era, allowing hanging punctuation did save some in-line adjustment and kept in-line spacing regular. But at make-up, blank leads had to be added to the margin at the line ends (the fore-edge in horizontal setting, the foot in vertical setting) to hold the hanging marks in place. Easier within the line, harder at make-up—not much labour saved. So some took issue with the JIS experts’ “labour-saving” theory.
Third, more important than hanging is the logic of handling punctuation at line ends.
Many supporters of hanging punctuation argue that it makes line ends look more even. Unfortunately, reality is often not so simple, because the line ends of a paragraph may well be uneven to begin with.
As mentioned, Chinese punctuation is bulky and comes in full-width and half-width forms (a full-width mark in print is essentially a half-width mark plus a half-width space). Japanese experts have pointed out that there are two styles for line ends: a “loose style” that tolerates full-width punctuation, and a “strict style” that forces half-width at line ends. Combined with whether hanging is allowed, this gives four styles. Look carefully at how much the line ends vary in each of the four cases below.
Four line-end formats, by whether hanging is allowed
- Loose style + no hanging: because the loose style tolerates full-width punctuation, a mark at the line end may be half- or full-width. A full-width mark at the line end effectively leaves half a character of space (as in the second line of (I)). Variation at line ends stays within half a character width.
- Strict style + no hanging: because the strict style forces half-width at line ends, the line ends are already even by traditional Chinese standards, even without hanging. (In-line spacing is set aside here.)
- Loose style + hanging allowed: if the loose style, which allows full-width marks at line ends, is combined with hanging, line ends can swing across a range of one and a half characters. This contradicts the very purpose of hanging—making line ends more even—and is not the best result in most cases. Often it would be better not to hang at all.
- Strict style + hanging allowed: with a sufficiently precise strict style, as in (II), line ends already show no variation. Allowing hanging on top increases the variation from zero to half a character width.
So deciding whether to hang on the grounds of evenness must rest on careful thought about how line-end punctuation is handled; otherwise evenness is meaningless. Using a method that claims to align, only to produce a less even page, is design without logic—the wrong method yielding a worse result.
Further analysis shows that the decision to hang affects not only punctuation compression but also in-line spacing. As I stressed in my article “On Line Length as a Whole Multiple of the Type Size”, the justification function of modern typesetting software stretches inter-character spacing. Hanging punctuation, while handling punctuation directly, can sometimes indirectly reduce adjustments to in-line spacing. In some cases, allowing hanging avoids arbitrary loose setting and uneven spacing, preserving the Chinese manuscript-grid pattern without adding fragmentary gaps, so the page looks more even and is more readable. Whether to “move punctuation” or “move spacing” first in in-line adjustment is a more fundamental style decision, but judging from the metal type tradition of Chinese typesetting, to preserve the manuscript grid it should more often be punctuation that moves first.
Hanging punctuation also varies by case. Both settings here are set solid, but the left uses the traditional strict style with no hanging: the line-end mark is half-width, and the second half of the second line is offset by half a character from the Chinese grid. The right allows hanging: not only is the right edge of the text block optically aligned, but the whole text block keeps the vertical and horizontal alignment of the Chinese grid.
In short, hanging punctuation can supplement in-line adjustments such as punctuation compression and spacing, and should be decided through the design logic of the layout—not simply applied wholesale.
I can also offer some easier criteria from another angle:Judge by line length. If the line length (column width) is short, uneven spacing adjustments will be glaring, and allowing hanging punctuation may be more effective. Conversely, if lines are long enough, with enough characters and punctuation to offer more adjustment opportunities and keep spacing adjustments small, hanging is not needed. Historically, Chinese typesetting has tolerated even half-width gaps at line ends; compared with Western typesetting, its tolerance for space is high. So given sufficient line length, hanging is unnecessary, and whether to hang is a matter of design preference.
Deciding on hanging punctuation
So what strategy should real hanging punctuation follow? Here I try to set out a design approach.
First, rule out external conditions that do not allow hanging punctuation: check whether the text block has paragraph rules, borders, shading or other decoration. When a layout has such elements, which already carry a strong sense of evenness, hanging punctuation that breaks them is not appropriate. Multi-column layouts need particular care. Especially in compact media such as newspapers, the gutter may be only one character wide; allowing hanging punctuation can then cause readers to misjudge column edges and seriously hamper reading. Even with column rules, hung marks will look cramped. If a layout does not meet the conditions for hanging punctuation, there is no need to consider the question further. If you insist on hanging punctuation, make sure the gutter is visually wide enough (at least two characters, say).
Newspaper space is limited, so typesetting is usually very compact. In this example, stories are separated by column rules, which hanging punctuation would break; within each story the gutter is only one character wide, and hanging punctuation would visually join the columns, seriously undermining the column structure. Such a layout does not meet the conditions for hanging punctuation. (Reference News, 8 November 2017, page 4)
Second, and most important: punctuation handling is a typesetting style, and within a publication—a magazine, a novel or a website—it must be consistent throughout. Whether the style is “forced”, “optional” or entirely “prohibited” must follow a clear logic from the start of the design, not waver. Note that “optional” does not mean “wavering”: it means there are clear criteria for when to hang and when not to. The logic must be clear for the layout to stay under control—a layout that is out of control is simply haphazard.
Third, consider what to hang. Most typesetting software follows Japanese requirements and by default hangs only full stops and commas. Should other marks be hung in Chinese typesetting? As discussed, the bulk of square characters means tolerance for space is relatively high, so hanging half-width marks is acceptable. Curly quotation marks (“”) are often the first candidates for hanging. In Japanese, the full-width question mark (?), exclamation mark (!) and colon (:) sit centred in the full-width frame and are too bulky to hang; in mainland Chinese convention these marks are offset (left in horizontal setting, right in vertical setting), so in Chinese they may also be candidates for hanging.
Once these three preconditions are clear, set a clear hanging logic: decide the priority and strength of hanging according to the strength of punctuation compression—where to adjust, how, and by how much. All of this must work together with the spacing adjustments of punctuation compression, controlling the overall grey of the text and so improving readability.
Practical guide
Let us now see how different software, from common office applications to professional typesetting tools, can put these ideas into practice.
Microsoft Word
Although it is the world’s most widely used word processor, most users do not know that Microsoft Word can hang Chinese punctuation. Word can do it; the option is just well hidden. In the Format menu, open Paragraph and click the Asian Typography tab: under Line Break there is an option, “Allow punctuation to extend past the margin”, which is on by default. If it is on, punctuation is allowed to overflow—which should be the hanging punctuation we want. So why does it have no effect?
It turns out Word’s output is affected by its default settings. With Document > Grid at its default “No grid”, click the Options button at the bottom of Format > Paragraph > Asian Typography, and in the second section of the dialog, Character Spacing Control, change the default “Compress punctuation only” to “Don’t compress”. The punctuation at line ends then hangs.
Hanging punctuation in Word for Mac (version 15.40)
This experiment shows that, with no grid set, Word’s algorithm gives priority to in-line punctuation compression. If in-line punctuation spacing has already been adjusted, nothing hangs even with “Allow punctuation to extend past the margin” enabled. If Document > Grid is set to “Snap characters to grid”, Word sets text in the Chinese manuscript-grid mode; hanging then works, but punctuation compression is affected. This forces a choice: either compress punctuation and not hang, or hang and switch off compression entirely. In Word, hanging punctuation and punctuation compression cannot coexist. Hanging without compressing is in fact case (III) of the four described above, with even wider swings at line ends. Clearly this is the limit of what Word, as a general word processor, can do. If you need both compression and hanging, you need professional typesetting software.
Founder FIT
Let us look at professional software. As noted, hanging punctuation is not a habit of traditional Chinese typesetting, so Founder’s professional typesetting software, built around Chinese conventions—including Founder FIT, Founder Feixiang and Founder Shuban—seems to have no settings for it. Since Founder’s systems hold a large share of book, magazine and newspaper publishing in mainland China, this is one practical reason why few publications on the market use hanging punctuation.
Adobe Illustrator
In Adobe Illustrator, the professional graphic design application, hanging punctuation is called Burasagari. It is simple to use: select the text and choose Burasagari from the Paragraph panel menu or the Control panel menu. But the user then faces three options: None, Regular and Force.
The Burasagari menu options in Adobe Illustrator
Logically, “hang” or “don’t hang” should be a switch with two options; here there are three, and the user has to think. None means no hanging—easy enough. Force is also clear: always hang. So what is Regular, “hang or not”? As I said above, Regular implies design logic: as typesetting software, its behaviour is not arbitrarily “optional” but governed by an algorithm. Users must first understand the algorithm, or they cannot choose the option that meets their design needs. Consider this example:
The three Burasagari settings in Adobe Illustrator CC 2018. Note the position of the comma at the end of the first line.
It must be stressed that typesetting is dynamic and affected by many factors. In this example I used the kinsoku set “Soft” and the mojikumi set “Line-end half-width”; switching between the single-line and every-line composers or kinsoku types in Illustrator made no difference here.
Look closely at the first line to see the difference. The Regular setting reveals the algorithm: if the line length after punctuation compression matches the set line length, no hanging is needed. In the first line, thanks to “line-end half-width”, the opening quote (「) at the start and the comma (,) at the end are each set to half width (together exactly one character width); the two marks mid-line are not adjusted and remain full width, so the line is exactly 18 characters long, matching the 18-character width of the text frame. A match means no forced hanging—that is Regular.
Conversely, if the comma in the first line is forced to hang, under justification its half-width is distributed across the line’s spacing, so the characters cannot be set solid, the spacing differs from other lines, and the line no longer follows the Chinese manuscript grid. So think carefully before using Force. In general, short lines plus forced hanging require more adjustment and are more likely to produce poor in-line spacing.
Now the second line. With hanging allowed (Regular and Force), per the compression settings both brackets are one character wide and the opening and closing quotes together are exactly one character wide; the final mark hangs, so most characters in the line align with the manuscript grid.
By contrast, with hanging set to None, the comma at the line end must take half a character width, so the remaining half width can only be squeezed out of the brackets. Since compression takes priority, character spacing is still not widened and the text remains set solid.
This analysis should make it clear that hanging punctuation presupposes, and is closely tied to, line-break prohibition and punctuation compression. The decision to hang rests on basic typesetting principles such as whether to keep text set solid and whether to keep to the Chinese grid, and all of these adjustments must be built on a correct line length—line length as a whole multiple of the type size. Without this foundation and these premises, the output of software will be “uncontrollable”, with odd results and no idea why.
A bug in Illustrator’s Burasagari algorithm makes punctuation sit on the frame edge.
It must be said that Illustrator, primarily a drawing application, has usable but very limited typesetting features compared with Adobe InDesign; I will discuss this separately. On hanging punctuation alone, when a line mixes Chinese and Latin, as in the third line above, the result can be “half-hung”: the comma at the line end should either be reduced to half width inside the frame, as in the first line, or hung completely, as in the second—not mysteriously sit on the edge as in the third. This is a bug arising from conflicts between Illustrator’s typesetting algorithms; it persists in the latest Illustrator CC 2018 but does not occur in InDesign. If you need reliable long-text typesetting, use InDesign rather than Illustrator.
Adobe InDesign
In Adobe InDesign, the professional typesetting application from the same family, hanging punctuation is called Kinsoku Hanging Type. As noted, hanging punctuation is essentially a method of line-break prohibition, and the more professional InDesign makes this explicit, which helps users understand the logic.
The Kinsoku Hanging Type menu options in Adobe InDesign
Despite the different name, it offers the same three options as Illustrator: None, Regular and Force. Yet the explanation in the Chinese version of Adobe’s InDesign User Guide, in the section Apply kinsoku hanging, is enough to leave anyone baffled:
- None: no hanging.
- Regular: when the paragraph is justified or force-justified, hanging punctuation is included in determining positions.
- Force: forces hanging when the paragraph is justified or force-justified; hanging punctuation is forced before positions are determined. Forced hanging is applied only when paragraph spacing adjustment is applied.
Comparing with the original English interface, it is clear this is a translation problem. “Paragraph spacing adjustment” translates paragraph justification—that is, the paragraph must be justified. In other words, a paragraph not set to justified, such as flush left, cannot use Force.
Setting aside the clumsy translation, we can regard InDesign’s hanging algorithm as similar to Illustrator’s, so I will not repeat it. Unlike Illustrator, though, InDesign’s various adjustment algorithms are more tightly linked, and the Illustrator bug above does not occur. Another key point: for kinsoku, InDesign’s Kinsoku Type offers, besides Illustrator’s Push In First, Push Out First and Push Out Only, a very important Prioritize Adjustment Amount. That is, kinsoku is linked to the adjustment amounts set in mojikumi (punctuation compression), which is a core feature of Chinese typesetting in InDesign, and this link affects kinsoku.
Because InDesign’s Kinsoku Type can use Prioritize Adjustment Amount to draw on mojikumi adjustments first, in this example the consecutive marks (:「) in the fourth line of the lower image are compressed first, so the fourth line can fit one more character.Note that this figure is flush left. If justified on top of this, the spare half-character at the end of the fourth line in the upper image would be distributed across the spacing, breaking the solid setting; in the lower image, after compression there is no spare space in the fourth line, so justified and flush-left look the same—keeping both solid setting and the Chinese manuscript grid.
With the same example, switching kinsoku types in Illustrator makes no difference, but switching to InDesign’s own Prioritize Adjustment Amount makes the third line compress punctuation first, producing a different result. This shows again that typesetting is not a problem one setting like hanging punctuation can solve: punctuation compression, line-break prohibition and hanging punctuation interact, and must be checked carefully.
Also, in both InDesign and Illustrator, what to hang can be customised—but not in the settings just discussed. It is chosen separately in the Kinsoku Set dialog, a further sign in the interface that hanging punctuation is a method of kinsoku. Note that in both applications the default hanging marks follow Requirements for Japanese Text Layout, hanging only commas and full stops. Which marks to hang in Chinese is for designers to decide, by creating their own kinsoku set in this dialog. Designers must keep a clear head, because default settings are often not good settings.
In both Illustrator and InDesign, custom hanging punctuation options are in the Kinsoku Set dialog.
QuarkXPress
Many younger readers may not even know QuarkXPress, the veteran typesetting application that once dominated the field. Its market share is small today, but its support for hanging punctuation is particularly good, so it deserves some space here.
QuarkXPress calls the feature hanging characters, which works on three levels:
- For a paragraph in a project, you choose a hanging character set;
- Each hanging character set can enable one or more hanging classes;
- Each hanging character class specifies what to hang (which punctuation/characters), how (leading, trailing or drop cap2), and how much (the hang percentage).
Three levels may seem complicated, but they allow finer and more flexible adjustment. The hang percentage in particular can be set precisely, at 20% or 40% for instance, and accepts positive and negative values. Grouping marks with the same percentage into a class makes them easy to reuse later. To reduce the burden, the software also provides many presets: for typical Western optical alignment, choose the Punctuation Margin Alignment set, which applies preset 20% and 30% hanging for leading punctuation and 20%, 30% and 50% for trailing punctuation. For typical Japanese hanging punctuation, choose East Asian Punctuation (Line-Match Priority).
Hanging character settings dialogs in QuarkXPress 2017
This organisation is very different from Adobe’s. Adobe separates Western and Asian features: in InDesign, Western Optical Margin Alignment is tucked into the Story panel with only an on/off switch, with no way to set the indent or hang of individual characters; for East Asian characters, both Illustrator’s Burasagari and InDesign’s Kinsoku Hanging Type are entangled with kinsoku, and a new user would hardly think to look for hanging settings under Kinsoku Set in the Paragraph panel. From an interface point of view, this is counter-intuitive.
By comparison, QuarkXPress’s formatting logic is very clear. Character spacing groups (InDesign’s mojikumi), hanging characters and non-breaking characters (InDesign’s kinsoku) each have their own sets—character spacing group sets, hanging character sets and non-breaking character sets. Users call up any set from one place, Format/Paragraph Attributes in the Edit menu, and advanced users can customise each set. One entry point, clear logic.
In short, QuarkXPress unifies Eastern and Western optical alignment and hanging punctuation in its software design, with simple logic, flexible settings and a clear interface. It is worth trying if you get the chance.
The web
Compared with print, support for advanced typographic features on the web is very limited. Few people know, however, that the HTML + CSS environment already supports hanging punctuation, ahead of features such as punctuation compression. The W3C CSS Text Module Level 3 (Working Draft), section 9.2, defines the hanging-punctuation property. Its values, in my translation:
'none': none.'first'(first): an opening bracket or quote at the start of the first formatted line of an element hangs. This applies to all characters in the Unicode categories Ps, Pf and Pi3, and the ASCII quotesU+0027andU+0022.'last'(last): a closing bracket or quote at the end of the last formatted line of an element hangs. This applies to all characters in the Unicode categories Pe, Pf and Pi, and the ASCII quotesU+0027andU+0022.'force-end'(force end): stops and commas at the end of a line hang.'allow-end'(allow end): stops and commas at the end of a line may hang if they do not otherwise fit.
As of November 2017, when this article was written, only Apple’s Safari supported the hanging-punctuation property, from version 10.1.
Can I use showing browser support for the hanging-punctuation property
Clearly, as an international specification, this property tries to combine Western optical alignment with features such as 'force-end' (force end) and 'allow-end' (allow end), which derive from Requirements for Japanese Text Layout. Readers of this article will have no trouble understanding the logic of force-end and allow-end hanging. For these two values the W3C defines a table of “stops and commas”, which it says may be extended as needed. Note that besides the East Asian full stop and comma, the list includes Arabic commas and full stops.
| U+002C | COMMA | ||
| U+002E | . | FULL STOP | |
| U+060C | ، | ARABIC COMMA | |
| U+06D4 | ۔ | ARABIC FULL STOP | |
| U+3001 | 、 | IDEOGRAPHIC COMMA | |
| U+3002 | 。 | IDEOGRAPHIC FULL STOP | |
| U+FF0C | , | FULLWIDTH COMMA | |
| U+FF0E | . | FULLWIDTH FULL STOP | |
| U+FE50 | ﹐ | SMALL COMMA | |
| U+FE51 | ﹑ | SMALL IDEOGRAPHIC COMMA | |
| U+FE52 | ﹒ | SMALL FULL STOP | |
| U+FF61 | 。 | HALFWIDTH IDEOGRAPHIC FULL STOP | |
| U+FF64 | 、 | HALFWIDTH IDEOGRAPHIC COMMA |
Analysed against my “decision approach” above, the current definition of the property’s values seems somewhat muddled. 'first', 'allow-end' and the other values specify both “what to hang” and “how to hang” at the same level, without flexible conditions. The property originated in Western optical alignment, yet it does not address “how much to hang” at all: the current implementation simply hangs the whole character, and users cannot control specifics such as hanging by half a character.
W3C experts have also pointed out problems with the property itself. When a box has insufficient padding, using hanging-punctuation triggers overflow. Whether this overflow, as defined in the CSS Overflow Module Level 3 draft, is treated as Ink overflow or, to allow for scrollbar behaviour, as Scrollable overflow , has shifted in the experts’ discussions. At one point some experts held that “hanging created by hanging-punctuation is ink overflow, and providing adequate padding in the display area is the author’s responsibility.” But as discussion went on, experts found that with contenteditable it could make edited text invisible, and in interaction with ordinary line-break prohibition rules, body text treated as ink overflow and hidden from users would be a big problem. So some experts argued it should be “scrollable overflow, but with the overflowing part clipped”.
In short, discussion of the hanging-punctuation property is still immature, which is why CSS Text Module Level 3 remains a working draft. As a working draft its content may be changed or even dropped at any time, so browser makers are cautious about immature properties, and using this property now carries risk.
And as this article has stressed repeatedly, in terms of the essence of typesetting requirements, forcing hanging punctuation without punctuation compression may well make the page worse, so use it with caution.
Because web standards are slow to settle, many web engineers build their own typesetting frameworks in more flexible ways. For example, Chen Yijun (Ethan Chen), a contributor to this site, developed Han.css, which uses Sass and JavaScript to propose a solution for punctuation compression and also implement hanging punctuation. It cleverly exploits the browser’s whitespace collapsing, together with a custom web font, han-space.woff , and is a very good attempt.
Some foreign companies, such as Amazon with the Kindle, also began supporting hanging punctuation around 2014. Mobile apps, especially e-book readers, have also started optimising typesetting themselves. The Tangcha project, very popular in 2011, used hanging punctuation; its official website at the time explained:
In the Tangcha edition of Out of Control, full stops, commas, semicolons and other marks at line ends hang outside the right edge of the text. This follows Japanese typesetting rules. As with paragraph indentation, we do not claim that hanging is necessarily the better choice; but having proclaimed “a new realm of reading”, we ought to try something different.
Screenshot of the Tangcha edition of Steve Jobs, released at the end of 2011. Note the third line from the bottom: because the line-end full stop is forced to hang, the line has one character fewer than the line above, and the algorithm spreads one full character width across the line, widening the spacing evenly. Comparison with the previous line shows the difference.
We must admit that, compared with printed books, digital typesetting technology is still quite immature. Until W3C standards are finalised, developers have no choice but to reinvent the wheel and try different approaches. Such attempts take courage, but I suggest analysing them from basic typesetting principles, or it is easy to fix one thing and break another. While the technology is immature, avoiding over-engineering and doing nothing is also a reasonable choice for the long-term integrity of content.
Open questions
From the standpoint of Chinese typesetting requirements, hanging punctuation still raises many questions that need deeper discussion, and the few experts in Chinese typesetting have not reached consensus. To start the conversation, here are two examples:
First, the third point of “Deciding on hanging punctuation” above: if Chinese uses hanging punctuation, what should be hung? Because Requirements for Japanese Text Layout leads in standardisation, most software and implementations follow Japanese requirements, hanging “only stops and commas”. Mainland Chinese punctuation, especially the question mark (?), exclamation mark (!) and colon (:), is offset (left in horizontal setting, right in vertical setting), which makes hanging possible. Semantically, question and exclamation marks can end sentences, and under the “Kaiming style” of punctuation compression they may need to keep full width rather than hang—so could the colon hang? This also raises the problem of consecutive marks at line ends. If a closing curly quote (”) may hang, how should a combination such as (。”) be handled—hang neither, both, or just one? At present no single fixed rule seems able to meet every need. One solution might be to follow the Japanese strict/loose kinsoku approach, re-examine Chinese punctuation, and define strict and loose hanging sets. This is only my proposal; I hope others will join the discussion.
Can hanging punctuation combine with paragraph indentation? Can it appear on lines other than the first of a paragraph?
Second, does Chinese need “hanging at line start” like Western optical alignment? On the one hand, modern line starts tend to be flush; on the other, this relates in complex ways to first-line indentation. Today, software such as InDesign can, in CJK typesetting with a paragraph indent, treat opening quotes (「) and the like this way, but cannot control lines after the first. Some practices can be seen as the influence of Western optical alignment on Chinese typesetting—should Chinese accept them? Going back to the woodblock era, Chinese even had the tradition of taige (elevation), which hangs not only punctuation but other characters too. Of course, such “hanging” at line starts can be achieved today by indenting other lines instead, but there is no denying that the need has long existed. How to think about and define such typesetting behaviour more rigorously needs further discussion.
A traditional form of taige, the “triple elevation”: words such as 天 (Heaven) are raised (hung) three spaces and 皇帝 (Emperor) two, standing out from ordinary lines. Without knowing this convention, 奉天承运皇帝/诏曰 might be wrongly parsed as 奉/天承运/皇帝/诏曰. (Edict of the Tongzhi Emperor on assuming personal rule; image from the web)
Conclusion
Think back to primary school: when writing compositions on squared paper, our teachers told us, “if the last character of a line needs punctuation, write it outside the box.” For Chinese typesetting, hanging punctuation is no exotic trick. The key is using it appropriately in each context.
Returning to the essence of text typesetting: however it is done, the aim is readability. What matters most is that the result looks natural and adjustments are not so glaring that they disrupt reading. Traditional Chinese typesetting may not use hanging punctuation, but sometimes hanging helps improve the page. Western optical alignment and Chinese hanging punctuation, aimed at line-break prohibition, differ in essence but can learn from each other. In a sufficiently long line, for instance, there is punctuation within the line to adjust, so hanging is not necessarily needed; if line length is not set correctly and punctuation compression not properly implemented, a page full of holes with forced hanging will only scatter the spacing and make the page a mess. There is no absolute right answer in typesetting. What matters is a design logic with clear priorities: if the page looks comfortable and natural, it is a good solution.
This series will continue in later articles with deeper discussion of punctuation compression, line-break prohibition, paragraph indentation and other issues in Chinese typesetting. We welcome your comments.
Notes
- Original: “Since even margins are usually not important in terms of legibility, optical text alignment is not usually applied to long passages of text. As with spacing and manual adjustment of font metrics, it is better to do nothing than do too much.” My translation, from p.203, Joep Pohlen, Letter Fountain [on printing types], 2010, TASCHEN
↩︎ - The Chinese version of QuarkXPress has serious translation problems. For example, the three hanging class types—leading, trailing and drop cap—are rendered in the drop-down menu as terms meaning “line spacing”, “suffix” and “large paragraph initial”, while in the hanging character set the same leading and trailing are translated differently again, so one feature is named inconsistently. Leading was mistranslated as line spacing because the English version uses the ambiguous word “leading”.↩︎
- Unicode Standard Annex #44 defines character properties, including the General Category. The Ps, Pe, Pi and Pf categories mentioned here are opening brackets, closing brackets, initial quotes and final quotes respectively. See the Unicode website.↩︎
Bibliography
- Jeop Pohlen, Letter Fountain [on printing types], 2010, TASCHEN
- Phil Baines & Andrew Haslam, Type & Typography 2nd Ed., 2005, Watson-Guptill Publications
- Cao Hongkui, Movable Type Composition Techniques (活字排版工艺), 1979, Light Industry Press
- Mitsuo Fukawa, 組版原論 (Principles of Typesetting), 1996, Ohta Shuppan
- Japan Editors School, 文字の組み方ルールブック (Rulebook for Typesetting), vertical edition, 2001, Japan Editors School Press
- Yuichi Mukai, 日本語組版の考え方 (Thinking About Japanese Typesetting), 2008, Seibundo Shinkosha
- Masao Takaoka (author), Liu Qing (translator), Western Typesetting, 2016, CITIC Press
- Society for Japanese Characters and Typesetting, Report of the 17th seminar








