固定幅 (プリフォーマットされた) テキストの表示

PortableHTML テンプレートには、Preformatted と PreformattedRelative、2 種類のプリフォーマットされたテキスト用スタイルがあります。

HTML では、プリフォーマットされたテキストは、各文字が等しい幅で表示されます (つまり、固定幅です)。プリフォーマットされていない HTML スタイルでは、スペースが連続していても、ブラウザでは短縮されてシングル スペースとして表示されますが、プリフォーマットされたテキストでは、テキスト内のスペースがそのまま保持されます。HTML でプリフォーマットされたテキストを作成するには <PRE> タグを使用します。たとえば、

<PRE>

All characters use a monospaced font.

Their positions remain constant and can

not be altered by the display device.
</PRE> 

FrameMaker の段落からプリフォーマットされたテキストを生成するには、その段落を Preformatted または PreformattedRelative にマッピングします。


All characters use a monospaced font.

Their positions remain constant and can

not be altered by the display device. 

Quadralay Corporation
Voice: (512) 719-3399
Fax: (512) 719-3606
info@webworks.com