TeX ¤Î±þÍÑ2 ¡½ emath

[Ìܼ¡]

1. ½é¤á¤Ë

2. emath ¤Î¥¤¥ó¥¹¥È¡¼¥ë

¡¡2.1 Á°Äó¾ò·ï

¡¡2.2 ÌÈÀÕ»ö¹à

¡¡2.3 ¥¤¥ó¥¹¥È¡¼¥ë¤Îή¤ì

¡¡2.4 ¥À¥¦¥ó¥í¡¼¥É

¡¡2.5 ¥¨¥ó¥³¡¼¥ÉÊÑ´¹

¡¡2.6 ¥¤¥ó¥¹¥È¡¼¥ë

¡¡2.7 Perl ¤È¤ÎÏ¢·È

¡¡2.8 emath ¤ËɬÍפʾ¤Îsty¥Õ¥¡¥¤¥ë¤Î¥¤¥ó¥¹¥È¡¼¥ë

¡¡2.9 Statistics-Distributions ¤Î¥¤¥ó¥¹¥È¡¼¥ë

(¥Ú¡¼¥¸²¼Éô¤Ø)

1. ½é¤á¤Ë

emath ¤È¤Ï¡¢½éÅù¿ô³Ø(¹â¹»°Ê²¼¤Î¿ô³Ø)¥×¥ê¥ó¥ÈºîÀ®(La)TeX¥Þ¥¯¥í½¸¤Ç¤¹¡£Æäˡ¢½éÅù´ö²¿¤äºÂɸ¤Î¿Þ¤¬ÉÁ¤±¤ë¤Î¤ÏÂ礭¤¤¤ÈÉ®¼Ô¤Ï»×¤¤¤Þ¤¹¡£¤½¤Îµ¡Ç½¤ÎÁ´ËƤò¸ì¤ë¤³¤È¤Ï¡¢É®¼Ô¤Ë¤Ï¤Ç¤­¤Þ¤»¤ó¤¬¡¢¾¯¤Ê¤¯¤È¤â¸À¤¨¤ë¤Î¤Ï¡¢Ãæ³ØÆþ»î¤Î»»¿ô¤«¤é¹â¹»¤Î¿ô­·¤Þ¤Ç¤ò¤Ï¤Ð¹­¤¯ÌÖÍ夷¤Æ¤¤¤ë¤³¤È¤Ç¤¹¡£¤½¤Î½¨°ï¤µ¤Ï¡¢Î㤨¤Ð¡Ö¿ô³Ø¥¬¡¼¥ë¡×¤Ç»È¤ï¤ì¤Æ¤¤¤ë¤Û¤É¤Ç¤¹¡£³Ø¹»¤ä½Î¤È¤¤¤Ã¤¿¶µ°é¸½¾ì¤Ç»ÈÍѤµ¤ì¤Æ¤¤¤ëÀèÀ¸¤â¤¤¤é¤Ã¤·¤ã¤ë¤è¤¦¤Ç¤¹¡£²þ¤á¤Æ¡¢ÍøÅÀ¤òÂåɽŪ¤Ê¤â¤Î¤Î¤ßµó¤²¤Æ¤ß¤Þ¤¹¡£

¡¦Ê¬¿ô¤ÎʬÊì¤Èʬ»Ò¤¬¡¢¸«±Ç¤¨¤Î¤è¤¤°ÌÃÖ¤ËÊѹ¹¤µ¤ì¤Æ¤¤¤ë

¡¦ºÂɸʿÌÌ, ºÂɸ¶õ´Ö¤Î¿Þ¤¬ÉÁ¤±¤ë

¡¦list·Ï´Ä¶­¤Ë¿Þ¤ò²ó¤ê¹þ¤Þ¤»¤ë¤³¤È¤¬¤Ç¤­¤ë

¥¤¥ó¥¹¥È¡¼¥ë¤«¤é»È¤¤Êý¤Þ¤Ç¡¢emath´ØÏ¢¤Î¤³¤È¤Ïºî¼Ô¤Ëʹ¤¯¤Î¤¬°ìÈ֤Ǥ¹¡£¤³¤³¤Ç¤Ï¡¢É®¼Ô¤Ê¤ê¤Î¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤ò¾Ò²ð¤·¤¿¤¤¤È»×¤¤¤Þ¤¹¡£

2. emath ¤Î¥¤¥ó¥¹¥È¡¼¥ë

2.1 Á°Äó¾ò·ï

emath ¤Ï¡¢Mac ¤ä Unix ¤Ë¤â¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤ë¤½¤¦¤Ç¤¹¤¬¡¢ËÜ¹Æ¤Ç¤Ï Windows ¤Ø¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ë¸ÂÄꤵ¤»¤Æ¤¤¤¿¤À¤­¤Þ¤¹¡£¤³¤Á¤é¤Ç½Ò¤Ù¤¿¤³¤È¤È¾¯¤·Èï¤ê¤Þ¤¹¤¬¡¢Á°Äó¾ò·ï¤ò³Îǧ¤·¤¿¤¤¤È»×¤¤¤Þ¤¹¡£

¡¦OS¤Ï Windows32bit

¡¦¥Ç¥£¥¹¥¯¥É¥é¥¤¥Ö¤Ï C: ¤Î¤ß¡£

¡¦¡Ö¥³¥ó¥È¥í¡¼¥ë¥Ñ¥Í¥ë¡×>¡Ö¥Õ¥©¥ë¥À¥ª¥×¥·¥ç¥ó¡×> ¥¿¥Ö¡Öɽ¼¨¡×> ¾ÜºÙÀßÄê ¤Ç¼¡¤Î¤è¤¦¤ËÀßÄꤹ¤ë¡£

  ¡Ö¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¤È¥Õ¥©¥ë¥À¤òɽ¼¨¤¹¤ë¡×-> ¥Á¥§¥Ã¥¯¥ª¥ó

  ¡ÖÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë³ÈÄ¥»Ò¤Ïɽ¼¨¤·¤Ê¤¤¡×-> ¥Á¥§¥Ã¥¯¥ª¥Õ

¡¦emath¥¤¥ó¥¹¥È¡¼¥é¡¼¤ò³ÊǼ¤·¤Æ¤ª¤¯¥Õ¥©¥ë¥À¤È¤·¤Æ¡¢C:\Installer2 ¤òºîÀ®¤·¤Æ¤ª¤¯¡£

¡¦emath¥É¥­¥å¥á¥ó¥È¤ò³ÊǼ¤·¤Æ¤ª¤¯¥Õ¥©¥ë¥À¤È¤·¤Æ¡¢C:\emath_example\intro_emath ¤òºîÀ®¤·¤Æ¤ª¤¯¡£

2.2 ÌÈÀÕ»ö¹à

emath¥µ¥¤¥È¤Ë½ñ¤«¤ì¤Æ¤¤¤ëÌÈÀÕ»ö¹à¤ò¡¢¤³¤³¤Ç³Îǧ¤·¤Æ¤ª¤­¤Þ¤¹¡£

¡¦emath¤Ï̵ÊݾڤǤ¢¤ë

¡¦emathÇÛÉÛ¥Õ¥¡¥¤¥ë¤ÎžºÜ¡¢ºÆÇÛÉÛ¤ò¤·¤Ê¤¤(¤¿¤À¤·¡¢´Ý¤´¤È¥Ñ¥Ã¥¯¡¢ÄûÀµÈǤϤ½¤ì¤¾¤ìžºÜ¡¢ºÆÇÛÉÛ²Ä)

¡¦emath¤Ë´Ø¤¹¤ë¼ÁÌä¤Ï¡¢emath·Ç¼¨ÈĤ˼ÁÌ䤹¤ë¡£TeX Q & A, TeX¥Õ¥©¡¼¥é¥à ¤Ê¤É¤Ë¼ÁÌ䤷¤Ê¤¤¡£

2.3 ¥¤¥ó¥¹¥È¡¼¥ë¤Îή¤ì

emath¥¤¥ó¥¹¥È¡¼¥é¡¼¤Ï¡¢¼ç¤Ë

