troff

Autres langues

Langue: ja

Autres versions - même langue

Version: 6 August 2001 (openSuse - 09/10/07)

Section: 1 (Commandes utilisateur)

̾¾Î

troff - ʸ½ñ¤ò¥Õ¥©¡¼¥Þ¥Ã¥È¤¹¤ë

½ñ¼°


troff [ -abivzCERU ] [ -w name ] [ -W name ] [ -d cs ] [ -f fam ] [ -m name ] [ -n num ] [ -o list ] [ -r cn ] [ -T name ] [ -F dir ] [ -M dir ] [ files... ]

¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤È¥Ñ¥é¥á¡¼¥¿¤Î´Ö¤Ë¶õÇò¤ò´Þ¤á¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£

²òÀâ

Ëܥޥ˥奢¥ë¤Ç¤Ï¡¢groff ¥É¥­¥å¥á¥ó¥È¥Õ¥©¡¼¥Þ¥Ã¥È¥·¥¹¥Æ¥à¤Î°ìÉô¤Ç¤¢¤ë GNU ¥Ð¡¼¥¸¥ç¥ó¤Î troff ¤Ë¤Ä¤¤¤Æµ­½Ò¤·¤Þ¤¹¡£ËÜ¥³¥Þ¥ó¥É¤Ï UNIX troff ¤È ¹â¤¤¸ß´¹À­¤ò»ý¤Á¤Þ¤¹¡£Ä̾ï troff ¤Ï groff ¥³¥Þ¥ó¥É¤«¤éµ¯Æ°¤µ¤ì¤Þ¤¹¡£ groff ¤Ï¤Þ¤¿¡¢Å¬ÀÚ¤ÊÁ°½èÍý¥×¥í¥°¥é¥à¤È¸å½èÍý¥×¥í¥°¥é¥à¤òŬÀڤʥª¥×¥·¥ç ¥ó¤Ç¡¢Å¬Àڤʽç½ø¤Çµ¯Æ°¤·¤Þ¤¹¡£

¥ª¥×¥·¥ç¥ó

-a
ASCII ʸ»ú¤Î¤ß¤Î¶á»÷Ū¤Ê½ÐÎϤò¹Ô¤¤¤Þ¤¹¡£
-b
³Æ·Ù¹ð¤È¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤ËÂФ¹¤ë¥Ð¥Ã¥¯¥È¥ì¡¼¥¹¤òɽ¼¨¤·¤Þ¤¹¡£¤³¤ì¤Ï¡¢ ·Ù¹ð¤ä¥¨¥é¡¼¤Î¸¶°ø¤òÄ´¤Ù¤ë¤Î¤ËÍ­ÍѤǤ¹¡£½ÐÎϤµ¤ì¤ë¹ÔÈÖ¹æ¤Ïɬ¤º¤·¤âÀµ¤· ¤¯¤Ï¤¢¤ê¤Þ¤»¤ó¡£ as ¤ä am ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤ê¡¢ troff ¤¬¹ÔÈÖ¹æ¤ò¸íǧ¤¹¤ë²ÄǽÀ­¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£
-i
»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤ò¤¹¤Ù¤Æ½èÍý¤·¤¿¤¢¤È¤Ë¡¢É¸½àÆþÎϤâÆɤ߹þ¤ß¡¢½èÍý¤·¤Þ¤¹¡£
-v
¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òɽ¼¨¤·¤Þ¤¹¡£
-wname
name ¤Ç»ØÄꤷ¤¿Ê¬Îà¤Î·Ù¹ð¤ò¹Ô¤¤¤Þ¤¹¡£»ØÄê¤Ç¤­¤ë name ¤Ï¡¢¸å½Ò¤Î·Ù¹ð¤Î¥µ¥Ö¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£ -w ¥ª¥×¥·¥ç¥ó¤ÏÊ£¿ô»ØÄê¤Ç¤­¤Þ¤¹¡£
-Wname
name ¤Ç»ØÄꤷ¤¿Ê¬Îà¤Î·Ù¹ð¤ò¹Ô¤¤¤Þ¤»¤ó¡£ -W ¥ª¥×¥·¥ç¥ó¤ÏÊ£¿ô»ØÄꤹ¤ë¤³¤È¤¬ ¤Ç¤­¤Þ¤¹¡£
-E
¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤ò°ìÀÚ½ÐÎϤ·¤Þ¤»¤ó¡£
-z
¥Õ¥©¡¼¥Þ¥Ã¥È¤·¤¿·ë²Ì¤ò½ÐÎϤ·¤Þ¤»¤ó¡£
-C
¸ß´¹¥â¡¼¥É¤Ë¤·¤Þ¤¹¡£
-dcs

-dname=s ¥Þ¥¯¥í c ¤Þ¤¿¤Ï name ¤òʸ»úÎó s ¤ÈÄêµÁ¤·¤Þ¤¹¡£ c ¤Ï 1 ʸ»ú¤Î¥Þ¥¯¥í̾¤Ç¤¹¡£
-ffam
fam ¤ò¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥ß¥ê¤È¤·¤Æ»ÈÍѤ·¤Þ¤¹¡£
-mname
¥Þ¥¯¥í¥Õ¥¡¥¤¥ë name.tmac ¤òÆɤ߹þ¤ß¤Þ¤¹¡£¸«¤Ä¤«¤é¤Ê¤±¤ì¤Ð¡¢¤«¤ï¤ê¤Ë tmac.name ¤ò»î¤ß¤Þ¤¹¡£ ¤Þ¤ººÇ½é¤Ë -M ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¡¢ ³¤¤¤Æ GROFF_TMAC_PATH ´Ä¶­ÊÑ¿ô¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¡¢ ¤½¤·¤Æ¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê (°ÂÁ´¤Ç¤Ê¤¤¥â¡¼¥É¤Î ¾ì¹ç¤Î¤ß)¡¢¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¡¢/usr/share/tmac/¡¢/usr/share/tmac/¡¢ /usr/share/tmac ¤Î½ç¤Ë¸¡º÷¤·¤Þ¤¹¡£
-U
°ÂÁ´¤Ç¤Ê¤¤¥â¡¼¥É¡£ ¤³¤ì¤Ë¤è¤Ã¤Æ°Ê²¼¤Î¥ê¥¯¥¨¥¹¥È¤¬Í­¸ú¤Ë¤Ê¤ê¤Þ¤¹: .open, .opena, .pso, .sy, .pi. ¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢¥»¥­¥å¥ê¥Æ¥£¤Î¤¿¤á¤Ë¤³¤ì¤é¤Î´í¸±À­¤Î¤¢¤ë¥ê¥¯¥¨¥¹¥È¤Ï ¶Ø»ß¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤Þ¤¿¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò¥Þ¥¯¥í¸¡º÷¥Ñ¥¹¤Ë²Ã¤¨¤Þ¤¹¡£
-R
troffrc ¤È troffrc-end ¤òÆɤߤޤ»¤ó¡£
-nnum
ºÇ½é¤Î¥Ú¡¼¥¸ÈÖ¹æ¤ò num ¤È¤·¤Þ¤¹¡£
-olist
list ¤Ç»ØÄꤷ¤¿¥Ú¡¼¥¸¤Î¤ß¤ò½ÐÎϤ·¤Þ¤¹¡£ list ¤Ï¡¢¥³¥ó¥Þ¤Ç¶èÀÚ¤é¤ì ¤¿¥Ú¡¼¥¸ÈϰϤÎÎó¤Ç¤¹¡£¥Ú¡¼¥¸ÈϰϤλØÄêÊýË¡¤Ï°Ê²¼¤Î¤È¤ª¤ê¤Ç¤¹: n ¤Ï n ¥Ú¡¼ ¥¸¤Î½ÐÎÏ¡¢ m-n ¤Ï m ¥Ú¡¼¥¸¤«¤é n ¥Ú¡¼¥¸¤Þ¤Ç¤Î½ÐÎÏ¡¢ -n ¤Ï n ¥Ú¡¼¥¸¤Þ¤Ç¤Î ½ÐÎÏ¡¢ n- ¤Ï n ¥Ú¡¼¥¸°Ê¹ß¤Î½ÐÎϤò°ÕÌ£¤·¤Þ¤¹¡£ troff ¤Ï¥ê¥¹¥È¤ÎºÇ¸å¤Î¥Ú¡¼¥¸¤ò°õºþ¤·½ª¤¨¤ë¤È½ªÎ»¤·¤Þ¤¹¡£
-rcn
-rname=n ¿ôÃͥ쥸¥¹¥¿ c ¤Þ¤¿¤Ï name ¤ÎÃͤò n ¤È¤·¤Þ¤¹¡£ c ¤Ï 1 ʸ»ú¤Î̾Á°¤Ç¤¹¡£ n ¤Ï troff ¤Ç°·¤¨¤ë¿ô¼°¤Ç¤¹¡£
-Tname
¥Ç¥Ð¥¤¥¹ name ÍѤνÐÎϤòÀ¸À®¤·¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï ps ¤Ç¤¹¡£
-Fdir
¥Õ¥©¥ó¥È¥Õ¥¡¥¤¥ë¤È DESC ¥Õ¥¡¥¤¥ë¤ò¸¡º÷¤¹¤ë¤Î¤Ë¡¢¥Ç¥£¥ì¥¯¥È¥ê (¤Þ¤¿¤Ï¥Ç¥£¥ì¥¯¥È¥ê¥Ñ¥¹) dir °Ê²¼¤Î devname (name ¤Ï½ÐÎϥǥХ¤¥¹Ì¾) ¤òõ¤·¤Þ¤¹¡£ ¾¤Î¤¹¤Ù¤Æ¤Î¥Õ¥©¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤è¤êÁ°¤Ë dir ¤òÄ´¤Ù¤Þ¤¹¡£
-Mdir
»ØÄꤷ¤¿¥Ç¥£¥ì¥¯¥È¥ê (¤Þ¤¿¤Ï¥Ç¥£¥ì¥¯¥È¥ê¥Ñ¥¹) dir ¤«¤é¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤ò¸¡º÷¤·¤Þ¤¹¡£ ¾¤Î¤¹¤Ù¤Æ¤Î¥Þ¥¯¥í¥Ç¥£¥ì¥¯¥È¥ê¤è¤êÁ°¤ËÄ´¤Ù¤Þ¤¹¡£

»ÈÍÑË¡

¤³¤³¤Ç¤Ï UNIX troff ¤Ë¤Ï̵¤¤µ¡Ç½¤Î¤ß¤òÀâÌÀ¤·¤Þ¤¹¡£

Ť¤Ì¾Á°

¿ôÃͥ쥸¥¹¥¿¡¢¥Õ¥©¥ó¥È¡¢Ê¸»úÎó/¥Þ¥¯¥í/ž´¹¡¢ Æüìʸ»ú¤Î¤½¤ì¤¾¤ì¤Î̾Á°¤ÎŤµ¤ÏǤ°Õ¤Ç¤¹¡£ ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹Ãæ¡¢¤¹¤Ê¤ï¤Á
2 ʸ»ú¤Î̾Á° (xx ¤ò»ÈÍѲÄǽ¤Ê¾ì½ê¤Ç¡¢ Ǥ°Õ¤ÎŤµ¤Î̾Á° [xxx] ¤ò»ÈÍѲÄǽ¤Ç¤¹¡£
\[xxx]
xxx ¤Ç¸Æ¤Ð¤ì¤ëÆüìʸ»ú¤òɽ¼¨¤·¤Þ¤¹¡£
\f[xxx]
¥Õ¥©¥ó¥È xxx ¤òÀßÄꤷ¤Þ¤¹¡£
\*[xxx]
ʸ»úÎó xxx ¤òÁÞÆþ¤¹¤ë¡£
\n[xxx]
¿ôÃͥ쥸¥¹¥¿ xxx ¤òÁÞÆþ¤¹¤ë¡£

ʬ¿ô¤Î¥Ý¥¤¥ó¥È¥µ¥¤¥º

¥¹¥±¡¼¥ë¥É¥Ý¥¤¥ó¥È¤Ï 1/sizescale ¥Ý¥¤¥ó¥È¤Ç¤¹¡£¤³¤³¤Ç sizescale ¤Ï DESC ¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 1 ¤Ç¤¹)¡£ ¤Þ¤¿¡¢¿·¤·¤¤¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿ z ¤¬¤¢¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï sizescale Çܤ¹¤ë¸ú²Ì¤¬¤¢¤ê¤Þ¤¹¡£ troff ¤Ë¤ª¤±¤ë¥ê¥¯¥¨¥¹¥È¤ª¤è¤Ó¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤Ï ¥Ý¥¤¥ó¥È¥µ¥¤¥º¤òɽ¤¹°ú¿ô¤ò¥¹¥±¡¼¥ë¥É¥Ý¥¤¥ó¥Èñ°Ì¤Çɽ¤µ¤ì¤Æ¤¤¤ë¤È¤·¤Æ ²ò¼á¤·¤Þ¤¹¤¬¡¢ ¤³¤Î¤è¤¦¤Ê°ú¿ô¤Îɾ²Á¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿ z ¤Ë¤Æ¹Ô¤¤¤Þ¤¹¡£ ¤³¤Î¤è¤¦¤Ë¼è¤ê°·¤ï¤ì¤ë°ú¿ô¤Ë¤Ï¡¢ ps ¥ê¥¯¥¨¥¹¥È¤Î°ú¿ô¡¢ cs ¥ê¥¯¥¨¥¹¥È¤Î 3 ÈÖÌܤΰú¿ô¡¢ tkf ¥ê¥¯¥¨¥¹¥È¤Î 2 ÈÖÌܤª¤è¤Ó 4 ÈÖÌܤΰú¿ô¡¢ \H ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤Î°ú¿ô¡¢ \s ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤ÎÊÑ·Á¤Ç¿ôÃͼ°¤ò°ú¿ô¤È¤·¤Æ¼è¤ë¤â¤Î¤È¤¬¤¢¤ê¤Þ¤¹¡£

Î㤨¤Ð sizescale ¤ò 1000 ¤È¤·¤Þ¤¹; ¤³¤Î¾ì¹ç¥¹¥±¡¼¥ë¥É¥Ý¥¤¥ó¥È¤Ï¥ß¥ê¥Ý¥¤¥ó¥È¤È¤Ê¤ê¤Þ¤¹; ¥ê¥¯¥¨¥¹¥È .ps 10.25 ¤Ï .ps 10.25z ¤ÈƱ¤¸¤Ç¤¹¤·¡¢¥Ý¥¤¥ó¥È¥µ¥¤¥º¤Ï 10250 ¥¹¥±¡¼¥ë¥É¥Ý¥¤¥ó¥È¤ËÀßÄꤵ¤ì¤Þ¤¹¡£ ¤³¤ì¤Ï 10.25 ¥Ý¥¤¥ó¥È¤ÈÅù¤·¤¤ÃͤǤ¹¡£

¿ôÃͥ쥸¥¹¥¿ \n[.s] ¤Ï¥Ý¥¤¥ó¥È¥µ¥¤¥º¤ò 10 ¿Ê¿ôʬ¿ô¤Î¥Ý¥¤¥ó¥Èñ°Ì¤ÇÊÖ¤·¤Þ¤¹¡£ ¿·¤·¤¤¿ôÃͥ쥸¥¹¥¿ \n[.ps] ¤â¤¢¤ê¡¢¤³¤ì¤Ï¥¹¥±¡¼¥ë¥É¥Ý¥¤¥ó¥Èñ°Ì¤Ç¤Î¥Ý¥¤¥ó¥È¥µ¥¤¥º¤òÊÖ¤·¤Þ¤¹¡£

¥Ç¥Õ¥©¥ë¥È¤Î¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿¤¬ u, z ¤Î¤É¤Á¤é¤Ç¤â¤Ê¤¤¿ô¼°Ãæ¤Ç z ¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿¤ò»ÈÍѤ¹¤ë¤Î¤Ï̵°ÕÌ£¤Ç¤·¤ç¤¦¡£ troff ¤Ï¤³¤Î¤è¤¦¤Ê¤³¤È¤ò¶Ø»ß¤·¤Þ¤¹¡£ ƱÍͤˡ¢ z ¤¬¥Ç¥Õ¥©¥ë¥È¤Î¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿¤Ç¤¢¤Ã¤¿¿ô¼°¤Ë¤ª¤¤¤Æ z, u ¤Î¤É¤Á¤é¤Ç¤â¤Ê¤¤¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿¤ò»ÈÍѤ¹¤ë¤Î¤Ï̵°ÕÌ£¤Ç¤·¤ç¤¦¡£ troff ¤Ï¤³¤Î¤è¤¦¤Ê¤³¤È¤ò¶Ø»ß¤·¤Þ¤¹¡£

¤Þ¤¿¡¢¿·¤·¤¤¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿ s ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¤â¤È¤ÎÃͤò¥¹¥±¡¼¥ë¥É¥Ý¥¤¥ó¥È¤Îñ°Ì¿ô¤ÇÄþÇܤ·¤Þ¤¹¡£ Î㤨¤Ð¡¢ \n[.ps]s ¤Ï 1m ¤ÈƱ¤¸¤Ç¤¹¡£ s, z ¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿¤òº®Æ±¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Æ²¼¤µ¤¤¡£

¿ôÃͼ°

³ç¸ÌÆâ¤Î¿ô¼°Ãæ¤Ë¶õÇò¤ò´Þ¤á¤ë¤³¤È¤¬µö¤µ¤ì¤Þ¤¹¡£

M ¤Ï em ¤Î 1/100 ¤ò°ÕÌ£¤·¤Þ¤¹¡£

e1>?e2
e1 ¤È e2 ¤È¤Ç¾®¤µ¤¯¤Ê¤¤Êý¡£
e1<?e2
e1 ¤È e2 ¤È¤ÇÂ礭¤¯¤Ê¤¤Êý¡£
(c;e)
c ¤ò¥Ç¥Õ¥©¥ë¥È¤Î¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿¤È¤·¤Æ e ¤òɾ²Á¤·¤Þ¤¹¡£ c ¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¤Ï e ¤Îɾ²Á¤Ë¤ª¤¤¤Æ¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£

¿·¤·¤¤¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹

\A'anything'
1 ¤Þ¤¿¤Ï 0 ¤ËŸ³«¤µ¤ì¤Þ¤¹¡£ ¤³¤ì¤Ï anything ¤¬Ê¸»úÎó¡¢¥Þ¥¯¥í¡¢Å¸³«¡¢¿ôÃͥ쥸¥¹¥¿¡¢´Ä¶­¡¢¥Õ¥©¥ó¥È¤Î¤¤¤º¤ì¤«¤È¤·¤Æ ¼õÍý²Äǽ¤«Èݤ«¤Ë°Í¸¤·¤Þ¤¹¡£ anything ¤¬¶õ¤Î¾ì¹ç¤Ë¤Ï 0 ¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ Ï¢ÁÛɽ¤Î¤è¤¦¤Ê¤â¤Î¤«¤é¥æ¡¼¥¶¤ÎÆþÎϤò¼è¤ê½Ð¤¹¤è¤¦¤Ê¾ì¹ç¤ËÍ­¸ú¤Ç¤¹¡£
\B'anything'
¤³¤ì¤Ï¿ôÃͼ° anything ¤¬ÀµÅö¤«Èݤ«¤Ë±þ¤¸¤Æ 1 ¤Þ¤¿¤Ï 0 ¤ËŸ³«¤µ¤ì¤Þ¤¹¡£ anything ¤¬¶õ¤Î¾ì¹ç¤Ï 0 ¤òÊÖ¤·¤Þ¤¹¡£
\C'xxx'
xxx ¤È¤¤¤¦Ì¾Á°¤Îʸ»ú¤ò¥¿¥¤¥×¥»¥Ã¥È¤·¤Þ¤¹¡£ Ä̾ \[xxx] ¤ò»ÈÍѤ¹¤ëÊý¤¬ÊØÍø¤Ç¤¹¡£ ¤·¤«¤· \C ¤ÎÍ¥°ÌÅÀ¤Ï¡¢ºÇ¶á¤Î UNIX ¤È¸ß´¹À­¤¬¤¢¤ê ¸ß´¹¥â¡¼¥É¤Ë¤ª¤¤¤Æ»ÈÍѲÄǽ¤Ç¤¢¤ë¤³¤È¤Ç¤¹¡£
\E
¥¨¥¹¥±¡¼¥×ʸ»ú¤ÈÅù²Á¤Ç¤¹¤¬¡¢¥³¥Ô¡¼¥â¡¼¥É¤Ç¤Ï²ò¼á¤µ¤ì¤Þ¤»¤ó¡£ Î㤨¤Ð¡¢¾åÉÕ¤­Ê¸»ú¤Î»Ï¤Þ¤ê¤È½ª¤ê¤Îʸ»úÎó¤Ï¼¡¤Î¤è¤¦¤ËÄêµÁ¤Ç¤­¤Þ¤¹:
.ds { \v'-.3m'\s'\En[.s]*6u/10u'
.ds } \s0\v'.3m'

\E ¤ò»ÈÍѤ¹¤ë¤È¡¢ Î㤨 \*{ ¤¬¥³¥Ô¡¼¥â¡¼¥É¤Ë¤ª¤¤¤Æ²ò¼á¤µ¤ì¤ë¤è¤¦¤Ê¾ì¹ç¤Ç¤â¡¢ ¤³¤ì¤é¤ÎÄêµÁ¤¬¤¦¤Þ¤¯ºîÍѤ¹¤ë¤³¤È¤òÊݾڤǤ­¤Þ¤¹ (Î㤨¤Ð¥Þ¥¯¥í¤Î°ú¿ô¤Ç»ÈÍѤµ¤ì¤ë¾ì¹ç)¡£

\N'n'
¥³¡¼¥É n ¤Îʸ»ú¤ò¸½ºß¤Î¥Õ¥©¥ó¥È¤Ç¥¿¥¤¥×¥»¥Ã¥È¤·¤Þ¤¹¡£ n ¤ÏǤ°Õ¤ÎÀ°¿ôÃͤǤ¹¡£ ¤Û¤È¤ó¤É¤Î¥Ç¥Ð¥¤¥¹¤Ïʸ»ú¥³¡¼¥É¤¬ 0 ¤«¤é 255 ¤Þ¤Ç¤·¤«¤¢¤ê¤Þ¤»¤ó¡£ ¸½ºß¤Î¥Õ¥©¥ó¥È¤¬Âбþ¤¹¤ë¥³¡¼¥É¤Îʸ»ú¤ò»ý¤¿¤Ê¤¤¾ì¹ç¡¢ ¥¹¥Ú¥·¥ã¥ë¥Õ¥©¥ó¥È¤Ïõ¤µ¤ì¤Þ¤»¤ó¡£ \N ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤Ï char ¥ê¥¯¥¨¥¹¥È¤È¤ÎÁȤ߹ç¤ï¤»¤Ë¤è¤êÊØÍø¤Ë»È¤¨¤Þ¤¹:
.char \[phone] \f(ZD\N'37'
³Æʸ»ú¤Î¥³¡¼¥É¤Ï¡¢¥Õ¥©¥ó¥Èµ­½Ò¥Õ¥¡¥¤¥ë¤Ç¡¢ charset ¥³¥Þ¥ó¥É¤Î¸å¤Î 4 ÈÖÌܤΥ«¥é¥à¤Ë½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£ ʸ»ú¤Î̾Á°¤È¤·¤Æ --- ¤ò»È¤¦¤³¤È¤Ç¡¢Ì¾Á°¤Î̵¤¤Ê¸»ú¤ò¥Õ¥©¥ó¥Èµ­½Ò¥Õ¥¡¥¤¥ë¤ËÁȤ߹þ¤à¤³¤È¤¬²Äǽ¤Ç¤¹¡£ ¤³¤ì¤é¤Îʸ»ú¤ò»ÈÍѤ¹¤ë¤Ë¤Ï¡¢ \N ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤ò»È¤¦ÊýË¡¤·¤«¤¢¤ê¤Þ¤»¤ó¡£
\R'name ±n'
¤³¤ì¤Ï¡¢¼¡¤Î¤â¤Î¤ÈƱ¤¸¸ú²Ì¤Ç¤¹¡£
.nr name ±n
\s(nn

\s±(nn ¥Ý¥¤¥ó¥È¥µ¥¤¥º¤ò nn ¥Ý¥¤¥ó¥È¤ËÀßÄꤷ¤Þ¤¹; nn ¤ÏÀµ³Î¤Ë 2 ·å¤Î 10 ¿Ê¿ô¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
\s[±n]
\s±[n]
\s'±n'
\s±'n' ¥Ý¥¤¥ó¥È¥µ¥¤¥º¤ò n ¥¹¥±¡¼¥ë¥É¥Ý¥¤¥ó¥È¤Ë¤·¤Þ¤¹; n ¤Ï¿ôÃͼ°¤Ç¤¢¤ê¡¢¥Ç¥Õ¥©¥ë¥È¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿¤Ï z ¤Ç¤¹¡£
\Vx
\V(xx
\V[xxx] getenv(3) ¤ÇÊÖ¤µ¤ì¤ë´Ä¶­ÊÑ¿ô xxx ¤ÎÆâÍƤòÁÞÆþ¤·¤Þ¤¹¡£ \V ¤Ï¥³¥Ô¡¼¥â¡¼¥É¤Ç²ò¼á¤µ¤ì¤Þ¤¹¡£
\Yx
\Y(xx
\Y[xxx] ¤³¤ì¤Ï \X'\*[xxx]' ¤È¤Û¤È¤ó¤ÉƱ°ì¤Ç¤¹¡£ ¤·¤«¤·Ê¸»úÎó/¥Þ¥¯¥í xxx ¤Ï²ò¼á¤µ¤ì¤Þ¤»¤ó; ¤Þ¤¿ xxx ¤¬¥Þ¥¯¥í¤È¤È¤·¤ÆÄêµÁ¤µ¤ì¤ë¤³¤È¤¬µö¤µ¤ì¤Æ¤ª¤ê¡¢²þ¹Ôʸ»ú¤ò´Þ¤ó¤Ç¤âÎɤ¤¤Ç¤¹ ( \X ¤Î°ú¿ô¤Ï²þ¹Ôʸ»ú¤ò´Þ¤ó¤Ç¤Ï¤Ê¤ê¤Þ¤»¤ó)¡£ ²þ¹Ôʸ»ú¤ò´Þ¤à¾ì¹ç¤Ë¤Ï UNIX troff ½ÐÎÏ¥Õ¥©¡¼¥Þ¥Ã¥È¤¬ ³ÈÄ¥¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ¤Þ¤¿¡¢¤³¤Î³ÈÄ¥¤òÃΤé¤Ê¤¤¥É¥é¥¤¥Ð¡¼¤òº®Í𤵤»¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
\Z'anything'
anything ¤òɽ¼¨¤·¤¿¤¢¤È¿åÊ¿°ÌÃÖµÚ¤Ó¿âľ°ÌÃÖ¤ò¸µ¤ËÌᤷ¤Þ¤¹; anything ¤Ï¥¿¥Ö¤ä¥ê¡¼¥À¡¼¤ò´Þ¤ó¤Ç¤Ï¤Ê¤ê¤Þ¤»¤ó¡£
\$0
¸½ºß¤Î¥Þ¥¯¥í¤¬¸Æ¤Ó½Ð¤µ¤ì¤¿Ì¾Á°¤Ç¤¹¡£ als ¥ê¥¯¥¨¥¹¥È¤Ï¥Þ¥¯¥í¤ËÊ£¿ô¤Î̾Á°¤ò»ý¤¿¤»¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
\$*
¥Þ¥¯¥íÃæ¤Ç¡¢Á´¤Æ¤Î°ú¿ô¤ò¶õÇò¤Ç¶èÀڤäƷë¹ç¤·¤¿Ê¸»úÎó¤Ë¤Ê¤ê¤Þ¤¹¡£
\$@
¥Þ¥¯¥íÃæ¤Ç¡¢³Æ°ú¿ô¤ò¥À¥Ö¥ë¥¯¥©¡¼¥È¤Ç³ç¤ê¡¢ ¤½¤ÎÁ´¤Æ¤ò¶õÇò¤Ç¶èÀڤäƷë¹ç¤·¤¿Ê¸»úÎó¤Ë¤Ê¤ê¤Þ¤¹¡£
\$(nn

\$[nnn] ¥Þ¥¯¥íÃæ¤Ç¡¢ nnÈÖÌÜ ¤â¤·¤¯¤Ï nnnÈÖÌܤΠ°ú¿ô¤òÍ¿¤¨¤Þ¤¹¡£ ¥Þ¥¯¥í¤Î¼è¤ê¤¦¤ë°ú¿ô¤Î¿ô¤Ë¤ÏÀ©¸Â¤Ï¤¢¤ê¤Þ¤»¤ó¡£
\?anything\?
ž´¹Ãæ¤Ç»ÈÍѤ¹¤ë¤È¡¢ anything ¤òž´¹Ãæ¤ËÆ©²áŪ¤ËËä¤á¹þ¤ß¤Þ¤¹¡£ anything ¤Ï¥³¥Ô¡¼¥â¡¼¥É¤ÇÆɤޤì¤Þ¤¹¡£ ž´¹¤ÎÆâÍƤ¬¸å¤ÇÆɤ߹þ¤Þ¤ì¤ë»þ¡¢ anything ¤Ï²ò¼á¤µ¤ì¤Þ¤¹¡£ anything ¤Ï²þ¹Ôʸ»ú¤ò´Þ¤ó¤Ç¤Ï¤Ê¤ê¤Þ¤»¤ó; ž´¹Ãæ¤Ë²þ¹Ôʸ»ú¤òËä¤á¹þ¤ß¤¿¤¤¾ì¹ç¤Ë¤Ï \! ¤ò»ÈÍѤ·¤Æ²¼¤µ¤¤¡£ ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹ \? ¤Ï¥³¥Ô¡¼¥â¡¼¥É¤Ë¤ª¤¤¤Æǧ¼±¤µ¤ì¡¢Ã±°ì¤ÎÆâÉô¥³¡¼¥É¤ËÊÑ´¹¤µ¤ì¤Þ¤¹; anything ¤Î½ªÎ»¤òɽ¤¹¤Î¤¬¤³¤Î¥³¡¼¥É¤Ç¤¹¡£ ¤½¤ì¤æ¤¨¡¢

.nr x 1

.nf

.di d

\?\\?\\\\?\\\\\\\\nx\\\\?\\?\?

.di

.nr x 2

.di e

.d

.di

.nr x 3

.di f

.e

.di

.nr x 4

.f

¤Ï 4 ¤òɽ¼¨¤·¤Þ¤¹¡£
\/
Àè¹Ô¤¹¤ëʸ»ú¤ÎÉý¤òÁý¤ä¤·¤Þ¤¹¡£ ¤½¤Î·ë²Ì¡¢·Ñ³¤¹¤ëʸ»ú¤¬¥í¡¼¥Þ¥óʸ»ú¤Î¾ì¹ç¡¢ Àè¹Ô¤¹¤ëʸ»ú¤È·Ñ³¤¹¤ëʸ»ú¤È¤Î´Ö³Ö¤¬Àµ¤·¤¯¤Ê¤ê¤Þ¤¹¡£ Î㤨¤Ð¡¢¥¤¥¿¥ê¥Ã¥¯¤Î f ¤Îľ¸å¤Ë¥í¡¼¥Þ¥ó¤Î±¦³ç¸Ì¤¬Â³¤¯¾ì¹ç¡¢ ¤Û¤È¤ó¤É¤Î¥Õ¥©¥ó¥È¤Ë¤ª¤¤¤Æ f ¤Î±¦¾å¤ÎÉôʬ¤¬±¦³ç¸Ì¤Îº¸¾å¤ÎÉôʬ¤È¤¬½Å¤Ê¤ê f) ¤È¤Ê¤ê¤Þ¤¹¡£ ¤³¤ì¤Ï½¹¤¤¤Ç¤¹¡£ \/ ¤òÁÞÆþ¤¹¤ë¤³¤È¤Ë¤è¤ê f) ¤È¤Ê¤ê¤³¤ÎÌäÂê¤òËɤ®¤Þ¤¹¡£ ¤³¤Î¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤ò¡¢ ¥¤¥¿¥ê¥Ã¥¯Ê¸»ú¤Îľ¸å¤Ë¶õÇò¤ò¤Ï¤µ¤Þ¤º¤Ë¥í¡¼¥Þ¥óʸ»ú¤¬Â³¤¯¾ì¹ç¤Ë¤Ï ¾ï¤Ë»ÈÍѤ¹¤ë¤³¤È¤ÏÎɤ¤¹Í¤¨¤Ç¤¹¡£
\,
¸å³¤¹¤ëʸ»ú¤Î¶õÇò¤ò½¤Àµ¤·¤Þ¤¹¡£ ¤½¤Î·ë²Ì¡¢Àè¹Ô¤¹¤ëʸ»ú¤¬¥í¡¼¥Þ¥óʸ»ú¤Î¾ì¹ç¡¢ ¤½¤Îʸ»ú¤ÈÀè¹Ô¤¹¤ëʸ»ú¤È¤Î´Ö¤Î¶õÇò¤¬Àµ¤·¤¯¤Ê¤ê¤Þ¤¹¡£ Î㤨¤Ð \, ¤ò³ç¸Ì¤È f ¤Î´Ö¤ËÁÞÆþ¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢ (f ¤Ï (f ¤È¤Ê¤ê¤Þ¤¹¡£ ¥í¡¼¥Þ¥óʸ»ú¤Îľ¸å¤Ë¶õÇò¤ò¤Ï¤µ¤Þ¤º¤Ë¥¤¥¿¥ê¥Ã¥¯Ê¸»ú¤¬Â³¤¯¾ì¹ç¤Ë¤Ï ¾ï¤Ë»ÈÍѤ¹¤ë¤³¤È¤ÏÎɤ¤¹Í¤¨¤Ç¤¹¡£
\)
\& ¤Ë»÷¤Æ¤¤¤Þ¤¹¤¬¡¢ cflags ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤êÀë¸À¤µ¤ì¤¿Ê¸»ú¤È¤·¤ÆÆ°ºî¤·¤Þ¤¹¡£ ¤³¤Î¤Ïʸ¤Î½ªÎ»È½Äê¤Î¤¿¤á¤Ë»ÈÍѤ·¤Þ¤¹¡£
\~
¹Ôʬ³ä¤µ¤ì¤Ê¤¤¤¬¡¢¹ÔÆâÉô¤Î¶õÇòÄ´À°¤Ë¤ª¤¤¤ÆÉáÄ̤Îñ¸ì´Ö¶õÇò¤ÈƱÍͤ˿­¤Ó ½Ì¤ß¤¹¤ë¶õÇò¤òÀ¸À®¤·¤Þ¤¹¡£
\:
Éý¤¬ 0 ¤Î¥Ö¥ì¡¼¥¯¥Ý¥¤¥ó¥È¤òÁÞÆþ¤·¤Þ¤¹¡£ \% ¤ÈÅù²Á¤Ç¤¹¤¬¥½¥Õ¥È¥Ï¥¤¥Õ¥óʸ»ú¤òÁÞÆþ¤·¤Þ¤»¤ó¡£
\#
¼¡¤Î²þ¹Ôʸ»ú (¤³¤ì¤ò´Þ¤ß¤Þ¤¹) ¤Þ¤Ç¤ÎÁ´¤Æ¤ò̵»ë¤·¤Þ¤¹¡£ ¥³¥Ô¡¼¥â¡¼¥É¤Ç²ò¼á¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ï \ ¤Ë»÷¤Æ¤¤¤Þ¤¹¤¬¡¢ \ ¤ÏºÇ¸å¤Î²þ¹Ôʸ»ú¤ò̵»ë¤·¤Ê¤¤¤È¤³¤í¤¬°ã¤¤¤Þ¤¹¡£

¿·¤·¤¤¥ê¥¯¥¨¥¹¥È

.aln xx yy
¿ôÃͥ쥸¥¹¥¿¥ª¥Ö¥¸¥§¥¯¥È¤Ç̾Á°¤¬ yy ¤Î¤â¤Î¤Ø¤Î¥¨¥¤¥ê¥¢¥¹ xx ¤òºîÀ®¤·¤Þ¤¹¡£ ¿·¤·¤¤Ì¾Á°¤È¸Å¤¤Ì¾Á°¤Ï´°Á´¤ËÅù²Á¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤â¤· yy ¤¬Ì¤ÄêµÁ¤Î¾ì¹ç¡¢¥¿¥¤¥× reg ¤Î·Ù¹ð¤¬À¸À®¤µ¤ì¡¢¥ê¥¯¥¨¥¹¥È¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
.als xx yy
yy ¤È¤¤¤¦Ì¾Á°¤Î¥ê¥¯¥¨¥¹¥È/ʸ»úÎó/¥Þ¥¯¥í/ž´¹¤Î³Æ¥ª¥Ö¥¸¥§¥¯¥È¤ËÂФ¹¤ë ¥¨¥¤¥ê¥¢¥¹ xx ¤òºîÀ®¤·¤Þ¤¹¡£ ¿·¤·¤¤Ì¾Á°¤È¸Å¤¤Ì¾Á°¤Ï´°Á´¤ËÅù²Á¤Ë¤Ê¤ê¤Þ¤¹ (¥½¥Õ¥È¥ê¥ó¥¯¤ËÂФ¹¤ë¥Ï¡¼¥É¥ê¥ó¥¯¤Î¤è¤¦¤Ê¤â¤Î¤Ç¤¹)¡£ yy ¤¬Ì¤ÄêµÁ¤Ê¤é¡¢¥¿¥¤¥× mac ¤Î·Ù¹ð¤¬À¸À®¤µ¤ì¡¢¥ê¥¯¥¨¥¹¥È¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£ ¥Þ¥¯¥í/ž´¹/ʸ»úÎóž´¹¤¬¸½ºß̤ÄêµÁ¤Ç¤¢¤ë¾ì¹ç¡¢ ¤â¤·¤¯¤Ï¥ê¥¯¥¨¥¹¥È¤È¤·¤ÆÄêµÁ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ de, am, di, da, ds, as ¥ê¥¯¥¨¥¹¥È¤Ï¿·¤·¤¤¥ª¥Ö¥¸¥§¥¯¥È¤òÀ¸À®¤¹¤ë¤À¤±¤Ç¤¹; ¤³¤ì¤é¤ÏÄ̾ï¤Ï´û¤Ë¸ºß¤¹¤ë¥ª¥Ö¥¸¥§¥¯¥È¤ÎÃͤòÊѹ¹¤·¤Þ¤¹¡£
.am1 xx yy
.am ¤ÈƱÍͤǤ¹¤¬¡¢¼Â¹ÔÃæ¤Ë¸ß´¹¥â¡¼¥É¤Ï¥ª¥Õ¤Ë¤Ê¤ê¤Þ¤¹¡£ Æþ¤ë»þ¤Ë¸½ºß¤Î¸ß´¹¥â¡¼¥É¤¬Êݸ¤µ¤ì¡¢½ªÎ»»þ¤Ë²óÉü¤µ¤ì¤Þ¤¹¡£
.asciify xx
¤³¤Î¥ê¥¯¥¨¥¹¥È¤Ï¡¢Å¾´¹ xx ¤ò°Ê²¼¤Î¤è¤¦¤Ë `¥¢¥ó¥Õ¥©¡¼¥Þ¥Ã¥È' ¤·¤Þ¤¹¡£ ¤¹¤Ê¤ï¤Á¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì xx ¤Ëž´¹³ÊǼ¤µ¤ì¤¿ ASCII ¤È¶õÇòʸ»ú (¤½¤·¤Æ¤¤¤¯¤Ä¤«¤Î¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹) ¤¬¡¢ xx ¤¬ºÆÅÙÆɤ߹þ¤Þ¤ì¤ë»þ¤Ë¡¢ÉáÄ̤ËÆþÎϤµ¤ì¤¿Ê¸»ú¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹¡£ .writem ¥ê¥¯¥¨¥¹¥È¤ÈÁȤ߹ç¤ï¤»¤¿Å¾´¹¤ÇÍ­ÍѤǤ¹¡£ ¤Þ¤¿Â硹Ū¤Ê¥Ï¥Ã¥¯¤Ë¤âÍøÍѤǤ­¤Þ¤¹¡£ Î㤨¤Ð¡¢

.tr @.

.di x

@nr n 1

.br

.di

.tr @@

.asciify x

.x

¤Ï¥ì¥¸¥¹¥¿ n ¤ò 1 ¤ËÀßÄꤷ¤Þ¤¹¡£ ¥°¥ê¥Õ¾ðÊó (¥Õ¥©¥ó¥È¡¢¥Õ¥©¥ó¥È¥µ¥¤¥ºÅù¡¹) ¤ÏÊݸ¤µ¤ì¤Þ¤»¤ó¡£ Âå¤ï¤ê¤Ë .unformat ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£
.backtrace
ÆþÎÏ¥¹¥¿¥Ã¥¯¤Î¥Ð¥Ã¥¯¥È¥ì¡¼¥¹¤òɸ½à¥¨¥é¡¼½ÐÎϤ˽ÐÎϤ·¤Þ¤¹¡£
.blm xx
¶õ¹Ô¥Þ¥¯¥í¤ò xx ¤ËÀßÄꤷ¤Þ¤¹¡£ ¶õ¹Ô¥Þ¥¯¥í¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢ ¶õ¹Ô¤Ë½Ð²ñ¤Ã¤¿»þ¤Ë¡¢ Ä̾ï¤Î troff ¤Î¿¶Éñ¤È¤Ï°Û¤Ê¤ê¡¢ ¤³¤Î¥Þ¥¯¥í¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£
.box xx
.boxa xx ¤³¤ì¤é¤Î¥ê¥¯¥¨¥¹¥È¤Ï¡¢ ÅÓÃæ¤Þ¤Ç¹ÔµÍ¤á¤µ¤ì¤¿¹Ô¤¬Å¾´¹¤Î°ìÉô¤Ë¤Ê¤é¤º (¤Ä¤Þ¤êž´¹¤Ï¾ï¤Ë ²þ¹Ô¤«¤é»Ï¤Þ¤ê¤Þ¤¹)¡¢¤·¤«¤·Å¾´¹¤Î½ªÎ»¸å¤ËÌᤵ¤ì¡¢Å¾´¹¤«¤é À¸¤¸¤¿¤Ç¤¢¤í¤¦ÅÓÃæ¤Þ¤Ç¹ÔµÍ¤á¤µ¤ì¤¿¹Ô¤ò ÇË´þ¤¹¤ë¤È¤¤¤¦ÅÀ¤ò½ü¤¤¤Æ¡¢ di ¤È da ¥ê¥¯¥¨¥¹¥È¤ÈƱÍͤǤ¹¡£
.break
while ¥ë¡¼¥×¤òÈ´¤±¤Þ¤¹¡£ while, continue ¥ê¥¯¥¨¥¹¥È¤â¸«¤Æ²¼¤µ¤¤¡£ br ¥ê¥¯¥¨¥¹¥È¤Èº®Æ±¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Æ²¼¤µ¤¤¡£
.brp
\p ¤ÈƱÍͤǤ¹¡£
.cflags n c1 c2...
ʸ»ú c1, c2,... ¤Ï¡¢ n ¤ÇÄêµÁ¤µ¤ì¤ë¥×¥í¥Ñ¥Æ¥£¤ò»ý¤Á¤Þ¤¹¡£ ¤³¤³¤Ç n ¤Ï°Ê²¼¤Î¤â¤Î¤ò OR ¤·¤¿¤â¤Î¤Ç¤¹¡£
1
¤³¤Îʸ»ú¤Çʸ¤¬½ª¤ê¤Þ¤¹¡£ (½é´ü¾õÂ֤ǤÏʸ»ú .?! ¤¬¤³¤Î¥×¥í¥Ñ¥Æ¥£¤ò»ý¤Á¤Þ¤¹);
2
¤³¤Îʸ»ú¤ÎÁ°¤Ç¥é¥¤¥ó¥Ö¥ì¥¤¥¯²Äǽ¤Ç¤¹ (½é´ü¾õÂ֤ǤϤ³¤Î¥×¥í¥Ñ¥Æ¥£¤ò»ý¤Äʸ»ú¤Ï¤¢¤ê¤Þ¤»¤ó); Îʸ»ú¤¬Èó 0 ¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥³¡¼¥É¤ò»ý¤Ä¾ì¹ç¤ò½ü¤­¡¢ ¤³¤Î¥×¥í¥Ñ¥Æ¥£¤ò»ý¤Äʸ»ú¤Î¾ì½ê¤Ç ¥é¥¤¥ó¥Ö¥ì¥¤¥¯¤Ï¤·¤Þ¤»¤ó¡£
4
¤³¤Îʸ»ú¤Î¸å¤Ç¥é¥¤¥ó¥Ö¥ì¥¤¥¯²Äǽ¤Ç¤¹ (½é´ü¾õÂ֤ǤÏʸ»ú -\(hy\(em ¤¬¤³¤Î¥×¥í¥Ñ¥Æ¥£¤ò»ý¤Á¤Þ¤¹); Îʸ»ú¤¬Èó 0 ¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥³¡¼¥É¤ò»ý¤Ä¾ì¹ç¤ò½ü¤­¡¢ ¤³¤Î¥×¥í¥Ñ¥Æ¥£¤ò»ý¤Äʸ»ú¤Î¾ì½ê¤Ç ¥é¥¤¥ó¥Ö¥ì¥¤¥¯¤Ï¤·¤Þ¤»¤ó¡£
8
¤³¤Îʸ»ú¤Ï¿åÊ¿¤Ë¥ª¡¼¥Ð¥é¥Ã¥×¤·¤Þ¤¹¡£ (½é´ü¾õÂ֤ǤÏʸ»ú \(ul\(rn\(ru ¤¬¤³¤Î¥×¥í¥Ñ¥Æ¥£¤ò»ý¤Á¤Þ¤¹);
16
¤³¤Îʸ»ú¤Ï¿âľ¤Ë¥ª¡¼¥Ð¥é¥Ã¥×¤·¤Þ¤¹¡£ (½é´ü¾õÂ֤ǤÏʸ»ú \(br ¤¬¤³¤Î¥×¥í¥Ñ¥Æ¥£¤ò»ý¤Á¤Þ¤¹);
32
¤³¤Î¥×¥í¥Ñ¥Æ¥£¤ò»ý¤Äʸ»ú¤¬Ç¤°Õ¿ô¸å³¤· ¤½¤Î¸å¤Ë²þ¹Ô¤â¤·¤¯¤Ï 2 ¤Ä¤Î¶õÇò¤¬¸å³¤¹¤ë¤è¤¦¤Êʸ¤Î½ª¤ê¤òɽ¤¹Ê¸»ú¤Ï¡¢ ʸ¤Î½ª¤ê¤È¤·¤Æ°·¤ï¤ì¤Þ¤¹; ¸À¤¤Âؤ¨¤ë¤È¡¢¤³¤Îʸ»ú¤Ïʸ¤Î½ª¤ê¤Îǧ¼±¤Ë¤ª¤¤¤ÆÆ©²á¤Ç¤¹; TeX ¤Ë¤ª¤¤¤Æ¥¼¥í¶õÇò¥Õ¥¡¥¯¥¿¤ò»ý¤Ä¤Î¤ÈƱ¤¸¤Ç¤¹ (½é´ü¾õÂ֤ǤÏʸ»ú s')]*\(dg\(rq ¤¬¤³¤Î¥×¥í¥Ñ¥Æ¥£¤ò»ý¤Á¤Þ¤¹)¡£
.char c string
ʸ»ú c ¤ò string ¤ÈÄêµÁ¤·¤Þ¤¹¡£ ʸ»ú c ¤¬É½¼¨¤µ¤ì¤ëɬÍפ¬¤¢¤ë»þ¤Ï¤¤¤Ä¤Ç¤â¡¢ °ì»þŪ¤Ê´Ä¶­¤Ç string ¤¬½èÍý¤µ¤ì¡¢·ë²Ì¤¬Ã±°ì¤Î¥ª¥Ö¥¸¥§¥¯¥È¤·¤ÆÀ¸À®¤µ¤ì¤Þ¤¹¡£ string ¤Î½èÍýÃæ¤Ï¡¢ ¸ß´¹¥â¡¼¥É¤Ï¥ª¥Õ¤Ë¤µ¤ì ¥¨¥¹¥±¡¼¥×ʸ»ú¤Ï \ ¤ËÀßÄꤵ¤ì¤Þ¤¹¡£ ÂÀ»ú²½/Äê¶õÇò²½/¥«¡¼¥Ë¥ó¥°¤Ï¡¢ string ¤Î³Æʸ»ú¤Ç¤Ï¤Ê¤¯¤³¤Î¥ª¥Ö¥¸¥§¥¯¥È¤ËÂФ·¤ÆŬÍѤµ¤ì¤Þ¤¹¡£ ¤³¤Î¥ê¥¯¥¨¥¹¥È¤Ë¤è¤Ã¤ÆÄêµÁ¤µ¤ì¤¿Ê¸»ú¤Ï¡¢ ½ÐÎϥǥХ¤¥¹¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤ëÄ̾ï¤Îʸ»ú¤Î¤è¤¦¤Ë»ÈÍѤǤ­¤Þ¤¹¡£ Æäˡ¢Â¾¤Îʸ»ú¤Ï¤³¤Îʸ»ú¤Ë tr ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤Ã¤ÆÊÑ´¹²Äǽ¤Ç¤¹; ¤³¤Îʸ»ú¤Ï lc ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤Ã¤Æ¥ê¡¼¥Àʸ»ú¤È¤¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¹; \l, \L ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤Ë¤è¤Ã¤Æ¡¢¤³¤Îʸ»ú¤ò·«¤êÊÖ¤·¥Ñ¥¿¥ó¤Ç »ÈÍѤ¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¹; hcode ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤Ã¤Æ¤³¤Îʸ»ú¤¬¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥³¡¼¥É¤ò»ý¤Æ¤Ð¡¢ ¤³¤Îʸ»ú¤ò´Þ¤à¸ì¤ÏÀµ³Î¤Ë¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó²Äǽ¤Ç¤¹¡£ ¤Þ¤¿Æüì¤ÊÈóºÆµ¢µ¡Ç½¤¬¤¢¤ê¤Þ¤¹: ʸ»ú¤ÎÄêµÁÃæ¤Ë¤¤¤Æ»ÈÍѤµ¤ì¤ëʸ»ú¤Ï¡¢ Ä̾ï¤Îʸ»ú¤È¤·¤Æ°·¤ï¤ì¡¢ char ¤Ç¤ÏÄêµÁ¤µ¤ì¤¿¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ʸ»ú¤ÎÄêµÁ¤Ï rchar ¥ê¥¯¥¨¥¹¥È¤Ë¤Æ½üµî²Äǽ¤Ç¤¹¡£
.chop xx
¥Þ¥¯¥í/ʸ»úÎó/ž´¹ xx ¤«¤éºÇ¸å¤Îʸ»ú¤òÀÚ¤êÍî¤È¤·¤Þ¤¹¡£ ʸ»úÎó¤È¤·¤ÆÁÞÆþ¤µ¤ì¤ëž´¹¤«¤éºÇ¸å¤Î²þ¹Ôʸ»ú¤ò½üµî¤¹¤ë¤Î¤ËÍ­¸ú¤Ç¤¹¡£
.close stream
stream ¤È¤¤¤¦Ì¾Á°¤Î¥¹¥È¥ê¡¼¥à¤ò¥¯¥í¡¼¥º¤·¤Þ¤¹; stream ¤Ï write ¥ê¥¯¥¨¥¹¥È¤Î°ú¿ô¤È¤Ï¤Ê¤ê¤¨¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£ open ¥ê¥¯¥¨¥¹¥È¤ò¸«¤Æ²¼¤µ¤¤¡£
.continue
while ¥ë¡¼¥×¤Î¸½ºß¤Î·«¤êÊÖ¤·¤ò½ªÎ»¤·¤Þ¤¹¡£ while, break ¥ê¥¯¥¨¥¹¥È¤â¸«¤Æ²¼¤µ¤¤¡£
.cp n
n ¤¬Èó¥¼¥í¤«Â¸ºß¤·¤Ê¤¤¾ì¹ç¡¢ ¸ß´¹¥â¡¼¥É¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ ¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï¸ß´¹¥â¡¼¥É¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£ ¸ß´¹¥â¡¼¥É¤Ç¤Ï¡¢Ä¹¤¤Ì¾Á°¤ÏÍý²ò¤µ¤ì¤º¡¢ Ť¤Ì¾Á°¤Ëµ¯°ø¤¹¤ëÈó¸ß´¹À­¤ÎÌäÂê¤ÏȯÀ¸¤·¤Þ¤»¤ó¡£
.dei xx yy
´ÖÀÜŪ¤Ë¥Þ¥¯¥í¤òÄêµÁ¤·¤Þ¤¹¡£ ¼¡¤ÎÎã¤Ï

.ds xx aa

.ds yy bb

.dei xx yy

°Ê²¼¤ÈÅù²Á¤Ç¤¹¡£
.de aa bb
.de1 xx yy
.de ¤ÈƱÍͤǤ¹¤¬¡¢¼Â¹ÔÃæ¤Ë¸ß´¹¥â¡¼¥É¤Ï¥ª¥Õ¤Ë¤Ê¤ê¤Þ¤¹¡£ Æþ¤ë»þ¤Ë¸½ºß¤Î¸ß´¹¥â¡¼¥É¤¬Êݸ¤µ¤ì¡¢½ªÎ»»þ¤Ë²óÉü¤µ¤ì¤Þ¤¹¡£
.do xxx
.xxx ¤ò¸ß´¹¥â¡¼¥É¤ò̵¸ú¤Ë¤·¤Æ²ò¼á¤·¤Þ¤¹¡£ Î㤨¤Ð
.do fam T

¤Ï¡¢¸ß´¹¥â¡¼¥É¤¬Í­¸ú¤Ç¤¢¤Ã¤Æ¤âµ¡Ç½¤¹¤ë¤³¤È¤ò½ü¤±¤Ð¡¢

.fam T

¤ÈƱ¤¸¸ú²Ì¤ò»ý¤Á¤Þ¤¹¡£ xxx ¤Ç»ÈÍѤ¹¤ë¥Õ¥¡¥¤¥ë¤ò²ò¼á¤¹¤ëÁ°¤Ë¸ß´¹¥â¡¼¥É¤Ï¸µ¤ËÌᤵ¤ì¤ë¤³¤È¤ËÃí°Õ¤·¤Æ ²¼¤µ¤¤¡£

.ecs
¸½ºß¤Î¥¨¥¹¥±¡¼¥×ʸ»ú¤òÊݸ¤·¤Þ¤¹¡£
.ecr
ecs ¤ÇÊݸ¤·¤¿¥¨¥¹¥±¡¼¥×ʸ»ú¤òÉüµ¢¤·¤Þ¤¹¡£ »öÁ°¤Ë ecs ¤ò¸Æ¤Ó½Ð¤·¤Æ¤¤¤Ê¤¤¤È `\' ¤¬¿·¤·¤¤¥¨¥¹¥±¡¼¥×ʸ»ú¤Ë¤Ê¤ê¤Þ¤¹¡£
.evc xx
´Ä¶­ xx ¤ÎÆâÍƤò¡¢¸½ºß¤Î´Ä¶­¤Ø¥³¥Ô¡¼¤·¤Þ¤¹¡£ ´Ä¶­¤Î¥×¥Ã¥·¥ç¤ª¤è¤Ó¥Ý¥Ã¥×¤Ï¹Ô¤¤¤Þ¤»¤ó¡£
.fam xx
¸½ºß¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥ß¥ê¤ò xx ¤ËÀßÄꤷ¤Þ¤¹¡£ ¸½ºß¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥ß¥ê¤Ï¸½ºß¤Î´Ä¶­¤Î°ìÉô¤Ç¤¹¡£ xx ¤¬Ìµ¤¤¾ì¹ç¤Ï°ÊÁ°¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥ß¥ê¤ËÌá¤ê¤Þ¤¹¡£ ¥Õ¥©¥ó¥È¥Õ¥¡¥ß¥ê¤Ë´Ø¤¹¤ë¤µ¤é¤Ê¤ë¾ðÊó¤Ï¡¢ sty ¥ê¥¯¥¨¥¹¥È¤Î²òÀâ¤ò¸«¤Æ²¼¤µ¤¤¡£
.fspecial f s1 s2...
¸½ºß¤Î¥Õ¥©¥ó¥È¤¬ f ¤Î¾ì¹ç¡¢ ¥Õ¥©¥ó¥È s1, s2,... ¤¬¥¹¥Ú¥·¥ã¥ë¤È¤Ê¤ê¤Þ¤¹¡£ ¤¹¤Ê¤ï¤Á¡¢¸½ºß¤Î¥Õ¥©¥ó¥È¤Ç¸ºß¤·¤Ê¤¤Ê¸»ú¤¬ ¥¹¥Ú¥·¥ã¥ë¥Õ¥©¥ó¥È¤Ë¤ª¤¤¤Æõ¤µ¤ì¤Þ¤¹¡£ special ¥ê¥¯¥¨¥¹¥È¤Ç»ØÄꤵ¤ì¤¿¥Õ¥©¥ó¥È¤Ï fspecial ¥ê¥¯¥¨¥¹¥È¤Ç»ØÄꤵ¤ì¤¿¥Õ¥©¥ó¥È¤Î¸å¤Ëõ¤µ¤ì¤Þ¤¹¡£
.ftr f g
¥Õ¥©¥ó¥È f ¤ò g ¤ËÊÑ´¹¤·¤Þ¤¹¡£ \f ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹Ãæ¡¢ ft, ul, bd, cs, tkf, special, fspecial, fp, sty ¥ê¥¯¥¨¥¹¥ÈÃæ¤Ç¡¢ ̾Á° f ¤Ç»²¾È¤µ¤ì¤ë¥Õ¥©¥ó¥È¤Ë´Ø¤·¤Æ¡¢¥Õ¥©¥ó¥È g ¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£ g ¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¤ª¤è¤Ó f ¤ÈÅù¤·¤¤¾ì¹ç¤Ï¡¢ ¥Õ¥©¥ó¥È f ¤ÏÊÑ´¹¤µ¤ì¤Þ¤»¤ó¡£
.hcode c1 code1 c2 code2...
¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥³¡¼¥É¤ÎÀßÄê¤ò¡¢ ʸ»ú c1 ¤ËÂФ· code1 ¡¢Ê¸»ú c2 ¤ËÂФ· code2 ¤È¤¤¤¦¤Õ¤¦¤Ë¹Ô¤¤¤Þ¤¹¡£ ¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥³¡¼¥É¤Ï¡¢ ¿ô»ú¤â¤·¤¯¤Ï¶õÇò°Ê³°¤Îñ°ìÆþÎÏʸ»ú (Èó¥¹¥Ú¥·¥ã¥ë¤Êʸ»ú) ¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ ½é´ü¾õÂ֤Ǥϡ¢ ³Æ¾®Ê¸»ú¤Ï¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥³¡¼¥É¤ò¤½¤ì¼«ÂΤÎʸ»ú¤È¤·¤Æ»ý¤Á¡¢ ³ÆÂçʸ»ú¤Ï¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥³¡¼¥É¤ò³Æ¾®Ê¸»ú¤È¤·¤Æ»ý¤Á¤Þ¤¹¡£ hpf ¥ê¥¯¥¨¥¹¥È¤â¸«¤Æ²¼¤µ¤¤¡£
.hla lang
¸½ºß¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¸À¸ì¤ò lang ¤ËÀßÄꤷ¤Þ¤¹¡£ hw ¥ê¥¯¥¨¥¹¥È¤Ç»ØÄꤵ¤ì¤ë¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥óÎã³° ¤ª¤è¤Ó hpf ¥ê¥¯¥¨¥¹¥È¤Ç»ØÄꤵ¤ì¤ë¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥Ñ¥¿¥ó¤Ï ¸½ºß¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¸À¸ì¤Ë´ØÏ¢¤Å¤±¤é¤ì¤Þ¤¹¡£ hla ¥ê¥¯¥¨¥¹¥È¤ÏÄ̾ï troffrc ¥Õ¥¡¥¤¥ë¤«¤éµ¯Æ°¤µ¤ì¤Þ¤¹¡£
.hlm n
¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¤µ¤ì¤¿¹Ô¤¬Ï¢Â³¤Ç¤­¤ë¹Ô¿ô¤ÎºÇÂçÃͤò n ¤ËÀßÄꤷ¤Þ¤¹¡£ n ¤¬Éé¤Î¾ì¹ç¡¢ºÇÂçÃͤϤ¢¤ê¤Þ¤»¤ó¡£ ¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï -1 ¤Ç¤¹¡£ ¤³¤ÎÃͤϸ½ºß¤Î´Ä¶­¤È´ØÏ¢¤Å¤±¤é¤ì¤Æ¤¤¤Þ¤¹¡£ ¹Ô¿ô¤Î¥«¥¦¥ó¥È¤Ï¡¢°ì¤Ä¤Î´Ä¶­¤ÎÃæ¤Ç¤½¤Î´Ä¶­¤Ç¤ÎºÇÂçÃͤޤǹԤï¤ì¤Þ¤¹¡£ \% ¤Î·ë²Ì¤Î¥Ï¥¤¥Õ¥ó¤Ï¥«¥¦¥ó¥È¤µ¤ì¤Þ¤¹; ÌÀ¼¨Åª¤Ê¥Ï¥¤¥Õ¥ó¤Ï¥«¥¦¥ó¥È¤µ¤ì¤Þ¤»¤ó¡£
.hpf file
¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥Ñ¥¿¥ó¤ò file ¤«¤éÆɤ߹þ¤ß¤Þ¤¹; ¥Õ¥¡¥¤¥ë¤Îõº÷¤Ï¡¢ -mname ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿»þ¤Ë name.tmac ¤¬Ãµ¤µ¤ì¤ë¤Î¤ÈƱ¤¸ÊýË¡¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£ ¤³¤Î¥Ñ¥¿¥ó¤Ï TeX ¤Ë¤ª¤±¤ë \patterns ¥×¥ê¥ß¥Æ¥£¥Ö¤Î°ú¿ô¤È Ʊ¤¸¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤¢¤ëɬÍפ¬¤¢¤ê¤Þ¤¹; ¤³¤Î¥Õ¥¡¥¤¥ëÃæ¤Îʸ»ú¤Ï¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥³¡¼¥É¤È¤·¤Æ²ò¼á¤µ¤ì¤Þ¤¹¡£ ¥Ñ¥¿¥ó¥Õ¥¡¥¤¥ëÃæ¤Î % ʸ»ú¤Ï¹ÔËö¤Þ¤Ç¤Î¥³¥á¥ó¥È¤òɽ¤·¤Þ¤¹¡£ ¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥Ñ¥¿¥ó¤Î¥»¥Ã¥È¤Ï hla ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤ê»ØÄꤵ¤ì¤ë¸À¸ì¤Ë´ØÏ¢¤Å¤±¤é¤ì¤Þ¤¹¡£ hpf ¥ê¥¯¥¨¥¹¥È¤ÏÄ̾ï troffrc ¥Õ¥¡¥¤¥ë¤Ë¤è¤êµ¯Æ°¤µ¤ì¤Þ¤¹¡£
.hym n
¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥Þ¡¼¥¸¥ó ¤ò n ¤ËÀßÄꤷ¤Þ¤¹: ¸½ºß¤Î½¤Àµ¥â¡¼¥É¤¬ b ¤Ç¤Ï¤Ê¤¤»þ¡¢ ¹Ô¤¬ n ¤è¤êû¤¤¾ì¹ç¤Ë¤Ï¹Ô¤Ï¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¤µ¤ì¤Þ¤»¤ó¡£ ¥Ç¥Õ¥©¥ë¥È¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥Þ¡¼¥¸¥ó¤Ï 0 ¤Ç¤¹¡£ ¤³¤Î¥ê¥¯¥¨¥¹¥È¤ËÂФ¹¤ë¥Ç¥Õ¥©¥ë¥È¤Î¥¹¥±¡¼¥ê¥ó¥°¥¤¥ó¥¸¥±¡¼¥¿¤Ï m ¤Ç¤¹¡£ ¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥Þ¡¼¥¸¥ó¤Ï¸½ºß¤Î´Ä¶­¤È´ØÏ¢¤Å¤±¤é¤ì¤Æ¤¤¤Þ¤¹¡£ ¸½ºß¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥Þ¡¼¥¸¥ó¤Ï \n[.hym] ¥ì¥¸¥¹¥¿¤ò²ð¤·¤ÆÍøÍѲÄǽ¤Ç¤¹¡£
.hys n
¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¶õÇò¤ò n ¤ËÀßÄꤷ¤Þ¤¹: ¸½ºß¤Î½¤Àµ¥â¡¼¥É¤¬ b ¤Î¾ì¹ç¡¢ ³Æñ¸ì¤Î´Ö¤Î´Ö³Ö¤ËÄɲ乤ë´Ö³Ö¤ÎÉý¤ò n °Ê²¼¤Ç¹ÔÄ´À°¤¬ºÑ¤Þ¤»¤é¤ì¤ë¾ì¹ç¡¢¤½¤Î ¹Ô¤Ï¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¤µ¤ì¤Þ¤»¤ó¡£ ¥Ç¥Õ¥©¥ë¥È¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¶õÇò¤Ï 0 ¤Ç¤¹¡£ ¤³¤Î¥ê¥¯¥¨¥¹¥È¤ËÂФ¹¤ë¥Ç¥Õ¥©¥ë¥È¤Î¥¹¥±¡¼¥ê¥ó¥°¥¤¥ó¥¸¥±¡¼¥¿¤Ï m ¤Ç¤¹¡£ ¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¶õÇò¤Ï¸½ºß¤Î´Ä¶­¤È´ØÏ¢¤Å¤±¤é¤ì¤Æ¤¤¤Þ¤¹¡£ ¸½ºß¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¶õÇò¤Ï \n[.hys] ¥ì¥¸¥¹¥¿¤ò²ð¤·¤ÆÍøÍѲÄǽ¤Ç¤¹¡£
.kern n
n ¤¬Èó 0 ¤«»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢Ê¸»ú¥Ú¥¢´Ö¥«¡¼¥Ë¥ó¥°¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ ¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ïʸ»ú¥Ú¥¢´Ö¤Î¥«¡¼¥Ë¥ó¥°¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£
.length xx string
string ¤ÎŤµ¤ò·×»»¤·¡¢¤³¤ì¤ò¿ôÃͥ쥸¥¹¥¿ xx (Á°¤â¤Ã¤ÆÄêµÁ¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó) ¤ËÆþ¤ì¤ÆÊÖ¤·¤Þ¤¹¡£
.linetabs n
n ¤¬ 0 ¤Ç¤Ê¤¤¤«¾Êά¤µ¤ì¤ë¤È¥é¥¤¥ó-¥¿¥Ö¥â¡¼¥É¤¬Í­¸ú¤Ë¤Ê¤ê¡¢ ¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï̵¸ú¤Ë¤·¤Þ¤¹ (¥Ç¥Õ¥©¥ë¥È¤Ï̵¸ú¤Ç¤¹)¡£ ¥é¥¤¥ó-¥¿¥Ö¥â¡¼¥É¤Ç¤Ï¥¿¥Ö¤ÎÉý¤¬ (¸½ºß¤Î) ½ÐÎϹԤ˱þ¤¸¤Æ ·×»»¤µ¤ì¤Þ¤¹¡£¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤ÏÆþÎϹԤ˱þ¤¸¤Æ·×»»¤µ¤ì¤Þ¤¹¡£ Î㤨¤Ð¼¡¤Î¥½¡¼¥¹

.ds x a\t\c

.ds y b\t\c

.ds z c

.ta 1i 3i

\*x

\*y

\*z

¤Ï°Ê²¼¤òÀ¸À®¤·¤Þ¤¹¡£
a b c
¥é¥¤¥ó-¥¿¥Ö¥â¡¼¥É¤Ç¤ÏƱ¤¸¥³¡¼¥É¤¬°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
a b c
¥é¥¤¥ó-¥¿¥Ö¥â¡¼¥É¤Ï¸½ºß¤Î´Ä¶­¤Ë´ØÏ¢¤Å¤±¤é¤ì¤Þ¤¹¡£¥é¥¤¥ó-¥¿¥Ö¥â¡¼¥É¤Ç¤Ï Æɤ߽Ф·ÀìÍѤοôÃͥ쥸¥¹¥¿ \en[.linetabs] ¤¬ ~1 ¤Ë¥»¥Ã¥È¤µ¤ì¡¢¤½¤¦¤Ç¤Ê¤±¤ì¤Ð 0 ¤Ë¥»¥Ã¥È¤µ¤ì¤Þ¤¹¡£
.mso file
-m ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤Ë ¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤ò¸¡º÷¤¹¤ë¤Î¤ÈƱ¤¸¥Ç¥£¥ì¥¯¥È¥ê¤Ç file ¤ò¸¡º÷¤¹¤ëÅÀ¤ò½ü¤¤¤Æ so ¥ê¥¯¥¨¥¹¥È¤ÈƱ¤¸¤Ç¤¹¡£ ¥¤¥ó¥¯¥ë¡¼¥É¤¹¤ë¥Õ¥¡¥¤¥ë̾¤¬ name.tmac ¤Î·Á¼°¤Ç¡¢¸«¤Ä¤«¤é¤Ê¤¤¾ì¹ç¤Ï¡¢Âå¤ï¤ê¤Ë mso ¤Ï tmac.name ¤ò¥¤¥ó¥¯¥ë¡¼¥É¤·¤è¤¦¤È¤·¤Þ¤¹¡£ µÕ¤â¤Þ¤¿Æ±ÍͤǤ¹¡£
.nop anything
anything ¤ò¼Â¹Ô¤·¤Þ¤¹¡£ ¤³¤ì¤Ï `.if 1' ¤ÈƱÍͤǤ¹¡£
.nroff
n ¥Ó¥ë¥È¥¤¥ó¾ò·ï¤ò¿¿¤Ë¤·¡¢ t ¥Ó¥ë¥È¥¤¥ó¾ò·ï¤òµ¶¤Ë¤·¤Þ¤¹¡£ troff ¥ê¥¯¥¨¥¹¥È¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¡¢µÕ¤Ë¤Ç¤­¤Þ¤¹¡£
.open stream filename
filename ¤ò½ñ¤­¹þ¤ß¤Î¤¿¤á¤Ë¥ª¡¼¥×¥ó¤·¡¢ stream ¤È¤¤¤¦Ì¾Á°¤Î¥¹¥È¥ê¡¼¥à¤È´ØÏ¢¤Å¤±¤Þ¤¹¡£ close, write ¥ê¥¯¥¨¥¹¥È¤â¸«¤Æ²¼¤µ¤¤¡£
.opena stream filename
open ¤ÈƱÍͤǤ¹¤¬¡¢ filename ¤¬Â¸ºß¤¹¤ë¾ì¹ç¡¢½Ì¾®¤¹¤ë¤³¤È¤Ï¤»¤º¤Ë¡¢¥¢¥Ú¥ó¥É¤·¤Þ¤¹¡£
.pnr
¸½ºßÄêµÁ¤µ¤ì¤Æ¤¤¤ë¿ôÃͥ쥸¥¹¥¿¤Î̾Á°¤ÈÆâÍƤòɸ½à¥¨¥é¡¼½ÐÎϤ˽ÐÎϤ·¤Þ¤¹¡£
.psbb filename
PostScript ¥¤¥á¡¼¥¸ filename ¤Î¥Ð¥¦¥ó¥Ç¥£¥ó¥°¥Ü¥Ã¥¯¥¹¤òÆÀ¤Þ¤¹¡£ ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢ Adobe ¤Î Document Structuring Conventions ¤Ë½¾¤¦¤³¤È¤¬É¬ÍפǤ¹¡£ ¤³¤Î¥³¥Þ¥ó¥É¤Ï¡¢ %%BoundingBox ¥³¥á¥ó¥È¤òõ¤·¡¢¥Ð¥¦¥ó¥Ç¥£¥ó¥°¥Ü¥Ã¥¯¥¹ÃͤòÆÀ¤Þ¤¹¡£ ¸Æ¤Ó½Ð¤·¤ËÀ®¸ù¤¹¤ë¤È¡¢ º¸²¼¤È±¦¾å¤Î³Ñ¤ÎºÂɸ¤¬ (PostScript ñ°Ì¤Ç)¡¢¥ì¥¸¥¹¥¿ \n[llx], \n[lly], \n[urx], \n[ury] ¤Ë¤½¤ì¤¾¤ìÀßÄꤵ¤ì¤Þ¤¹¡£ ¤Ê¤ó¤é¤«¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë¤È¡¢4 ¸Ä¤Î¥ì¥¸¥¹¥¿¤Ï 0 ¤ËÀßÄꤵ¤ì¤Þ¤¹¡£
.pso command
ÆþÎϤ¬ command ¤Îɸ½à½ÐÎϤǤ¢¤ë¤³¤È¤ò½ü¤±¤Ð¡¢ so ¥ê¥¯¥¨¥¹¥È¤Î¤è¤¦¤ËÆ°ºî¤·¤Þ¤¹¡£
.ptr
Á´¤Æ¤Î¥È¥é¥Ã¥× (ÆþÎϹԤΥȥé¥Ã¥×¤Èž´¹¤Î¥È¥é¥Ã¥×¤Ï½ü¤­¤Þ¤¹) ¤Î̾Á°¤È°ÌÃÖ¤òɸ½à¥¨¥é¡¼½ÐÎϤ˽ÐÎϤ·¤Þ¤¹¡£ ¥Ú¡¼¥¸¥È¥é¥Ã¥×¥ê¥¹¥È¤Î¶õ¤Î¥¹¥í¥Ã¥È¤â½ÐÎϤµ¤ì¤Þ¤¹¡£ ¤Ê¤¼¤Ê¤é¡¢¸å¤ÇÀßÃÖ¤µ¤ì¤ë¥È¥é¥Ã¥×¤ÎÍ¥ÀèÅ٤˱ƶÁ¤òÍ¿¤¨ÆÀ¤ë¤«¤é¤Ç¤¹¡£
.rchar c1 c2...
ʸ»ú c1, c2,... ¤ÎÄêµÁ¤ò¼è¤ê½ü¤­¤Þ¤¹¡£ char ¥ê¥¯¥¨¥¹¥È¤Î±Æ¶Á¤ò¼è¤ê½ü¤­¤Þ¤¹¡£
.return
¥Þ¥¯¥íÃæ¤Ç¤¢¤ì¤Ð¨ºÂ¤ËÉüµ¢¤·¤Þ¤¹¡£ ¤½¤ì°Ê³°¤Ç¤Ï²¿¤â¤·¤Þ¤»¤ó¡£
.rj

.rj n ¸å³¤¹¤ë n ÆþÎϹԤò±¦Â·¤¨¤·¤Þ¤¹¡£ °ú¿ô¤¬Ìµ¤¤¾ì¹ç¡¢¼¡¤Î¹Ô¤ò±¦Â·¤¨¤·¤Þ¤¹¡£ ±¦Â·¤¨¤µ¤ì¤ë¹Ô¤Î¿ô¤Ï \n[.rj] ¥ì¥¸¥¹¥¿¤ò²ð¤·¤ÆÍøÍѲÄǽ¤Ç¤¹¡£ Ëܥꥯ¥¨¥¹¥È¤Ë¤è¤ê°ÅÌÛŪ¤Ë .ce 0 ¤È¤Ê¤ê¤Þ¤¹¡£ ce ¥ê¥¯¥¨¥¹¥È¤Ï°ÅÌÛŪ¤Ë .rj 0 ¤·¤Þ¤¹¡£
.rnn xx yy
¿ôÃͥ쥸¥¹¥¿ xx ¤ò yy ¤Ë¥ê¥Í¡¼¥à¤·¤Þ¤¹¡£
.shc c
¥½¥Õ¥È¥Ï¥¤¥Õ¥óʸ»ú¤ò c ¤Ë¤·¤Þ¤¹¡£ c ¤¬¾Êά¤µ¤ì¤¿¾ì¹ç¡¢ ¥½¥Õ¥È¥Ï¥¤¥Õ¥óʸ»ú¤Ï¥Ç¥Õ¥©¥ë¥È¤Î \(hy ¤Ë¤Ê¤ê¤Þ¤¹¡£ ¥½¥Õ¥È¥Ï¥¤¥Õ¥óʸ»ú¤Ï¡¢¸ì¤¬¥é¥¤¥ó¥Ö¥ì¥¤¥¯¤Ë¤è¤Ã¤Æ¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¤µ¤ì¤ë»þ¤Ë ÁÞÆþ¤µ¤ì¤ëʸ»ú¤Ç¤¹¡£ ¥Ö¥ì¥¤¥¯¤¹¤Ù¤­°ÌÃ֤ξÁ°¤Îʸ»ú¤Î¥Õ¥©¥ó¥È¤Ë¥½¥Õ¥È¥Ï¥¤¥Õ¥óʸ»ú¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¡¢ ¤½¤Î¤è¤¦¤Ê°ÌÃ֤Ǥϥ֥쥤¥¯¤·¤Þ¤»¤ó¡£ ¥½¥Õ¥È¥Ï¥¤¥Õ¥óʸ»ú¤ò¸«ÉÕ¤±¤ë»þ¤Ë¤Ï¡¢ ÄêµÁ ( char ¥ê¥¯¥¨¥¹¥È¤Ç»ØÄê) ¤âÊÑ´¹ ( tr ¥ê¥¯¥¨¥¹¥È¤Ç»ØÄê) ¤â²ò¼á¤µ¤ì¤Þ¤»¤ó¡£
.shift n
¥Þ¥¯¥íÃæ¤Ç°ú¿ô¤ò n ¥Ý¥¸¥·¥ç¥ó¤À¤±¥·¥Õ¥È¤·¤Þ¤¹: °ú¿ô i ¤Ï°ú¿ô i-n ¤È¤Ê¤ê¤Þ¤¹; °ú¿ô 1 ¤«¤é n ¤Ï»ÈÍÑÉÔǽ¤È¤Ê¤ê¤Þ¤¹¡£ n ¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢ °ú¿ô¤Ï 1 ¥·¥Õ¥È¤µ¤ì¤Þ¤¹¡£ Éé¤Î¥·¥Õ¥È¤Ï¸½ºß̤ÄêµÁ¤Ç¤¹¡£
.special s1 s2...
¥Õ¥©¥ó¥È s1, s2, ¤Ï¥¹¥Ú¥·¥ã¥ë¤Ç¤¢¤ê¡¢ ¸½ºß¤Î¥Õ¥©¥ó¥È¤Ë¤Ï̵¤¤Ê¸»ú¤¬Ãµ¤µ¤ì¤Þ¤¹¡£
.sty n f
¥¹¥¿¥¤¥ë f ¤ò¥Õ¥©¥ó¥È°ÌÃÖ n ¤È´ØÏ¢¤Å¤±¤Þ¤¹¡£ ¥Õ¥©¥ó¥È°ÌÃ֤ϥե©¥ó¥È¤â¤·¤¯¤Ï¥¹¥¿¥¤¥ë¤È´ØÏ¢¤Å¤±²Äǽ¤Ç¤¹¡£ ¸½ºß¤Î¥Õ¥©¥ó¥È¤Ï¥Õ¥©¥ó¥È°ÌÃ֤Υ¤¥ó¥Ç¥Ã¥¯¥¹¤Ç¤¢¤ê¡¢ ¤Ä¤Þ¤ê¡¢¥Õ¥©¥ó¥È¤â¤·¤¯¤Ï¥¹¥¿¥¤¥ë¤Ç¤¹¡£ ¸½ºß¤Î¥Õ¥©¥ó¥È¤¬¥¹¥¿¥¤¥ë¤Ç¤¢¤ë¾ì¹ç¡¢ ¼ÂºÝ¤Ë»ÈÍѤµ¤ì¤ë¥Õ¥©¥ó¥È¤Ï¡¢ ¸½ºß¤Î¥Õ¥¡¥ß¥ê̾¤È¸½ºß¤Î¥¹¥¿¥¤¥ë̾¤È¤ò·ë¹ç¤·¤¿Ì¾Á°¤ò¤â¤Ä¤â¤Î¤È¤Ê¤ê¤Þ¤¹¡£ Î㤨¤Ð¸½ºß¤Î¥Õ¥©¥ó¥È¤¬ 1 ¤Ç¤¢¤ê¡¢¥Õ¥©¥ó¥È°ÌÃÖ 1 ¤¬¥¹¥¿¥¤¥ë R ¤È´ØÏ¢¤Å¤±¤é¤ì¤Æ¤ª¤ê¡¢ ¸½ºß¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥ß¥ê¤¬ T ¤Ç¤¢¤ë¾ì¹ç¡¢ ¥Õ¥©¥ó¥È TR ¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£ ¸½ºß¤Î¥Õ¥©¥ó¥È¤¬¥¹¥¿¥¤¥ë¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢ ¸½ºß¤Î¥Õ¥¡¥ß¥ê¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£ ¥ê¥¯¥¨¥¹¥È cs, bd, tkf, uf, fspecial ¤¬¥¹¥¿¥¤¥ë¤ËŬÍѤµ¤ì¤ë¾ì¹ç¡¢ ¼ÂºÝ¤ÏÅö³º¥¹¥¿¥¤¥ë¤ËÂбþ¤¹¤ë¸½ºß¤Î¥Õ¥¡¥ß¥ê¤Î¥á¥ó¥Ð¤ËÂФ·¤ÆŬÍѤµ¤ì¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¥Õ¥¡¥ß¥ê¤Ï -f ¥ª¥×¥·¥ç¥ó¤ÇÀßÄê¤Ç¤­¤Þ¤¹¡£ DESC ¥Õ¥¡¥¤¥ëÃæ¤Î¥¹¥¿¥¤¥ë¥³¥Þ¥ó¥É¤¬¡¢ (¤â¤·Â¸ºß¤¹¤ì¤Ð) ¤É¤Î¥Õ¥©¥ó¥È°ÌÃÖ¤¬½é´ü¾õÂ֤ˤª¤¤¤Æ ¥Õ¥©¥ó¥È¤Ç¤Ï¤Ê¤¯¥¹¥¿¥¤¥ë¤Ë´ØÏ¢¤Å¤±¤é¤ì¤Æ¤¤¤ë¤Î¤«¤òÀ©¸æ¤·¤Þ¤¹¡£
.substring xx n1 [n2]
¥ì¥¸¥¹¥¿ xx Ãæ¤Îʸ»úÎó¤ò¡¢¥¤¥ó¥Ç¥Ã¥¯¥¹ n1 ¤È n2 ¤Ç»ØÄꤵ¤ì¤ë¥µ¥Öʸ»úÎó¤ÇÃÖ¤­´¹¤¨¤Þ¤¹¡£ ʸ»úÎó¤ÎºÇ½é¤Îʸ»ú¤Ï¥¤¥ó¥Ç¥Ã¥¯¥¹ 1 ¤Ç¤¹¡£ n2 ¤¬¾Êά¤µ¤ì¤ë¤È¡¢Ê¸»úÎó¤ÎŤµ¤È¤ß¤Ê¤µ¤ì¤Þ¤¹¡£ ¥¤¥ó¥Ç¥Ã¥¯¥¹ÃÍ n1 ¤Þ¤¿¤Ï n2 ¤¬Éé¤Þ¤¿¤Ï 0 ¤Ç¤¢¤ë¾ì¹ç¡¢Ê¸»úÎó¤ÎËöÈø¤«¤é¸å¤í¸þ¤­¤Ë¿ô¤¨¤Þ¤¹¡£ ¤¹¤Ê¤ï¤Á¡¢ºÇ¸å¤Îʸ»ú¤¬¥¤¥ó¥Ç¥Ã¥¯¥¹ 0 ¤Ç¤¢¤ê¡¢ ºÇ¸å¤Îʸ»ú¤ÎÁ°¤Îʸ»ú¤¬ -1 ¤Ê¤É¤È¤Ê¤ê¤Þ¤¹¡£
.tkf f s1 n1 s2 n2
¥Õ¥©¥ó¥È f ¤ËÂФ·¥È¥é¥Ã¥¯¥«¡¼¥Ë¥ó¥°¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ ¸½ºß¤Î¥Õ¥©¥ó¥È¤¬ f ¤Ç¤¢¤ë¾ì¹ç¡¢ Á´¤Æ¤Îʸ»ú¤ÎÉý¤¬ n1 ¤«¤é n2 ¤ÎÈϰϤÇÁý²Ã¤·¤Þ¤¹; ¸½ºß¤Î¥Ý¥¤¥ó¥È¥µ¥¤¥º¤¬ s1 °Ê²¼¤Î¾ì¹ç¡¢Éý¤Ï n1 Áý¤¨¤Þ¤¹; ¸½ºß¤Î¥Ý¥¤¥ó¥È¥µ¥¤¥º¤¬ s2 °Ê¾å¤Î¾ì¹ç¡¢Éý¤Ï n2 Áý¤¨¤Þ¤¹; ¥Ý¥¤¥ó¥È¥µ¥¤¥º¤¬ s1 °Ê¾å¤«¤Ä s2 °Ê²¼¤Î¾ì¹ç¤Ï¡¢ Áý²Ã¤¹¤ëÉý¤Ï¥Ý¥¤¥ó¥È¥µ¥¤¥º¤ÎÀþ·Á´Ø¿ô¤È¤Ê¤ê¤Þ¤¹¡£
.tm1 string
tm ¥ê¥¯¥¨¥¹¥È¤ÈƱÍͤǤ¹¡£ string ¤¬¥³¥Ô¡¼¥â¡¼¥É¤ÇÆɤ߹þ¤Þ¤ì¤Æɸ½à¥¨¥é¡¼¤Ë½ñ¤­½Ð¤µ¤ì¤Þ¤¹¡£ ¤¿¤À¤·ÀèƬ¤Ë¶õÇò¤òÃÖ¤±¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ë¡¢ string ¤ÎºÇ½é¤Î¥À¥Ö¥ë¥¯¥©¡¼¥È¤Ï¼è¤ê½ü¤«¤ì¤Þ¤¹¡£
.tmc string
tm1 ¤ÈƱÍͤǤ¹¤¬ºÇ¸å¤Î²þ¹Ô¤ò½ÐÎϤ·¤Þ¤»¤ó¡£
.trf filename
Æ©²áŪ¤Ë¥Õ¥¡¥¤¥ë filename ¤ÎÆâÍƤò½ÐÎϤ·¤Þ¤¹¡£ ³Æ¹Ô¤Î½ÐÎϤϳƹԤÎÀèƬ¤Ë \! ¤Ä¤¤¤¿¤â¤Î¤È¤·¤Æ½ÐÎϤµ¤ì¤Þ¤¹¡£ ¤·¤«¤·¡¢ ¹Ô¤Ï¥³¥Ô¡¼¥â¡¼¥É¤Ë¤ª¤±¤ë²ò¼á¤ÎÂоݤȤϤʤê¤Þ¤»¤ó¡£ ¥Õ¥¡¥¤¥ë¤¬²þ¹Ôʸ»ú¤Ç½ª¤é¤Ê¤¤¾ì¹ç¡¢²þ¹Ôʸ»ú¤¬Äɲ䵤ì¤Þ¤¹¡£ Î㤨¤Ð¡¢¥Õ¥¡¥¤¥ë f ¤ÎÆâÍƤò´Þ¤à¥Þ¥¯¥í x ¤òÄêµÁ¤¹¤ë¤Ë¤Ï¡¢
.di x
.trf f
.di

¤È¤·¤Þ¤¹¡£ cf ¥ê¥¯¥¨¥¹¥È¤È¤Ï°Û¤Ê¤ê¡¢ ¥Õ¥¡¥¤¥ëÃæ¤Ë¤Ï NUL ¤È¤¤¤Ã¤¿ troff ÆþÎÏʸ»ú¤È¤·¤ÆÉÔÀµ¤Ê¤â¤Î¤ò´Þ¤à¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£

.trnt abcd
\! ¤Ë¤è¤êž´¹¤ØÆ©²áŪ¤Ë¼è¤ê¹þ¤Þ¤ì¤ë¥Æ¥­¥¹¥È¤ËÂФ·¤ÆŬÍѤµ¤ì¤Ê¤¤¤³¤È¤ò½ü¤¤¤Æ¡¢ tr ¥ê¥¯¥¨¥¹¥È¤ÈƱ¤¸¤Ç¤¹¡£ Î㤨¤Ð¡¢

.tr ab

.di x

\!.tm a

.di

.x


¤Ï b ¤òɽ¼¨¤·¤Þ¤¹; trnt ¤¬ tr ¤Î¤«¤ï¤ê¤Ë»È¤ï¤ì¤¿¾ì¹ç¡¢ a ¤òɽ¼¨¤·¤Þ¤¹¡£

.troff
n ¥Ó¥ë¥È¥¤¥ó¾õÂÖ¤òµ¶¤Ë¡¢ t ¥Ó¥ë¥È¥¤¥ó¾õÂÖ¤ò¿¿¤Ë¤·¤Þ¤¹¡£ nroff ¥ê¥¯¥¨¥¹¥È¤Î¸ú²Ì¤òÂǤÁ¾Ã¤·¤Þ¤¹¡£
.unformat xx
¤³¤Î¥ê¥¯¥¨¥¹¥È¤Ï¡¢Å¾´¹ xx ¤ò `¥¢¥ó¥Õ¥©¡¼¥Þ¥Ã¥È' ¤·¤Þ¤¹¡£ ž´¹¤ÎÀ°·ÁºÑ¤ßÍ×ÁǤò²Äǽ¤Ê¸Â¤êÆþÎϥȡ¼¥¯¥ó¤ËÉü¸µ¤·¤è¤¦¤È»î¤ß¤ë .asciify ¥ê¥¯¥¨¥¹¥È¤È¤ÏµÕ¤Ë¡¢ .unformat ¤Ïñ¸ì´Ö¤Î¥¿¥Ö¤È¥¹¥Ú¡¼¥¹ (Ä̾ÆþÎÏÃæ¤Î¥¹¥Ú¡¼¥¹¤«²þ¹Ô¤ÇÀ¸¤¸¤ë) ¤Î¤ß ÆÃÊÌ°·¤¤¤·¤Þ¤¹¡£ Á°¼Ô¤Ï¤½¤ì¤é¤¬ÆþÎϥȡ¼¥¯¥ó¤Ç¤¢¤ë¤«¤Î¤è¤¦¤Ë°·¤ï¤ì¤Þ¤¹¡£¤½¤·¤Æ¸å¼Ô¤Ï ºÆ¤Ó¿­¤Ó½Ì¤ß²Äǽ¤È°·¤ï¤ì¤Þ¤¹¡£ ¹Ô¤Î¿âľÊý¸þ¤Î¥µ¥¤¥º¤¬Êݸ¤µ¤ì¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ ¥°¥ê¥Õ¾ðÊó (¥Õ¥©¥ó¥È¡¢¥Õ¥©¥ó¥È¥µ¥¤¥º¡¢¥¹¥Ú¡¼¥¹ÉýÅù¡¹) ¤Ï Êݤ¿¤ì¤Þ¤¹¡£ .box ¤È .boxa ¥ê¥¯¥¨¥¹¥È¤ÈÁȤ߹ç¤ï¤»¤ë¤ÈÊØÍø¤Ç¤¹¡£
.vpt n
n ¤¬Èó 0 ¤Î¾ì¹ç ¿âľ°ÌÃ֥ȥé¥Ã¥×¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ ¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¡¢¿âľ°ÌÃ֥ȥé¥Ã¥×¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£ ¿âľ°ÌÃ֥ȥé¥Ã¥×¤Ï wh , dt ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤êÀßÄꤵ¤ì¤ë¥È¥é¥Ã¥×¤Ç¤¹¡£ it ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤êÀßÄꤵ¤ì¤ë¥È¥é¥Ã¥×¤Ï¿âľ°ÌÃ֥ȥé¥Ã¥×¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¿âľ°ÌÃ֥ȥé¥Ã¥×¤¬È¯À¸¤¹¤ë¤«Èݤ«¤òÀ©¸æ¤¹¤ë¤³¤Î¥Ñ¥é¥á¡¼¥¿¤ÏÂç°èŪ¤Ç¤¹¡£ ½é´ü¾õÂ֤ǤϿâľ°ÌÃ֥ȥé¥Ã¥×¤ÏÍ­¸ú¤Ç¤¹¡£
.warn n
·Ù¹ð¤òÀ©¸æ¤·¤Þ¤¹¡£ n ¤ÏÍ­¸ú¤È¤µ¤ì¤ë¤Ù¤­·Ù¹ð¤È´ØÏ¢¤Å¤±¤é¤ì¤¿¿ô¤ÎϤǤ¹; ¤½¤Î¾¤Î·Ù¹ð¤Ï̵¸ú¤È¤Ê¤ê¤Þ¤¹¡£ ·Ù¹ð¤È´ØÏ¢¤Å¤±¤é¤ì¤ë¿ô¤Î¥ê¥¹¥È¤Ï`·Ù¹ð'¤Î¾Ï¤Ëµ­ºÜ¤·¤Þ¤¹¡£ Î㤨¤Ð .warn 0 ¤ÏÁ´¤Æ¤Î·Ù¹ð¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£ ¤Þ¤¿¡¢ .warn 1 ¤Ï¸ºß¤·¤Ê¤¤Ê¸»ú¤Ë´Ø¤¹¤ë·Ù¹ð¤Î¤ß¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£ n ¤¬Í¿¤¨¤é¤ì¤Ê¤¤¾ì¹ç¡¢ Á´¤Æ¤Î·Ù¹ð¤¬Í­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
.while c anything
¾ò·ï c ¤¬¿¿¤Î´Ö¡¢ anything ¤òÆþÎϤȤ·¤Æ¼õ¤±ÉÕ¤±¤Þ¤¹; c ¤Ï if ¥ê¥¯¥¨¥¹¥È¤È¤·¤Æ¼õÍý²Äǽ¤ÊǤ°Õ¤Î¾ò·ï¤Ç¤¹; ºÇ½é¤Î¹Ô¤¬ \{ ¤Ç³«»Ï¤µ¤ìºÇ¸å¤Î¹Ô¤¬ \} ¤Ç½ªÎ»¤¹¤ë¾ì¹ç¡¢ anything ¤ÏÊ£¿ô¹Ô¤È¤Ê¤êÆÀ¤Þ¤¹¡£ break, continue ¥ê¥¯¥¨¥¹¥È¤â¸«¤Æ²¼¤µ¤¤¡£
.write stream anything
anything ¤ò stream ¤È¤¤¤¦Ì¾Á°¤Î¥¹¥È¥ê¡¼¥à¤Ë½ñ¤­¹þ¤ß¤Þ¤¹¡£ stream ¤Ï¤¹¤Ç¤Ë open ¥ê¥¯¥¨¥¹¥È¤ÎÂоݤǤ¢¤Ã¤¿¤Ï¤º¤Ç¤¹¡£ anything ¤¬¥³¥Ô¡¼¥â¡¼¥É¤ÇÆɤޤì¤Þ¤¹; Àè¹Ô¤¹¤ë s ¤Ï¼è¤ê½ü¤«¤ì¤Þ¤¹¡£
.writem stream xx
¥Þ¥¯¥í¤Þ¤¿¤Ïʸ»úÎó xx ¤ÎÆâÍƤò stream ¤Ç»ØÄꤵ¤ì¤¿¥¹¥È¥ê¡¼¥à¤Ø½ñ¤­½Ð¤·¤Þ¤¹¡£ stream ¤Ï»öÁ°¤Ë open ¥ê¥¯¥¨¥¹¥È¤Ç¥ª¡¼¥×¥ó¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ xx ¤Ï¥³¥Ô¡¼¥â¡¼¥É¤ÇÆɤޤì¤Þ¤¹¡£

³ÈÄ¥¤µ¤ì¤¿¥ê¥¯¥¨¥¹¥È

.cf filename
ž´¹¤ÎÃæ¤Ç»ÈÍѤµ¤ì¤¿¾ì¹ç¤Ï¡¢¸å¤Ç¤½¤Îž´¹¤¬Æɤ߹þ¤Þ¤ì¤ë¤È¤­¤Ë¡¢ filename ¤ÎÆâÍƤ¬Æ©²áŪ¤Ë½ÐÎϤ˥³¥Ô¡¼¤µ¤ì¤ë¤è¤¦¤Ê¥ª¥Ö¥¸¥§¥¯¥È¤ò ¤½¤Îž´¹¤ÎÃæ¤ËËä¤á¹þ¤ß¤Þ¤¹¡£
UNIX troff ¤Ç¤Ï¡¢ ¸½ºß¡¢Å¾´¹¤ÎÃ椫¤É¤¦¤«¤Ë¤«¤«¤ï¤é¤º filename ¤ÎÆâÍƤϤ¹¤°¤Ë½ÐÎϤ˥³¥Ô¡¼¤µ¤ì¤Þ¤¹; ¤³¤ÎÆ°ºî¤ÏÊѧŪ¤Ç¤¢¤ê¥Ð¥°¤Ë°ã¤¤¤¢¤ê¤Þ¤»¤ó¡£
.ev xx
xx ¤¬¿ô¤Ç¤Ê¤¤¾ì¹ç¡¢ xx ¤Ç¸Æ¤Ð¤ì¤ë̾Á°ÉÕ¤­´Ä¶­¤ËÀÚ¤êÂؤ¨¤Þ¤¹¡£ °ú¿ô¤Ê¤·¤Î ev ¥ê¥¯¥¨¥¹¥È¤ËÂФ·¤Æ¤Ï¡¢ÈÖ¹æÉÕ¤­´Ä¶­¤Î¾ì¹ç¤ÈƱÍͤˡ¢ Âбþ¤¹¤ë´Ä¶­¤¬¥Ý¥Ã¥×¤µ¤ì¤Þ¤¹¡£ ̾Á°¤Î¤¢¤ë´Ä¶­¤Î¿ô¤Ë¤ÏÀ©¸Â¤Ï¤¢¤ê¤Þ¤»¤ó; ºÇ½é¤Ë»²¾È¤µ¤ì¤ë»þ¤ËÀ¸À®¤µ¤ì¤Þ¤¹¡£
.fp n f1 f2
fp ¥ê¥¯¥¨¥¹¥È¤Ï¥ª¥×¥·¥ç¥ó¤Ç 3 ÈÖÌܤΰú¿ô¤ò¼è¤ê¤Þ¤¹¡£ ¤³¤Î°ú¿ô¤Ï¥Õ¥©¥ó¥È¤Î³°Éô̾¤òÍ¿¤¨¤Þ¤¹¡£ ¤³¤Î̾Á°¤Ç¥Õ¥©¥ó¥Èµ­½Ò¥Õ¥¡¥¤¥ë¤òõ¤·¤Þ¤¹¡£ 2 ÈÖÌܤΰú¿ô¤Ï¥Õ¥©¥ó¥È¤ÎÆâÉô̾¤Ç¤¢¤ê¡¢ ¥Õ¥©¥ó¥È¤ò¥Þ¥¦¥ó¥È¤·¤¿¸å¤Ë troff Ãæ¤Ç¥Õ¥©¥ó¥È¤ò»²¾È¤¹¤ë¤Î¤Ë»ÈÍѤ·¤Þ¤¹¡£ 3 ÈÖÌܤΰú¿ô¤¬Ìµ¤¤¾ì¹ç¤ÏÆâÉô̾¤ò³°Éô̾¤È¤·¤Æ»ÈÍѤ·¤Þ¤¹¡£ ¤³¤Îµ¡Ç½¤Ë¤è¤ê¡¢¸ß´¹¥â¡¼¥É¤Ë¤ÆŤ¤Ì¾Á°¤Î¥Õ¥©¥ó¥È¤ò»ÈÍѤǤ­¤Þ¤¹¡£
.ss m n
ss ¥ê¥¯¥¨¥¹¥È¤ËÂФ· 2 ¤Ä¤Î°ú¿ô¤¬Í¿¤¨¤é¤ì¤ë¾ì¹ç¡¢ 2 ÈÖÌܤΰú¿ô¤Ï ʸ¤Î¶õÇò¥µ¥¤¥º ¤òÍ¿¤¨¤Þ¤¹¡£ 2 ÈÖÌܤΰú¿ô¤¬Í¿¤¨¤é¤ì¤Ê¤¤¾ì¹ç¡¢ ʸ¤Î¶õÇò¥µ¥¤¥º¤Ï¸ì¤Î¶õÇò¥µ¥¤¥º¤ÈƱ¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£ ¸ì¤Î¶õÇò¥µ¥¤¥º¤ÈƱÍÍ¡¢Ê¸¤Î¶õÇò¥µ¥¤¥º¤Ï ¸½ºß¤Î¥Õ¥©¥ó¥È¤Î¶õÇòÉý¥Ñ¥é¥á¡¼¥¿¤Î 1/12 ¤òñ°Ì¤È¤·¤Þ¤¹¡£ ¸ì¤Î¶õÇò¥µ¥¤¥º¤Èʸ¤Î¶õÇò¥µ¥¤¥º¤Î½é´üÃͤϤȤâ¤Ë 12 ¤Ç¤¹¡£ UNIX troff ¤ËÈ¿¤·¤Æ GNU troff ¤Ï¤³¤Î¥ê¥¯¥¨¥¹¥È¤â nroff ¥â¡¼¥É¤Ç °·¤¤¤Þ¤¹¡£ ¤½¤ì¤«¤é»ØÄꤵ¤ì¤¿ÃÍ¤Ï ~12 ¤ÎÇÜ¿ô¤ÇºÇ¤â¶á¤¤Ãͤ˴ݤá¤é¤ì¤Þ¤¹¡£ ʸ¤Î¶õÇò¥µ¥¤¥º¤Ï 2 ¤Ä¤Î¾õ¶·¤Ë¤Æ»ÈÍѤµ¤ì¤Þ¤¹: ¹ÔµÍ¤á¥â¡¼¥É¤Ë¤Æʸ¤Î½ª¤ê¤È¤Ê¤Ã¤¿¾ì¹ç¡¢ ¸ì´Ö¤Î¶õÇò¤Èʸ¤Î¶õÇò¤¬¤È¤â¤ËÄɲ䵤ì¤Þ¤¹; ¹Ô¤ÎÅÓÃæ¤Ë¤Æ¡¢Ê¸¤Î½ª¤ê¤Ë°ú³¤­ 2 ¤Ä¤Î¶õÇò¤¬¸å³¤¹¤ë¾ì¹ç¡¢ 2 ÈÖÌܤζõÇò¤Ïʸ¤Î¶õÇò¤È¤Ê¤ê¤Þ¤¹¡£ ¥ê¥¯¥¨¥¹¥È¤Î 2 ÈÖÌܤΰú¿ô¤òÍ¿¤¨¤Ê¤±¤ì¤Ð¡¢ GNU troff ¤ÎÆ°ºî¤Ï UNIX troff ¤ÎÆ°ºî¤È´°Á´¤ËƱ¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£ GNU troff ¤Ç¤Ï UNIX troff ¤ÈƱÍÍ¡¢ ²þ¹ÔµÚ¤Ó 2 ¤Ä¤Î¶õÇò¤Ë¤Æʸ¤òÄÉÀפ·¤Þ¤¹¡£
.ta n1 n2...nn T r1 r2...rn
¥¿¥Ö°ÌÃÖ¤ò n1, n2,..., nn ¤È¤·¡¢¤½¤Î¸å¥¿¥Ö°ÌÃÖ¤ò nn+r1, nn+r2,...., nn+rn ¤È¤·¡¢¤½¤Î¸å¥¿¥Ö°ÌÃÖ¤ò nn+rn+r1, nn+rn+r2,..., nn+rn+rn, ¤È¤·¡Ä¤È¤¤¤¦¤³¤È¤ò·«¤êÊÖ¤·¤Þ¤¹¡£ Î㤨¤Ð¡¢
.ta T .5i

¤Ï 1/2 ¥¤¥ó¥ÁËè¤Ë¥¿¥Ö°ÌÃ֤Ȥ·¤Þ¤¹¡£

¿·¤·¤¤¿ôÃͥ쥸¥¹¥¿

°Ê²¼¤ÎÆɤ߼è¤êÀìÍѥ쥸¥¹¥¿¤¬ÍøÍѲÄǽ¤Ç¤¹:
\n[.C]
¸ß´¹¥â¡¼¥É»þ¤Ë 1 ¤Ë¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï 0 ¤Ë¤Ê¤ê¤Þ¤¹¡£
\n[.cdp]
¸½ºß¤Î´Ä¶­¤ËÉղ䵤ì¤Æ¤¤¤ëºÇ¸å¤Îʸ»ú¤Î¿¼¤µ¡£ ʸ»ú¤¬¥Ù¡¼¥¹¥é¥¤¥ó¤è¤ê²¼¤Ë¤¤¤¯¾ì¹ç¤ËÀµ¤Ë¤Ê¤ê¤Þ¤¹¡£
\n[.ce]
Ãæ±û´ó¤»¤µ¤ì¤ë¤Ù¤­»Ä¤ê¤Î¹Ô¿ô¡£ ¤³¤ÎÃÍ¤Ï ce ¥ê¥¯¥¨¥¹¥È¤Ç¥»¥Ã¥È¤µ¤ì¤Þ¤¹¡£
\n[.cht]
¸½ºß¤Î´Ä¶­¤ËÉղ䵤ì¤Æ¤¤¤ëºÇ¸å¤Îʸ»ú¤Î¹â¤µ¡£ ʸ»ú¤¬¥Ù¡¼¥¹¥é¥¤¥ó¤Î¾å¤Ë¤¤¤¯¾ì¹ç¤ËÀµ¤Ë¤Ê¤ê¤Þ¤¹¡£
\n[.csk]
¸½ºß¤Î´Ä¶­¤ËÉղ䵤ì¤Æ¤¤¤ëºÇ¸å¤Îʸ»ú¤Î¥¹¥­¥å¡¼ÃÍ¡£ ʸ»ú¤Î ¥¹¥­¥å¡¼ ¤Ï¡¢¤½¤Îʸ»ú¤Î¾å¤ËÉÕ¤¯¥¢¥¯¥»¥ó¥È¤¬ ¤½¤Îʸ»ú¤ÎÃæ±û¤«¤é¤É¤ì¤À¤±±¦¤Ë¤è¤Ã¤ÆÇÛÃÖ¤µ¤ì¤ë¤«¤òɽ¤·¤Þ¤¹¡£
\n[.ev]
¸½ºß¤Î´Ä¶­¤Î̾Á°¤â¤·¤¯¤ÏÈֹ档 ¤³¤ì¤Ïʸ»úÎó¤ÇÃͤòÊÝ»ý¤¹¤ë¥ì¥¸¥¹¥¿¤Ç¤¹¡£
\n[.fam]
¸½ºß¤Î¥Õ¥©¥ó¥È¥Õ¥¡¥ß¥ê¡£ ¤³¤ì¤Ïʸ»úÎó¤ÇÃͤòÊÝ»ý¤¹¤ë¥ì¥¸¥¹¥¿¤Ç¤¹¡£
\n[.fp]
¼¡¤Î¥Õ¥ê¡¼¥Õ¥©¥ó¥È°ÌÃ֤οô¤òɽ¤·¤Þ¤¹¡£
\n[.g]
¾ï¤Ë 1 ¤Ç¤¹¡£ ¥Þ¥¯¥íÃæ¤Ç GNU troff ²¼¤ÇÆ°ºî¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¤òȽÄꤹ¤ë¤Ë¤Ï¡¢¤³¤ÎÃͤò »ÈÍѤ¹¤ë¤³¤È¡£
\n[.hla]
hla ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤êÀßÄꤵ¤ì¤¿¸½ºß¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¸À¸ì¡£
\n[.hlc]
Ϣ³¤·¤Æ¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó½èÍý¤·¤¿¹Ô¿ô¡£
\n[.hlm]
Ϣ³¤·¤Æ¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó½èÍý¤·¤ÆÎɤ¤ºÇÂçÃÍ¡£ ¤³¤ÎÃͤϡ¢ hlm ¥ê¥¯¥¨¥¹¥È¤ÇÀßÄꤵ¤ì¤Þ¤¹¡£
\n[.hy]
¸½ºß¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥Õ¥é¥° ( hy ¥ê¥¯¥¨¥¹¥È¤Ë¤ÆÀßÄꤵ¤ì¤Þ¤¹)¡£
\n[.hym]
¸½ºß¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¥Þ¡¼¥¸¥ó ( hym ¥ê¥¯¥¨¥¹¥È¤Ë¤ÆÀßÄꤵ¤ì¤Þ¤¹)¡£
\n[.hys]
¸½ºß¤Î¥Ï¥¤¥Õ¥Í¡¼¥·¥ç¥ó¶õÇò ( hys ¥ê¥¯¥¨¥¹¥È¤Ë¤ÆÀßÄꤵ¤ì¤Þ¤¹)¡£
\n[.in]
¸½ºß¤Î½ÐÎϹԤËŬÍѤµ¤ì¤Æ¤¤¤ë¥¤¥ó¥Ç¥ó¥È¡£
\n[.int]
ľÁ°¤Î½ÐÎϹԤ¬³ä¤ê¹þ¤Þ¤ì¤¿¾ì¹ç¤ËÀµ¤ÎÃͤËÀßÄꤵ¤ì¤Þ¤¹ (¤Ä¤Þ¤ê \c ¤ò´Þ¤ó¤Ç¤¤¤ë¾ì¹ç¤Ç¤¹)¡£
\n[.kern]
ʸ»ú¥Ú¥¢´Ö¥«¡¼¥Ë¥ó¥°¤¬Í­¸ú¤Ê¤é 1¡¢ ¤½¤¦¤Ç¤Ê¤¤¤Ê¤é 0 ¤Ç¤¹¡£
\n[.lg]
¸½ºß¤Î¥ê¥¬¥Á¥ã¥â¡¼¥É¤òɽ¤·¤Þ¤¹ ( lg ¥ê¥¯¥¨¥¹¥È¤Ë¤ÆÀßÄꤵ¤ì¤Þ¤¹)¡£
\n[.linetabs]
¸½ºß¤Î¥é¥¤¥ó-¥¿¥Ö¥â¡¼¥É ( linetabs ¥ê¥¯¥¨¥¹¥È¤ÇÀßÄꤵ¤ì¤¿)¡£
\n[.ll]
¸½ºß¤Î½ÐÎϹԤËŬÍѤ¹¤ë¹Ô¤ÎŤµ¡£
\n[.lt]
lt ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤êÀßÄꤵ¤ì¤¿¥¿¥¤¥È¥ëĹ¡£
\n[.ne]
ºÇ¸å¤Ë¥È¥é¥Ã¥×¤òµ¯¤³¤·¤¿ ne ¥ê¥¯¥¨¥¹¥È¤ËɬÍפÀ¤Ã¤¿¶õÇò¤ÎÎÌ¡£ \n[.trunc] ¥ì¥¸¥¹¥¿¤È¤È¤â¤Ë»ÈÍѤ·¤Þ¤¹¡£
\n[.ns]
¶õÇò¥â¡¼¥É¤¬Í­¸ú¤Ç¤Ê¤¤¾ì¹ç¤Ï 1 ¤Ç¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï 0 ¤Ç¤¹¡£
\n[.pn]
¼¡¤Î¥Ú¡¼¥¸ÈÖ¹æ: pn ¥ê¥¯¥¨¥¹¥È¤Ë¤ÆÀßÄꤵ¤ì¤ë¤«¡¢¸½ºß¤Î¥Ú¡¼¥¸ÈÖ¹æ¤Ë 1 ¤ò²Ã¤¨¤¿¤â¤Î¤Ç¤¹¡£
\n[.ps]
¥¹¥±¡¼¥ë¥É¥Ý¥¤¥ó¥Èñ°Ì¤Çɽ¤·¤¿¸½ºß¤Î¥Ý¥¤¥ó¥È¥µ¥¤¥º¤Ç¤¹¡£
\n[.psr]
¥¹¥±¡¼¥ë¥É¥Ý¥¤¥ó¥Èñ°Ì¤Çɽ¤·¤¿ºÇ¸å¤Ë¥ê¥¯¥¨¥¹¥È¤µ¤ì¤¿¥Ý¥¤¥ó¥È¥µ¥¤¥º¤Ç¤¹¡£
\n[.rj]
±¦Â·¤¨¤¹¤Ù¤­¹Ô¿ô¡£ rj ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤êÀßÄꤵ¤ì¤Þ¤¹¡£
\n[.sr]
ºÇ¸å¤Ë¥ê¥¯¥¨¥¹¥È¤µ¤ì¤¿10¿Ê¿ôʬ¿ô¥Ý¥¤¥ó¥È¤Çɽ¤¹¥Ý¥¤¥ó¥È¥µ¥¤¥º¡£ ¤³¤ì¤Ïʸ»úÎó¤ÇÃͤòÊÝ»ý¤¹¤ë¥ì¥¸¥¹¥¿¤Ç¤¹¡£
\n[.tabs]
¸½ºß¤Î¥¿¥ÖÀßÄê¤Îʸ»úÎóɽµ­¤Ç¤¢¤ê¡¢ ta ¥ê¥¯¥¨¥¹¥È¤Î°ú¿ô¤È¤·¤Æ¤½¤Î¤Þ¤ÞÍøÍѲÄǽ¤Ç¤¹¡£
\n[.trunc]
ºÇ¸å¤ËȯÀ¸¤·¤¿¿âľ°ÌÃ֥ȥé¥Ã¥×¤Ë¤è¤ê½Ì¤á¤é¤ì¤¿¿âľ¶õÇò¤ÎÎÌ¡£ ¥È¥é¥Ã¥×¤¬ ne ¥ê¥¯¥¨¥¹¥È¤Ë¤ÆÀ¸¤¸¤¿¾ì¹ç¡¢ ne ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤ê¿âľ°ÌÃÖ°ÌÃ֤ΰÜưʬ¤Ïº¹¤·°ú¤«¤ì¤Þ¤¹¡£ ¸À¤¤Âؤ¨¤ë¤Ê¤é¡¢ ¥È¥é¥Ã¥×¤¬È¯À¸¤·¤¿¾ì½ê¤Ç¡¢¥È¥é¥Ã¥×¤¬¤Ê¤«¤Ã¤¿¤È¤·¤¿¾ì¹ç¤Î¿âľ°ÌÃ֤ȡ¢ ¼ÂºÝ¤Î¿âľ°ÌÃ֤Ȥκ¹¤òɽ¤·¤Þ¤¹¡£ \n[.ne] ¥ì¥¸¥¹¥¿¤È¤È¤â¤Ë»ÈÍѤ¹¤ë¤È¸ú²Ì¤¬¤¢¤ê¤Þ¤¹¡£
\n[.ss]

\n[.sss] ss ¥ê¥¯¥¨¥¹¥È¤ÎºÇ½é¤Î°ú¿ô¤ª¤è¤Ó 2 ÈÖÌܤΰú¿ô¤Ë¤è¤êÀßÄꤵ¤ì¤¿ÃͤòÍ¿¤¨¤Þ¤¹¡£
\n[.vpt]
¿âľ°ÌÃ֥ȥé¥Ã¥×¤¬Í­¸ú¤Î¾ì¹ç 1¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï 0 ¤Ç¤¹¡£
\n[.warn]
¸½ºßÍ­¸ú¤È¤Ê¤Ã¤Æ¤¤¤ë·Ù¹ð¤Ë´ØÏ¢¤Å¤±¤é¤ì¤Æ¤¤¤ë¿ô¤ÎϤǤ¹¡£ ·Ù¹ð¤Ë´ØÏ¢¤Å¤±¤é¤ì¤Æ¤¤¤ë¿ô»ú¤Î¥ê¥¹¥È¤Ï`·Ù¹ð'Àá¤Ëµ­ºÜ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
\n[.x]
¥á¥¸¥ã¡¼¥Ð¡¼¥¸¥ç¥óÈֹ档 Î㤨¤Ð¥Ð¡¼¥¸¥ç¥óÈֹ椬 1.03 ¤Î¾ì¹ç¡¢ \n[.x] ¤Ï 1 ¤Ç¤¹¡£
\n[.y]
¥Þ¥¤¥Ê¥Ð¡¼¥¸¥ç¥óÈֹ档 Î㤨¤Ð¥Ð¡¼¥¸¥ç¥óÈֹ椬 1.03 ¤Î¾ì¹ç¡¢ \n[.y] ¤Ï 03 ¤Ç¤¹¡£
\n[.Y]
groff ¤Î¥Ð¡¼¥¸¥ç¥óÈֹ档
\n[llx]

\n[lly]
\n[urx]
\n[ury] ¤³¤ì¤é¤Î 4 ¸Ä¤Î¥ì¥¸¥¹¥¿¤Ï¡¢ .psbb ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤Ã¤ÆÀßÄꤵ¤ì¡¢»ØÄꤵ¤ì¤¿ PostScript ¥¤¥á¡¼¥¸¤ËÂФ¹¤ë (PostScript ñ°Ì¤Ç¤Î) ¥Ð¥¦¥ó¥Ç¥£¥ó¥°¥Ü¥Ã¥¯¥¹¾ðÊó¤òÊÝ»ý¤·¤Þ¤¹¡£

°Ê²¼¤ÎÆɤ߽ñ¤­²Äǽ¥ì¥¸¥¹¥¿¤Ï \w ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤ÇÀßÄꤵ¤ì¤Þ¤¹:

\n[rst]
\n[rsb] st, sb ¥ì¥¸¥¹¥¿¤ÈƱÍͤǤ¹¤¬¡¢Ê¸»ú¤Î¹â¤µ¤È¿¼¤µ¤â¹Íθ¤ËÆþ¤ì¤Þ¤¹¡£
\n[ssc]
ºÇ¸å¤Îʸ»ú¤«¤é²¼ÉÕ¤­Ê¸»ú¤Þ¤Ç¤Ë²Ã¤¨¤é¤ì¤ë¿åÊ¿¶õÇò¤ÎÎÌ¡£ Éé¤â¼è¤êÆÀ¤Þ¤¹¡£
\n[skw]
\w °ú¿ô¤Ë¤ª¤±¤ëºÇ¸å¤Îʸ»ú¤ÎÃæ±û¤«¤é¤É¤ì¤Û¤É±¦¤Ë¤º¤ì¤Æ¡¢ ¥í¡¼¥Þ¥ó¥Õ¥©¥ó¥È¤Î¥¢¥¯¥»¥ó¥È¤ÎÃæ±û¤¬¤½¤Îʸ»ú¾å¤ËÇÛÃÖ¤µ¤ì¤ë¤«¤òɽ¤·¤Þ¤¹¡£

¾¤ËÍøÍѲÄǽ¤ÊÆɤ߽ñ¤­²Äǽ¤Î¿ôÃͥ쥸¥¹¥¿¤È¤·¤Æ°Ê²¼¤¬¤¢¤ê¤Þ¤¹:

\n[c.]
¸½ºß¤ÎÆþÎϹÔÈֹ档 \n[.c] ¤Ï¤³¤Î¥ì¥¸¥¹¥¿¤ÎÊÌ̾¤Ç¤¢¤ê¡¢Æɤ߽Ф·ÀìÍѤǤ¹¡£
\n[hp]
ÆþÎϹԤǤθ½ºß¤Î¿åÊ¿°ÌÃ֤Ǥ¹¡£
\n[systat]
sy ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤ê ºÇ¸å¤Ë¼Â¹Ô¤µ¤ì¤¿ system() ¤ÎÌá¤êÃÍ¡£
\n[slimit]
0 ¤è¤êÂ礭¤¤¾ì¹ç¡¢ÆþÎÏ¥¹¥¿¥Ã¥¯¤ÎºÇÂ祪¥Ö¥¸¥§¥¯¥È¿ô¤òɽ¤·¤Þ¤¹¡£ 0 °Ê²¼¤Î¾ì¹ç¡¢ÆþÎÏ¥¹¥¿¥Ã¥¯¾å¤Î¥ª¥Ö¥¸¥§¥¯¥È¿ô¤ËÀ©¸Â¤Ï¤¢¤ê¤Þ¤»¤ó¡£ À©¸Â¤¬Ìµ¤¤¾ì¹ç¡¢²¾ÁÛµ­²±¤ò»È¤¤²Ì¤¿¤¹¤Þ¤ÇºÆµ¢¤¬Â³¤¯¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
\n[year]
¸½ºß¤Îǯ¡£ ÅÁÅýŪ¤Ê troff ¿ôÃͥ쥸¥¹¥¿ \n[yr] ¤Ï¡¢¸½ºß¤Îǯ¤«¤é 1900 ¤ò¸º¤¸¤¿ÃͤǤ¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£

¤½¤Î¾

troff ¤Ï¡¢(Æɤ߽ñ¤­ÍÑ) ʸ»úÎó¥Ù¡¼¥¹¤Î¥ì¥¸¥¹¥¿ \*(.T ¤òÁ°¤â¤Ã¤ÆÄêµÁ¤·¤Æ¤ª¤ê¡¢¤³¤ì¤Ë¤Ï -T ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ËÍ¿¤¨¤é¤ì¤¿°ú¿ô¡¢ ¤¹¤Ê¤ï¤Á¸½ºß¤Î½ÐÎϥǥХ¤¥¹¤òÊÝ»ý¤·¤Æ¤¤¤Þ¤¹ (Î㤨¤Ð latin1 ¤ä ascii )¡£ ¤³¤ì¤Ï¡¢(Æɤ߹þ¤ßÀìÍѤÎ) ¿ôÃͥ쥸¥¹¥¿ \n[.T] ¤¬¡¢ troff ¤¬ -T ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥óÉդǸƤӽФµ¤ì¤¿¤È¤­¤Ë 1 ¤ËÄêµÁ¤µ¤ì¡¢ ¤½¤¦¤Ç¤Ê¤¤¤È¤­¤Ë 0 ¤ËÄêµÁ¤µ¤ì¤ë¤Î¤È¤ÏƱ¤¸¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤³¤ÎÆ°ºî¤Ï¡¢UNIX troff ¤È¤Ï°Û¤Ê¤ê¤Þ¤¹¡£

DESC ¥Õ¥¡¥¤¥ë¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤Ê¤¤¥Õ¥©¥ó¥È¤Ï¡¢ »²¾È¤µ¤ì¤¿»þÅÀ¤Ç¼«Æ°Åª¤Ë¼¡¤ÎÍøÍѲÄǽ¤Ê¥Õ¥©¥ó¥È°ÌÃ֤˥ޥ¦¥ó¥È¤µ¤ì¤Þ¤¹¡£ ¥Õ¥©¥ó¥È¤òÌÀ¼¨Åª¤Ë fp ¥ê¥¯¥¨¥¹¥È¤Ë¤Æ̤»ÈÍѤΥե©¥ó¥È°ÌÃ֤˥ޥ¦¥ó¥È¤¹¤ë¾ì¹ç¡¢ ºÇ½é¤Î̤»ÈÍѤΥե©¥ó¥È°ÌÃ֤˥ޥ¦¥ó¥È¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤³¤Î°ÌÃÖ¤Ï \n[.fp] ¥ì¥¸¥¹¥¿¤Ë¤Æ»²¾È¤Ç¤­¤Þ¤¹; ¤·¤«¤·¤Ê¤¬¤é¡¢ troff ¤Ï¤³¤ì¤ò¸·Ì©¤Ë¤Ï¶¯¤¤¤Þ¤»¤ó¡£ ¸½ºß»ÈÍѤµ¤ì¤Æ¤¤¤ë°ÌÃÖ¤è¤ê¤â ¿Âç¤ËÂ礭¤¯¤º¤ì¤ë°ÌÃ֤˥ޥ¦¥ó¥È¤µ¤ì¤ë¤³¤È¤Ïµö¤µ¤ì¤Þ¤»¤ó¡£

ʸ»úÎó¤ÎÁÞÆþ¤Ï´û¤Ë¸ºß¤¹¤ë¥Þ¥¯¥í°ú¿ô¤ò±£¤·¤Ï¤·¤Þ¤»¤ó¡£ ¤½¤ì¤æ¤¨¥Þ¥¯¥íÃæ¤Ç

.xx \\$@

¤ò¤è¤ê¸úΨÎɤ¯¹Ô¤¦¤¿¤á¤Ë¤Ï¡¢

\\*[xx]\\

¤È¤·¤Þ¤¹¡£

¥Õ¥©¥ó¥Èµ­½Ò¥Õ¥¡¥¤¥ë¤Ëʸ»ú¥Ú¥¢´Ö¥«¡¼¥Ë¥ó¥°¾ðÊ󤬴ޤޤì¤ë¾ì¹ç¡¢ ¤³¤Î¥Õ¥©¥ó¥È¤«¤é½ÐÎϤµ¤ì¤ëʸ»ú¤Ï¥«¡¼¥Ë¥ó¥°¤µ¤ì¤Þ¤¹¡£ \& ¤ò 2 ¤Ä¤Îʸ»ú´Ö¤ËÃÖ¤¯¤³¤È¤Ç¡¢¤½¤Îʸ»ú´Ö¤Î¥«¡¼¥Ë¥ó¥°¤ò¶Ø»ß¤Ç¤­¤Þ¤¹¡£

¾ò·ï¤Ë¤ª¤¤¤Æʸ»úÎó¤òÈæ³Ó¤¹¤ë¾ì¹ç¡¢ ºÇ½é¤Î¥Ç¥ê¥ß¥¿¤È°Û¤Ê¤ëÆþÎÏ¥ì¥Ù¥ë¤Ë¤ª¤¤¤Æ½Ð¸½¤¹¤ëʸ»ú¤Ï 2 ÈÖÌÜ 3 ÈÖÌܤΥǥê¥ß¥¿¤È¤·¤Æǧ¼±¤µ¤ì¤Þ¤»¤ó¡£ ¤³¤ì¤Ï tl ¥ê¥¯¥¨¥¹¥È¤Ë¤âÅö¤Æ¤Ï¤Þ¤ê¤Þ¤¹¡£ \w ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤Ë¤ª¤¤¤Æ¡¢ ºÇ½é¤Î¥Ç¥ê¥ß¥¿Ê¸»ú¤È¤Ï°Û¤Ê¤ëÆþÎÏ¥ì¥Ù¥ë¤Ë¤¢¤ëÊĤ¸¤ëÊý¤Î¥Ç¥ê¥ß¥¿Ê¸»ú¤Ï¡¢ ǧ¼±¤µ¤ì¤Þ¤»¤ó¡£ ¥Þ¥¯¥í°ú¿ô¤ò¥Ç¥³¡¼¥É¤¹¤ë»þ¤Ë¡¢ ¥Þ¥¯¥í°ú¿ô¤¬¥À¥Ö¥ë¥¯¥©¡¼¥È¤Ç¶èÀÚ¤é¤ì¤ë¾ì¹ç¡¢ ºÇ½é¤Î¥Ç¥ê¥ß¥¿Ê¸»ú¤È¤Ï°Û¤Ê¤ëÆþÎÏ¥ì¥Ù¥ë¤Ë¤¢¤ëʸ»ú¤Ï¡¢ ÊĤ¸¤ëÊý¤Î¥Ç¥ê¥ß¥¿Ê¸»ú¤È¤Ïǧ¼±¤µ¤ì¤Þ¤»¤ó¡£ \$@ ¤Î¼ÂÁõ¤Ç¤Ï¡¢°ú¿ô¤ò³ç¤ë¥À¥Ö¥ë¥¯¥©¡¼¥È¤ÏƱ¤¸¥ì¥Ù¥ë¤È¤Ê¤ë¤³¤È¤¬Êݾڤµ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤Î¥ì¥Ù¥ë¤Ï°ú¿ô¤ÎÆþÎÏ¥ì¥Ù¥ë¤È¤Ï°Û¤Ê¤ê¤Þ¤¹¡£ Ť¤¥¨¥¹¥±¡¼¥×̾Ãæ¤Ç¤Ï ] ¤Ï ³«¤¯Êý¤Î ] ¤ÎÆþÎÏ¥ì¥Ù¥ë¤ÈƱ¤¸¤Ç¤¢¤ë¾ì¹ç¤ò½ü¤­¡¢ ÊĤ¸¤ëÊý¤Î¥Ç¥ê¥ß¥¿¤È¤Ïǧ¼±¤µ¤ì¤Þ¤»¤ó¡£ ¸ß´¹¥â¡¼¥É¤Ç¤ÏÆþÎÏ¥ì¥Ù¥ë¤ËÂФ¹¤ëÃí°Õ¤Ïʧ¤ï¤ì¤Þ¤»¤ó¡£

¾ò·ï¤¬Áý¤¨¤Þ¤·¤¿:

.if rxxx
¿ôÃͥ쥸¥¹¥¿ xxx ¤¬Â¸ºß¤¹¤ë¾ì¹ç¤Ë¿¿¤È¤Ê¤ê¤Þ¤¹¡£
.if dxxx
ʸ»úÎó/¥Þ¥¯¥í/ž´¹/¥ê¥¯¥¨¥¹¥È¤Ë xxx ¤È¤¤¤¦Ì¾Á°¤Î¤â¤Î¤¬¤¢¤Ã¤¿¾ì¹ç¤Ë¿¿¤Ë¤Ê¤ê¤Þ¤¹¡£
.if cch
ʸ»ú ch ¤¬»ÈÍѲÄǽ¤Ê¾ì¹ç¤Ë¿¿¤Ë¤Ê¤ê¤Þ¤¹; ch ¤Ï ASCII ʸ»ú¤Ç¤â¥¹¥Ú¥·¥ã¥ëʸ»ú \(xx, \[xxx] ¤Ç¤â¤«¤Þ¤¤¤Þ¤»¤ó; ch ¤¬ char ¥ê¥¯¥¨¥¹¥È¤Ë¤ÆÄêµÁ¤µ¤ì¤¿¾ì¹ç¤Ë¤â¿¿¤Ë¤Ê¤ê¤Þ¤¹¡£

tr ¥ê¥¯¥¨¥¹¥È¤Ïʸ»ú¤ò \~ ¤Ë¥Þ¥Ã¥×¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

·Ù¹ð

troff ¤¬½ÐÎϤ¹¤ë·Ù¹ð¤Ï°Ê²¼¤Î¥«¥Æ¥´¥ê¤ËʬÎव¤ì¤Þ¤¹¡£ ³Æ·Ù¹ð¤Ë´ØÏ¢¤¹¤ë̾Á°¤Ï -w, -W ¥ª¥×¥·¥ç¥ó¤Ç»ÈÍѲÄǽ¤Ç¤¹; ¤Þ¤¿ÈÖ¹æ¤Ï¡¢ warn ¥ê¥¯¥¨¥¹¥È¤ª¤è¤Ó .warn ¥ì¥¸¥¹¥¿¤¬»ÈÍѤ·¤Þ¤¹¡£
char 1
¸ºß¤·¤Ê¤¤Ê¸»ú¡£ ¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ç¤¹¡£
number 2
ÉÔÀµ¤Ê¿ô¼°¡£ ¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ç¤¹¡£
break 4
¹ÔµÍ¤á¥â¡¼¥É¤Ë¤Æ¡¢¹Ô¤òʬ³ä¤Ç¤­¤Ê¤«¤Ã¤¿¤¿¤á¡¢ ¹Ô¤ÎŤµ¤è¤ê¤âû¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ ¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ç¤¹¡£
delim 8
ÊĤ¸¤ëÊý¤Î¥Ç¥ê¥ß¥¿¤¬Ìµ¤¤¤â¤·¤¯¤Ï¥Þ¥Ã¥Á¤·¤Þ¤»¤ó¡£
el 16
Âбþ¤¹¤ë ie ¥ê¥¯¥¨¥¹¥È¤Î̵¤¤¡¢ el ¥ê¥¯¥¨¥¹¥È¡£
scale 32
°ÕÌ£¤Î̵¤¤¥¹¥±¡¼¥ê¥ó¥°¥¤¥ó¥¸¥²¡¼¥¿¡£
range 64
°ú¿ô¤¬ÈϰϤò±Û¤¨¤Æ¤¤¤Þ¤¹¡£
syntax 128
¿ô¼°Ãæ¤ÎÛ£Ëæ¤Êʸˡ¡£
di 256
¸½ºßž´¹¤¬Ìµ¤¤¤Ë¤â¤«¤«¤ï¤é¤º¡¢ °ú¿ô̵¤·¤Ç di, da ¤ò»ÈÍѤ·¤¿¡£
mac 512
̤ÄêµÁ¤Îʸ»úÎó¡¢¥Þ¥¯¥í¡¢Å¾´¹¤ò»ÈÍѤ·¤¿¡£ ̤ÄêµÁ¤Îʸ»úÎó¡¢¥Þ¥¯¥í¡¢Å¾´¹¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢ ʸ»úÎ󤬼«Æ°Åª¤Ë¶õ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£ ¤³¤Î¤¿¤á³Æ̾Á°¤ËÂФ¹¤ë·Ù¹ð¤ÏÂç³µºÇÂç 1 ²ó¤À¤±¤Ç¤¹¡£
reg 1024
̤ÄêµÁ¤Î¿ôÃͥ쥸¥¹¥¿¤ò»ÈÍѤ·¤¿¡£ ̤ÄêµÁ¤Î¿ôÃͥ쥸¥¹¥¿¤ò»ÈÍѤ·¤¿¾ì¹ç¡¢ ¥ì¥¸¥¹¥¿¤¬¼«Æ°Åª¤ËÃÍ 0 ¤ËÄêµÁ¤µ¤ì¤Þ¤¹¡£ ÄêµÁ¤Ï¼«Æ°Åª¤ËÃÍ 0 ¤Ë¤Æ¹Ô¤ï¤ì¤Þ¤¹¡£ ¤³¤Î¤¿¤á³Æ̾Á°¤ËÂФ¹¤ë·Ù¹ð¤ÏÂç³µºÇÂç 1 ²ó¤À¤±¤Ç¤¹¡£
tab 2048
¥¿¥Öʸ»ú¤Î»ÈÍѤ¬ÉÔŬÀڤǤ·¤¿¡£ ¿ô»ú¤¬´üÂÔ¤µ¤ì¤ë¾ì½ê¤Ç¥¿¥Ö¤ò»ÈÍѤ·¤¿¤«¡¢ ¥¯¥©¡¼¥È¤µ¤ì¤¤¤Æ¤Ê¤¤¥Þ¥¯¥í¤Î°ú¿ôÃæ¤Ç¥¿¥Öʸ»ú¤ò»ÈÍѤ·¤¿¤«¤Î ¤É¤Á¤é¤«¤Ç¤·¤ç¤¦¡£
right-brace 4096
¿ô»ú¤¬´üÂÔ¤µ¤ì¤ë¾ì½ê¤Ç \} ¤¬»ÈÍѤµ¤ì¤¿¡£
missing 8192
È󥪥ץ·¥ç¥ó°ú¿ô¤¬Â­¤ê¤Ê¤¤¥ê¥¯¥¨¥¹¥È¡£
input 16384
ÉÔÀµ¤ÊÆþÎÏʸ»ú¡£
escape 32768
ǧ¼±¤Ç¤­¤Ê¤¤¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¡£ ǧ¼±¤Ç¤­¤Ê¤¤¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤Ë²ñ¤Ã¤¿¾ì¹ç¤Ï¡¢ ¤½¤Î¥¨¥¹¥±¡¼¥×ʸ»ú¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
space 65536
¥ê¥¯¥¨¥¹¥È¤â¤·¤¯¤Ï¥Þ¥¯¥í¤È¤½¤ì¤é¤Î°ú¿ô¤Î´Ö¤Ë¶õÇò¤¬¤¢¤ê¤Þ¤»¤ó¡£ ¤³¤Î·Ù¹ð¤Ï¡¢2 ʸ»ú¤è¤êŤ¤Ì¤ÄêµÁ¤Îʸ»ú¤Ë²ñ¤Ã¤¿¾ì¹ç¤Ç ºÇ½é¤Î 2 ʸ»ú¤¬ÄêµÁ¤µ¤ì¤¿Ì¾Á°¤Î¤È¤­¤Ëµ¯¤³¤êÆÀ¤Þ¤¹¡£ ¤³¤Î¤È¤­¥ê¥¯¥¨¥¹¥È¤â¤·¤¯¤Ï¥Þ¥¯¥í¤Ïµ¯Æ°¤µ¤ì¤Þ¤»¤ó¡£ ¤³¤Î·Ù¹ð¤¬È¯¤»¤é¤ì¤ë»þ¡¢¤É¤Î¤è¤¦¤Ê¥Þ¥¯¥í¤â¼«Æ°Åª¤Ë¤ÏÄêµÁ¤µ¤ì¤Þ¤»¤ó¡£ ¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ç¤¹¡£ ¤³¤Î·Ù¹ð¤Ï¸ß´¹¥â¡¼¥É¤Ç¤Ïµ¯¤³¤êÆÀ¤Þ¤»¤ó¡£
font 131072
¸ºß¤·¤Ê¤¤¥Õ¥©¥ó¥È¡£ ¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ç¤¹¡£
ig 262144
ig ¥ê¥¯¥¨¥¹¥È¤Ë¤è¤ê̵»ë¤µ¤ì¤¿¥Æ¥­¥¹¥È¤ÎÃæ¤Ë¤¢¤ëÉÔÀµ¤Ê¥¨¥¹¥±¡¼¥×¡£ ¤³¤ì¤é¤Ï̵»ë¤µ¤ì¤¿¥Æ¥­¥¹¥È¤ÎÃæ¤Ç¤ÏȯÀ¸¤·¤Ê¤¤¥¨¥é¡¼¤Ç¤¹¡£

·Ù¹ð¤Î¥°¥ë¡¼¥×¤ò»ØÄꤹ¤ë̾Á°¤â¤¢¤ê¤Þ¤¹:

all
¤¹¤Ù¤Æ¡¢¤¿¤À¤· di, mac, reg ¤ò½ü¤­¤Þ¤¹¡£ ÅÁÅýŪ¤Ê¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤ò»ÈÍѤ¹¤ëºÝ¤ËÍ­ÍѤʷٹð¤ÎÁ´¤Æ¤ò¥«¥Ð¡¼¤¹¤ë ¤è¤¦¤ËƳÆþ¤µ¤ì¤Þ¤·¤¿¡£
w
Á´¤Æ¤Î·Ù¹ð¡£

Èó¸ß´¹À­

Ť¤Ì¾Á°¤ò»ÈÍѤ¹¤ë¤ÈÈó¸ß´¹À­¤ÎÌäÂ꤬µ¯¤³¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£ UNIX troff ¤Ï

.dsabcd

¤òʸ»úÎó ab ¤ÎÄêµÁ¤Ç¤¢¤ê¡¢¤½¤ÎÆâÍƤ¬ cd ¤Ç¤¢¤ë¤È²ò¼á¤·¤Þ¤¹¡£ Ä̾GNU troff ¤Ï¤³¤ì¤ò¥Þ¥¯¥í dsabcd ¤Î¸Æ¤Ó½Ð¤·¤Ç¤¢¤ë¤È²ò¼á¤·¤Þ¤¹¡£ ¤Þ¤¿¡¢UNIX troff ¤Ï \*[ ¤È \n[ ¤ò¡¢Ê¸»úÎó/¿ôÃͥ쥸¥¹¥¿ [ ¤Î»²¾È¤Ç¤¢¤ë¤È²ò¼á¤·¤Þ¤¹¡£ ¤·¤«¤·¡¢GNU troff ¤Ç¤Ï¡¢¤³¤ì¤ÏÄ̾ïŤ¤Ì¾Á°¤Î»Ï¤Þ¤ê¤Ç¤¢¤ë¤È²ò¼á¤·¤Þ¤¹¡£ ¸ß´¹¥â¡¼¥É ¤Ç¤Ï GNU troff ¤Ï¤³¤ì¤é¤òÅÁÅýŪ¤ÊÊýË¡¤Ç²ò¼á¤·¤Þ¤¹¡£ ¤Þ¤¿Ä¹¤¤Ì¾Á°¤Ïǧ¼±¤µ¤ì¤Þ¤»¤ó¡£ ¸ß´¹¥â¡¼¥É¤Ï -C ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ë¤ÆÍ­¸ú¤Ë½ÐÍè¡¢ cp ¥ê¥¯¥¨¥¹¥È¤Ë¤ÆÍ­¸ú̵¸ú¤ÎÀÚÂؤ¨¤¬½ÐÍè¤Þ¤¹¡£ ¸ß´¹¥â¡¼¥É¤¬Í­¸ú¤Î¾ì¹ç¤Ë¤Ï¿ôÃͥ쥸¥¹¥¿ \n[.C] ¤¬ 1 ¤È¤Ê¤ê¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï 0 ¤È¤Ê¤ê¤Þ¤¹¡£

GNU troff ¤Ïʸ»úÎó/¥Þ¥¯¥í/Ÿ³«/¿ôÃͥ쥸¥¹¥¿/¥Õ¥©¥ó¥È/´Ä¶­¤Î̾Á°¤Ë¤ª¤¤¤Æ¡¢ ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹ \e\|\^\&\}\{\(space)\'\`\-\_\!\%\c ¤ò»ÈÍѤ¹¤ë¤³¤È¤òµö¤·¤Þ¤»¤ó; °ìÊý UNIX troff ¤Ç¤Ï½ÐÍè¤Þ¤¹¡£ ̾Á°Ãæ¤Ç¤Î¤³¤ì¤é¤Î¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤Î»ÈÍѤòÈò¤±¤ë¤Ë¤Ï¡¢ \A ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤¬Ìò¤ËΩ¤Ä¤«¤â¤·¤ì¤Þ¤»¤ó¡£

ʬ¿ô¤Î¥Ý¥¤¥ó¥È¥µ¥¤¥º¤Ï¸²Ãø¤ÊÈó¸ß´¹À­¤ò°ú¤­µ¯¤³¤·¤Þ¤¹¡£ UNIX troff ¤Ç¤Ï ps ¥ê¥¯¥¨¥¹¥È¤Ï¥¹¥±¡¼¥ë¥¤¥ó¥¸¥±¡¼¥¿¤ò̵»ë¤¹¤ë¤¿¤á

.ps 10u

¤Ï¥Ý¥¤¥ó¥È¥µ¥¤¥º¤ò 10 ¥Ý¥¤¥ó¥È¤ËÀßÄꤷ¤Þ¤¹¤¬¡¢ GNU troff ¤Ç¤Ï¥Ý¥¤¥ó¥È¥µ¥¤¥º¤ò 10 ¥¹¥±¡¼¥ë¥É¥Ý¥¤¥ó¥È¤ËÀßÄꤷ¤Þ¤¹¡£

GNU torff ¤Ç¤Ï¡¢ ¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì¤Æ¤¤¤Ê¤¤ÆþÎÏʸ»ú¤È ¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì¤¿½ÐÎÏʸ»ú¤È¤Î´Ö¤Ë´ðËÜŪ¤Ê°ã¤¤¤¬¤¢¤ê¤Þ¤¹¡£ ½ÐÎÏʸ»ú¤¬¤É¤Î¤è¤¦¤Ë½ÐÎϤµ¤ì¤ë¤Î¤«¤Ë±Æ¶Á¤¹¤ë¤³¤È¤¬¤é¤ÏÁ´¤Æ¡¢ ¤½¤Îʸ»ú¤Ëµ­Ï¿¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ °ìÅÙ½ÐÎÏʸ»ú¤¬¹½À®¤µ¤ì¤¿¤Ê¤é¤Ð¡¢ ¤½¤Î½ÐÎÏʸ»ú¤Ï¤½¤Î¸å¤Ë¼Â¹Ô¤µ¤ì¤ë¥ê¥¯¥¨¥¹¥È¤Î±Æ¶Á¤ò¼õ¤±¤Þ¤»¤ó¡£ ¤³¤Î¥ê¥¯¥¨¥¹¥È¤Ë¤Ï bd, cs, tkf, tr, fp ¥ê¥¯¥¨¥¹¥È¤¬´Þ¤Þ¤ì¤Þ¤¹¡£ Ä̾ ½ÐÎÏʸ»ú¤¬ÆþÎÏʸ»ú¤«¤é¹½À®¤µ¤ì¤ë¤Î¤Ï¡¢ ½ÐÎÏʸ»ú¤¬¸½ºß¤Î½ÐÎϹԤËÄɲ䵤ì¤ëľÁ°¤Ç¤¹¡£ ¥Þ¥¯¥í/ž´¹/ʸ»úÎó¤Ï¼ÂºÝƱ¤¸¥¿¥¤¥×¤Î¥ª¥Ö¥¸¥§¥¯¥È¤Ç¤¹; ¤¹¤Ê¤ï¤ÁÆþÎÏʸ»ú¤Î¥ê¥¹¥È¤È½ÐÎϤÎʸ»ú¤ÎǤ°Õ¤ÎÁȤ߹ç¤ï¤»¤Î¥ê¥¹¥È¤òÊÝ»ý¤·¤Æ¤¤¤Þ¤¹¡£ ¥Þ¥¯¥í½èÍý¤Ë¤ª¤¤¤Æ¤Ï½ÐÎÏʸ»ú¤ÏÆþÎÏʸ»ú¤Î¤è¤¦¤Ë¤Ï¿¶Éñ¤¤¤Þ¤»¤ó; ½ÐÎÏʸ»ú¤Ï¡¢¤½¤Î¸µ¤ÎÆþÎÏʸ»ú¤¬»ý¤Ã¤Æ¤¤¤¿Æüì¤Ê¥×¥í¥Ñ¥Æ¥£¤ò °ìÀڷѾµ¤·¤Þ¤»¤ó¡£ Î㤨¤Ð¡¢


.di x

\\\\

.br

.di

.x


¤Ï GNU groff ¤Ç¤Ï \\ ¤òɽ¼¨¤·¤Þ¤¹; ³Æ \ ¤Î¥Ú¥¢¤Ïñ°ì¤Î½ÐÎÏ \ ¤Ë¤Ê¤ê¡¢½ÐÎÏ·ë²Ì¤ÎÊ£¿ô¤Î \ ¤Ï¡¢ºÆÆɤ߹þ¤ß¤Î»þ¤Ë¤Ï¥¨¥¹¥±¡¼¥×ʸ»ú¤È¤·¤Æ¤Ï²ò¼á¤µ¤ì¤Þ¤»¤ó¡£ UNIX troff ¤Ç¤ÏºÆÆɤ߹þ¤ß¤Î»þ¤Ë¤Ï¥¨¥¹¥±¡¼¥×ʸ»ú¤È¤·¤Æ²ò¼á¤µ¤ì¤ë¤¿¤á¡¢ ºÇ½ªÅª¤Ê·ë²Ì¤Ïñ°ì¤Î \ ¤È¤Ê¤ê¤Þ¤¹¡£ ɽ¼¨²Äǽ¤Ê \ ¤òÆÀ¤ëÀµ¤·¤¤ÊýË¡¤Ï¡¢ \e ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤ò»ÈÍѤ¹¤ë¤³¤È¤Ç¤¹: ¤³¤Î¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤Ï¡¢ ž´¹¤ÎÃæ¤Ç¤¢¤ë¤«Èݤˤ«¤«¤ï¤é¤º¡¢ ¾ï¤Ë¸½ºß¤Î¥¨¥¹¥±¡¼¥×ʸ»ú¼ÂÂΤò°ì¤Äɽ¼¨¤·¤Þ¤¹; ¤³¤ì¤Ï GNU troff ¤Ç¤â UNIX troff ¤Ç¤âÆ°ºî¤·¤Þ¤¹¡£ ž´¹Ãæ¤Ë¡¢ ž´¹¤¬ºÆÆɤ߹þ¤ß¤µ¤ì¤¿»þ¤Ë²ò¼á¤µ¤ì¤ë¤è¤¦¤Ê ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤òËä¤á¹þ¤ß¤¿¤¤¾ì¹ç¡¢ ÅÁÅýŪ¤Ê \! Æ©²á½ÐÎϵ¡¹½¤ò»ÈÍѤ¹¤ë¤«¡¢¤³¤ì¤¬Å¬Åö¤Ç¤Ê¤¤¤Ê¤é¿·¤·¤¤ \? ¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤ò»ÈÍѤ·¤Æ²¼¤µ¤¤¡£

´Ä¶­ÊÑ¿ô

GROFF_TMAC_PATH
: ¤Ç¶èÀÚ¤é¤ì¤¿¡¢¥Þ¥¯¥í¥Õ¥¡¥¤¥ë¤ò¸¡º÷¤¹¤Ù¤­¥Ç¥£¥ì¥¯¥È¥ê̾¤Î¥ê¥¹¥È¡£ troff ¤Ï¡¢¤½¤ì¤é¤ÎÁ°¤Ë -M ¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤òÄ´¤Ù¡¢ ¤½¤é¤é¤Î¸å¤Çɸ½à¤Î¥Ç¥£¥ì¥¯¥È¥ê (°ÂÁ´¤Ç¤Ê¤¤¥â¡¼¥É¤Ç¤Ï ¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¡¢¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¡¢ /usr/share/tmac/, /usr/share/tmac/, /usr/share/tmac/) ¤òÄ´¤Ù¤Þ¤¹¡£
GROFF_TYPESETTER
¥Ç¥Õ¥©¥ë¥È¤Î½ÐÎϥǥХ¤¥¹
GROFF_FONT_PATH
: ¤Ç¶èÀÚ¤é¤ì¤¿¡¢¥Õ¥©¥ó¥È¤ò¸¡º÷¤¹¤Ù¤­¥Ç¥£¥ì¥¯¥È¥ê̾¤Î¥ê¥¹¥È¡£ troff ¤Ï¡¢¤Þ¤º -F ¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤ò¸¡º÷¤·¡¢¼¡¤ËËÜ´Ä ¶­ÊÑ¿ô¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¡¢ºÇ¸å¤Ëɸ½à¤Î¥Ç¥£¥ì¥¯¥È¥ê ( /usr/share/groff_font ) ¤ò¸¡º÷¤·¤Þ¤¹¡£

´ØÏ¢¥Õ¥¡¥¤¥ë

u+3n
/usr/share/tmac/troffrc ½é´ü²½¥Õ¥¡¥¤¥ë (¾¤Î¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤ÎÁ°¤Ë¸Æ¤Ó½Ð¤µ¤ì¤Þ¤¹)
/usr/share/tmac/troffrc-end
½é´ü²½¥Õ¥¡¥¤¥ë (¾¤Î¥Þ¥¯¥í¥Ñ¥Ã¥±¡¼¥¸¤Î¸å¤Ë¸Æ¤Ó½Ð¤µ¤ì¤Þ¤¹)
/usr/share/tmac/name.tmac

/usr/share/tmac/tmac.name ¥Þ¥¯¥í¥Õ¥¡¥¤¥ë
/usr/share/groff_font/devname/DESC
¥Ç¥Ð¥¤¥¹ name ¤Î¥Ç¥Ð¥¤¥¹µ­½Ò¥Õ¥¡¥¤¥ë
/usr/share/groff_font/devname/F
¥Ç¥Ð¥¤¥¹ name ¤Ë¤ª¤±¤ë¥Õ¥©¥ó¥È F ¤Î¥Õ¥©¥ó¥Èµ­½Ò¥Õ¥¡¥¤¥ë

troffrc ¤È troffrc-end ¤Ï¡¢¥»¥­¥å¥ê¥Æ¥£¤Î¤¿¤á¥Ç¥Õ¥©¥ë¥È¤Ç¸½ºß¤Î¥Ç¥£¥ì¥¯¥È¥ê¤È ¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Î¤¤¤º¤ì¤Ç¤â¸¡º÷¤µ¤ì¤Ê¤¤»ö¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤ ( -U ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤Æ¤â)¡£ ɬÍפʾì¹ç¤Ï -M ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤« GROFF_TMAC_PATH ´Ä¶­ÊÑ¿ô¤ò»È¤Ã¤Æ¤½¤ì¤é¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò¸¡º÷¥Ñ¥¹¤Ë²Ã¤¨¤é¤ì¤Þ¤¹¡£

´ØÏ¢¹àÌÜ

groff(7) -- û¤¤¤Ç¤¹¤¬¡¢¥ê¥¯¥¨¥¹¥È¡¢¥ì¥¸¥¹¥¿¡¢¥¨¥¹¥±¡¼¥×¤Ë´Ø¤¹¤ë ´°Á´¤Ê¥ê¥Õ¥¡¥ì¥ó¥¹¤Ç¤¹¡£

groff(1), tbl(1), pic(1), eqn(1), refer(1), soelim(1), grn(1), grops(1), grodvi(1), grotty(1), grohtml(1), grolj4(1), groff_font(5), groff_out(5), groff_char(7)