tiny (テキスト形式)
インポート元: CURL.GUI.STANDARD. package 内で定義されています CURL.GUI.TEXT-FORMATS.
基準: text
キーワードの既定設定: _style-element="tiny"

テキストの内容を現在のサイズ (スケーリングなしのサイズ) の 60% に縮小します。

説明

この文字書式は、{text font-size=0.6em}と同じです。

構文

            {tiny
                [option1=value1,
                option*=value*,]
                ...}
            
option: 任意のサポートされている文字オプション。
value: 文字オプションに対する有効値です。
...: 内容。テキストの内容のみ書式設定されます。

文字オプション

tiny および他の文字書式に直接影響する文字オプションは以下のとおりです。


{value
    let count:int=1
    let tfb:TextFlowBox =
        {TextFlowBox
            font-size=10pt,
            {paragraph
                There are {tiny a few words} in this paragraph, whose size is 60%
                of the size when {monospace tiny} is not in use.
                The ratio between the sizes remain the same when you change the
                font size of the entire paragraph. Click
                {CommandButton
                    label="this button",
                    {on Action do
                        {if count > 0 then
                            {value
                                set tfb.font-size = 20pt
                                set count = 0
                            }
                         else
                            {value
                                set tfb.font-size = 10pt
                                set count = 1
                            }
                        }
                    }
                }
                to see the effect.
            }
        }
    tfb
}

注意事項

このオブジェクトは、"tiny"のスタイル ルールを記述することでスタイル化することが出来ます。