¡¦´Ý¤´¤È¥Ñ¥Ã¥¯ emathf051107c.zip

¡¦¥¹¥¿¥¤¥ë¥Õ¥¡¥¤¥ë¤ÎÄûÀµÈÇ emathc241001.zip

¡¦perl ¤È¤ÎÏ¢·ÈÍÑ¥¹¥¯¥ê¥×¥È¥Õ¥¡¥¤¥ë¤ÎÄûÀµÈÇ emathpl16.zip

¤Î4¤Ä¤Ç¤¹¡£¼ÂºÝ¤Ë¤Ï¡¢´Ý¤´¤È¥Ñ¥Ã¥¯¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤ËºÝ¤·¤Æ¤ÏÉÔÍפǡ¢µì»ÅÍͤʤɤΥɥ­¥å¥á¥ó¥È¤ÎºîÀ®¤Ë»È¤¤¤Þ¤¹¡£

¤³¤ì¤é4¤Ä¤Ï¡¢¥¨¥ó¥³¡¼¥É¤¬ utf8 ¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¥á¥âÄ¢¤ä WinShell ¤ÇÆɤá¤ë¤è¤¦¤Ë¡¢shift-JIS ¤ËÊÑ´¹¤·¤Þ¤¹¡£

¥°¥é¥ÕÉÁ²è¤äºî¿ÞÉÔ²Äǽ¤Ê¿Þ·Á¤ÎÉÁ²è¤Î¤¿¤á¤Ë¡¢¿ôÎÌ·×»»¤òɬÍפȤ·¤Þ¤¹¤¬¡¢TeX ¤Ï¤½¤ì¤Û¤É¤ÎÍÆÎ̤ò»ý¤Á¹ç¤ï¤»¤Æ¤¤¤Þ¤»¤ó¡£¤½¤³¤Ç¡¢emath ¤Ç¤Ï Perl ¤È¤ÎÏ¢·È¤ò¤·¤Þ¤¹¡£

emath ¤¬ÍѤ¤¤ë¡¢W32TeX ¤ËǼ¤á¤é¤ì¤Æ¤¤¤Ê¤¤ sty¥Õ¥¡¥¤¥ë¤Ê¤É¤Ï¡¢¤â¤¦°ì¤Ä¤Îtexmf ¤È¤¤¤¦°ÂÁ´¤Ê¾ì½ê¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£

2.4 ¥À¥¦¥ó¥í¡¼¥É

­¡ ´Ý¤´¤È¥Ñ¥Ã¥¯ emathf051107c.zip ¤ò ¥Õ¥©¥ë¥À C:\Installer2 ¤Ë¡¢¥¹¥¿¥¤¥ë¥Õ¥¡¥¤¥ë¤ÎÄûÀµÈÇ emathc241001.zip ¤ò¥Õ¥©¥ë¥À C:\Installer2\ÄûÀµÈÇ ¤Ë¤½¤ì¤½¤ì¥À¥¦¥ó¥í¡¼¥É¡¢Å¸³«¤·¡¢¸µ¤Îzip¥Õ¥¡¥¤¥ë¤Ïºï½ü¤¹¤ë¡£

­¢ C:\Installer2\emathf051107c Æâ¤Î doc.zip, pdf.zip, sty.zip ¤ò¤½¤ì¤¾¤ìŸ³«¤·¡¢¸µ¤Îzip¥Õ¥¡¥¤¥ë¤Ïºï½ü¤¹¤ë¡£

­£ C:\Installer2\emathf051107c\doc\emathAe\test\zitute.zip ¤òŸ³«¤·¡¢¸µ¤Îzip¥Õ¥¡¥¤¥ë¤Ïºï½ü¤¹¤ë¡£

2.5 ¥¨¥ó¥³¡¼¥ÉÊÑ´¹

2011ǯ3·î6Æü(Æü)¤«¤é W32TeX ¤ËÁõÈ÷¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿ C:\usr\local\bin\nkf.exe ¤òÍøÍѤ·¤Þ¤¹¡£

­¡ ¥á¥âÄ¢¤Ë¼¡¤Îµ­½Ò¤ò¥³¥Ô¥Ú¤·¡¢C:\Installer2\to_sjis.bat ¤È¤·¤ÆÊݸ¤¹¤ë¡£

