• No results found

1 zero width space L

N/A
N/A
Protected

Academic year: 2021

Share "1 zero width space L"

Copied!
7
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

1

zero width space

LATEX does not hyphenate word after solidus

(for-ward slash) in compounds like ‘input/output’. In-serting zero width space after the solidus in such compound forces LATEX to consider the

com-pound to be two words and thus it will use the usual line breaking algorithm for the second word of the compound. The following few lines are testing be-haviour without zero width space inserted: Here, we are—testing line breaking of ‘input/out-put’ compound.

Here, we are–testing line breaking of ‘input/out-put’ compound.

Notice how both lines cause hbox overflow because LATEX cannot find good line break.

And now with zero width space inserted: Here, we are—testing line breaking of ‘input/ output’ compound.

(2)

‘input/out-2

narrow no-break space

narrow no-break space is used, e.g., in Ger-man and Czech typography to separate multi-part abbreviations. Here is an example with ‘s. r. o.’, which is an equivalent of LLC or GmbH in Czech. It should be typeset with narrow space between letters and no line break should occur between the letters:

s.r.o. without any spaces

s. r. o. with usual non-breaking space (˜) s. r. o. with narrow no-break space The following sentence is showing line breaking when ordinary space is used:

He invested all of his savings into Pyramid s. r. o. and lost all of it.

And here we use narrow no-break space for much nicer result:

(3)

3

non-breaking space

Here, we are testing the use of Unicode character non-breaking space:

Telephone number example for Czechia: +420 123 456 789

Telephone number example for Czechia: +420 123 456 789 The line above overflows hbox because line break

(4)

4

soft hyphen

Sometimes, text might come with words pre-hy-phenated using soft hyphen character. Let’s use the name ‘Kurremkarmerruk’, name of Master Namer from Earthsea novels by Ursula K. Le Guin, as an example here. Without manually inserted soft hyphen, it will be hyphenated but it will overflow hbox slightly:

The name of the Master Namer is ‘Kurremkarmer-ruk’.

Here is the same with with soft hyphen inserted as follows: Kur-rem-kar-mer-ruk.

The name of the Master Namer is ‘Kurremkar-merruk’.

(5)

5

figure space and

punctua-tion space

figure space and punctuation space can be used to align numbers in tables. The below table (partial table of Earth athmosphere constituents) does not use either. The numbers are centered in their column. Element ppmv Nitrogen 780,840 Oxygen 209,460 Argon 9,340 Carbon dioxide 400 Neon 18.18

(6)
(7)

6

en, em and other spaces

Unicode contains several more space characters, some of which are shown in the following table:

a b c em space a b c em quad is canonically equivalenti to em space a b c en space a b c en quad is canonically equivalenti to en space a b c three-per-em space a b c four-per-em space a b c six-per-em space a b c figure space a b c punctuation space a b c thin space

abc hair space

abc no spaces, for comparison

iSee http://unicode.org/notes/tn5/ for explanation of

Referenties

GERELATEERDE DOCUMENTEN

Zijn er bepaalde aspecten van het vertalen voor Harlequin / Audax die anders zijn dan bij andere uitgevers of genres Dingen die leuker of juist vervelender zijn aan dit

De conclusie is dat er een verband bestaat tussen stress reactiviteit en verschillende middelen, waaronder roken, wiet/hasj, XTC en cocaïne en dat deze verbanden voor mannen

These codepages include: koi8-u (it is a variant of the koi8-r codepage with some Ukrainian letters added), koi8-ru (it is described in a draft RFC document specifying the widely

Aangezien de eerste twee niet tot nauwelijks te sturen te zijn voor de parken en dit onderzoek acht variabelen heeft blootgelegd van beleving kan nu worden geadviseerd

Apart from Schizotetranychus spiculus Baker & Pritchard, the rest of the species reported earlier from Kenya and Tanzania are well known pests of cultivated plants but in a

Dit beteken dus dat die mense wat die gebooie hou of Jesus se woord bewaar (soos dit deur die outeur as verteenwoordiger van die tradisie geformuleer word) ook diegene is wat

This study showed that after induction of remission, early switching to azathioprine maintenance therapy instead of continuation of cyclophosphamide, was not associated with

Bodega bodemgeschiktheid weidebouw Bodega bodemgeschiktheid akkerbouw Kwetsbaarheid resultaten Bodega bodembeoordeling resultaten Bodega bodemgeschiktheid boomkwekerijen