<axf:space-between-digit-and-punctuation>

(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Category Extension for European Rule >> <axf:space-before-punctuation>

Specifies the amount of space between the digit and the punctuation.

XSL-FO sample:

<fo:root xml:lang="ja" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions">

Antenna House, Inc.

欧文約物前後、約物と数字間の空白量の設定例

欧文組版における約物前後の空白量を調整できます。空白量は axf:space-after-punctuation(約物の後の空白量)、axf:space-before-punctuation(約物の前の空白量)、axf:space-between-digit-and-punctuation(数字と約物の間の空白量)、axf:space-between-punctuation-and-digit(約物と数字の間の空白量)で指定し、<fo:declarations> の直下に置きます。各指定へは、言語、空白量、コードポイントをプロパティとして指定します。これらの指定は、オプション設定ファイルで指定しておけます。

フランス語の定義例

<fo:declarations> への指定値の例と適用例を示します。

<fo:declarations> <axf:space-before-punctuation code="?" space="1 div 3" language="fr"/> <axf:space-before-punctuation code="!" space="1 div 3" language="fr"/> <axf:space-before-punctuation code=";" space="1 div 3" language="fr"/> <axf:space-before-punctuation code=":" space="1 div 4" language="fr"/> <axf:space-before-punctuation code="»" space="1 div 4" language="fr"/> <axf:space-after-punctuation code="«" space="1 div 4" language="fr"/> <axf:space-between-punctuation-and-digit code="+" space="thin" language="fr"/> <axf:space-between-punctuation-and-digit code="−" space="thin" language="fr"/> <axf:space-between-digit-and-punctuation code="%" space="thin" language="fr"/> </fo:declarations>

xml:lang="fr" を指定した組版例

Échantillon? Échantillon! «Échantillon» Échantillon.

Échantillon; 123−345+678 Échantillon 100%.

xml:lang="en" を指定した組版例

Échantillon? Échantillon! «Échantillon» Échantillon.

Échantillon; 123−345+678 Échantillon 100%.

Download der Beispiele

Output:

Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: