Tex-commands-class

提供:Dev Guides
移動先:案内検索

\ class-Texコマンド

NAME

*\ class* -数学のスタイル設定用のCSSクラスを指定するために使用されます。

概要

{ \class #1 #2 }

オプション

Input Description
#1 CSS class name (without quotes)
#2 Mathematics to be styled

説明

\ classコマンドを使用して、数学をスタイル設定するためのCSSクラスを指定します。

  1. htmlページのヘッダーに次のスタイルを追加します。
.smHighlightRed {
   font-size:small;
   background-color:yellow;
   color:red;
}

+ Texコマンドでスタイルを使用します。


ab\class{smHighlightRed}{cdef}gh

+ $ ab \ class \ {smHighlightRed} \ {cdef} gh $

link:/cgi-bin/printpage.cgi [__印刷]