for /r %%a in ( *.txt *.tex *.sty *.pl *.def *.cls ) do nkf --overwrite -c -s %%a

pause

­¢ C:\Installer2\to_sjis.bat ¤ò¥À¥Ö¥ë¥¯¥ê¥Ã¥¯¤¹¤ë¡£¢Í ´Ý¤´¤È¥Ñ¥Ã¥¯, ÄûÀµÈÇ, perl¤ÈÏ¢·È¤¹¤ë¤¿¤á¤ÎÊä½õ¥Õ¥¡¥¤¥ë·²Æâ¤ÎÁ´¤Æ¤Î txt, tex, sty, pl, def, cls ¥Õ¥¡¥¤¥ë¤¬shift-JIS¤Ë¥¨¥ó¥³¡¼¥ÉÊÑ´¹¤µ¤ì¤ë¡£¤³¤ÎÊÑ´¹¤Ë¤è¤ê¡¢¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤ÏÊѤï¤é¤Ê¤¤¡£

­£ ²¿¤«¥­¡¼¤ò²¡¤¹¡£¢Í ¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤¬ÊĤ¸¤é¤ì¤ë

­¤ sty¥Õ¥¡¥¤¥ë(Î㤨¤Ð C:\Installer2\emathf051107c\sty\arhako.sty)¤ò±¦¥¯¥ê¥Ã¥¯ > ¥×¥í¥Ñ¥Æ¥£ > Êѹ¹ >¡ÖWinShell¡×¤òÁªÂò

­¥ txt, tex, sty, def, cls¥Õ¥¡¥¤¥ë¤¬¥á¥âÄ¢¤äWinShell¤Ç³«¤±¡¢ÆüËܸ줬Æɤá¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£

2.6 ¥¤¥ó¥¹¥È¡¼¥ë

­¡ C:\Installer2\ÄûÀµÈÇ\emathc241001 Æâ¤Î¥Õ¥¡¥¤¥ëÁ´¤Æ¤ò C:\musixtexmf\tex\platex\emath ¤Ë¥³¥Ô¡¼¤¹¤ë¡£

¼¡¤Ë¡¢Perl ¤È¤ÎÏ¢·È¤ò¹Ô¤¤¤Þ¤¹¡£

2.7 Perl ¤È¤ÎÏ¢·È

Windows¤Ç¤¢¤ì¤Ð¡¢ActivePerl ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£

­¡ ActivePerl-5.22.1.2201-MSWin32-x64-299574.msi ¤ò C:\Installer\misc ¤Ë¥À¥¦¥ó¥í¡¼¥É¤·¡¢¼Â¹Ô¢ª¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë

­¢ perl ¤È¤ÎÏ¢·ÈÍÑ¥¹¥¯¥ê¥×¥È¥Õ¥¡¥¤¥ë¤ÎÄûÀµÈÇ emathpl16.zip ¤ò¡¢¥Õ¥©¥ë¥À C:\Installer2\ÄûÀµÈÇ ¤Ë¤½¤ì¤½¤ì¥À¥¦¥ó¥í¡¼¥É¡¢Å¸³«¤·¡¢¸µ¤Îzip¥Õ¥¡¥¤¥ë¤Ïºï½ü¤¹¤ë¡£

­£ C:\Installer2\ÄûÀµÈÇ\emathpl16 Æâ¤Î4¥Õ¥¡¥¤¥ë¤ò C:\Perl\lib ¤Ë¥³¥Ô¡¼¤¹¤ë¡£

2.8 emath ¤ËɬÍפʾ¤Îsty¥Õ¥¡¥¤¥ë¤Î¥¤¥ó¥¹¥È¡¼¥ë

emath¤ËɬÍפʾ¤Îsty¥Õ¥¡¥¤¥ë¤Ê¤É¤Î°ìÍ÷¤¬¡¢emath¥µ¥¤¥È¤ËºÜ¤»¤é¤ì¤Æ¤¤¤Þ¤¹¡£

­¡ ¤½¤ì¤é¤ò C:\Installer2\emath_other ¤Ë¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¡£

­¢ sty¥Õ¥¡¥¤¥ë¤Ê¤É¤Ï C:\musixtexmf\tex\platex\emath_other ¤Ë¡¢mf¥Õ¥¡¥¤¥ë¤Ê¤É¤Ï C:\musixtexmf\fonts\source ¤Ë¥³¥Ô¡¼¤¹¤ë¡£

¢¨ dtx¥Õ¥¡¥¤¥ë¤Èins¥Õ¥¡¥¤¥ë¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ä¤¤¤Æ:

dtx, ins¥Õ¥¡¥¤¥ë¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤ë¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢°ìÅÙ platex ¤Ç¥³¥ó¥Ñ¥¤¥ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£

Î㤨¤Ð¡¢esvect ¤Î¾ì¹ç:

­¡ esvect.dtx, esvect.ins ¤ò C:\Temp ¤Ë¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¡£

­¢ ¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤«¤é¡¢¼¡¤ò¼Â¹Ô¤¹¤ë¡£¢Í mf¥Õ¥¡¥¤¥ë, sty¥Õ¥¡¥¤¥ë¤Ê¤É¤¬ºîÀ®¤µ¤ì¤ë

C:\Users\(¥æ¡¼¥¶¡¼Ì¾)>cd C:\Temp

C:\Temp>platex esvect.ins

­£ ºîÀ®¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤ÎÆâ¡¢mf¥Õ¥¡¥¤¥ë¤Ï C:\Installer2\emath_other\esvect\source ¤Ë¡¢sty¥Õ¥¡¥¤¥ë,fd¥Õ¥¡¥¤¥ë¤ò C:\Installer2\emath_other\esvect\tex ¤Ë¥³¥Ô¡¼¤¹¤ë¡£

­¤ C:\Temp Æâ¤òºï½ü¤¹¤ë¡£

­¥ C:\Installer2\emath_other\esvect\source Æâ¤ò C:\musixtexmf\fonts\source\esvect ¤Ë¡¢C:\Installer2\emath_other\esvect\tex Æâ¤ò C:\musixtexmf\tex\platex\emath_other\esvect ¤Ë¥³¥Ô¡¼¤¹¤ë¡£

2.9 Statistics-Distributions ¤Î¥¤¥ó¥¹¥È¡¼¥ë

¥×¥ê¥¢¥ó¥Ö¥ë¤Ë

\useperlpm{Statistics::Distributions}

¤È½ñ¤«¤ì¤Æ¤¤¤ëtex¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥×¥»¥Ã¥È¤Ë¤Ï¡¢Perl¥â¥¸¥å¡¼¥ë¤Ç¤¢¤ë Statistics-Distributions ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤¬É¬ÍפǤ¹¡£2016ǯ1·î¤«¤é emath¸ø³«¥Õ¥¡¥¤¥ë¤Ç Statistics-Distributions ¤ò»ÈÍѤ¹¤ë¥Õ¥¡¥¤¥ë¤¬Åо줹¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£¥æ¡¼¥¶¡¼Ì¾¤ËÁ´³Ñʸ»ú¤¬´Þ¤Þ¤ì¤ë¾ì¹ç¤Ç¤â¤Ç¤­¤ë¥¤¥ó¥¹¥È¡¼¥ëË¡¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£

­¡ ¥Õ¥©¥ë¥À C:\Perl\ppm ¤òºî¤ë¡£

­¢ ´Ä¶­ÊÑ¿ô ACTIVEPERL_PPM_HOME = C:\Perl\ppm ¤È¤¹¤ë¡£

­£ ¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤òµ¯Æ°¤·¡¢¼¡¤Î¥³¥Þ¥ó¥É¤ò½ç¤Ë¼Â¹Ô¤¹¤ë¡£

C:\Users\(¥æ¡¼¥¶¡¼Ì¾)>ppm-shell

ppm>install Statistics-Distributions

(¥Ú¡¼¥¸¾åÉô¤Ø)

> PC¤Î¥Ú¡¼¥¸¤ËÌá¤ë