<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%# -*- coding: utf-8 -*-
\ifx\epTeXinputencoding\undefined\else % defined in e-pTeX (&gt; TL2016)
  \epTeXinputencoding utf8    % ensure utf-8 encoding for platex
\fi

\documentclass[a4paper]{jsarticle}
\usepackage{doc}
\usepackage{mathfam256}
\GetFileInfo{mathfam256.sty}
\usepackage{array}
\usepackage{url}
\newcommand{\OMEGA}{$\Omega$}
\def\pTeX{p\kern-.15em\TeX}
\def\upTeX{u\pTeX}
\def\eTeX{$\varepsilon$-\TeX}
\def\epTeX{$\varepsilon$-\pTeX}
\def\eupTeX{$\varepsilon$-\upTeX}
\title{Package \textsf{mathfam256} \fileversion}
\author{Hironobu Yamashita}
\date{\filedate}
\begin{document}

\maketitle

\parindent15pt

In classic \TeX\ and \eTeX, the upper limit of math groups (\verb+\fam+)
is limited to 16. However, these days some \TeX\ variants support
math groups up to 256.

In light of this situation, the \LaTeXe\ kernel 2015/01/01 increased
the upper limit of math alphabets to 256 for
Xe\TeX\ and Lua\TeX\ (Unicode \TeX\ variants).
Also, the \pLaTeXe/\upLaTeXe\ kernel 2016/11/29 introduced the similar
change for \epTeX/\eupTeX\ (``FAM256'' patch based on \OMEGA\ is applied).

However, the ``native'' kernel support is limited:
\begin{itemize}
\item The upper limit for math symbol families is still limited to 16.
\item Lamed (\LaTeX\ on Aleph) is not supported at all.
\end{itemize}

The package \textsf{mathfam256} is an attempt to resolve this situation;
increases the upper limit of math symbols from 16 (\LaTeXe\ default)
to 256, using \verb+\omath...+ primitives.

The package is maintained on GitHub:
\begin{quote}
  \url{https://github.com/aminophen/mathfam256}
\end{quote}

\section*{Requirements}

The \verb+\omath...+ primitives are originally introduced in
\OMEGA\ (Omega), and are currently available in the followings.
Without one of these, the package causes an error.
\begin{itemize}
\item \pLaTeX/\upLaTeX, run on \epTeX/\eupTeX\ (Japanese \TeX\ engine)
\item Lamed, run on Aleph (successor of \OMEGA)
\end{itemize}

\section*{Usage}

Load it in the preamble; it is recommended to load it as fast as
possible.
\begin{verbatim}
  \documentclass[a4paper]{article}
  \usepackage{mathfam256}
  \usepackage{...}% other packages
  \begin{document}
  The content
  \end{document}
\end{verbatim}

\bigskip

\parindent1zw

ã‚ªãƒªã‚¸ãƒŠãƒ«ã®\TeX ã‚„â€œç´&nbsp;â€ã®\eTeX ã§ã¯ã€æ•°å¼ãƒ•ã‚¡ãƒŸãƒª(\verb+\fam+)ã®
ä¸Šé™ãŒ16å€‹ã«åˆ¶é™ã•ã‚Œã¦ã„ã¾ã—ãŸã€‚ã—ã‹ã—ã€æœ€è¿‘ã®æ–°ã—ã„\TeX ã‚¨ãƒ³ã‚¸ãƒ³ã®ä¸­ã«ã¯ã€
256å€‹ã¾ã§ã®æ•°å¼ãƒ•ã‚¡ãƒŸãƒªã‚’ã‚µãƒãƒ¼ãƒˆã™ã‚‹ã‚‚ã®ãŒç¾ã‚Œã¦ã„ã¾ã™ã€‚

ã“ã®çŠ¶æ³ã‚’é‘‘ã¿ã€\LaTeXe ã‚«ãƒ¼ãƒãƒ«ï¼ˆ2015/01/01ä»¥é™ï¼‰ã§ã¯ã€
Unicodeå¯¾å¿œã®Xe\TeX ã¨Lua\TeX ã«ã¤ã„ã¦ã€æ•°å¼ãƒ•ã‚¡ãƒŸãƒªï¼ˆæ­£ç¢ºã«ã¯
\verb+\DeclareMathAlphebet+ã§ä½¿ã‚ã‚Œã‚‹æ•°å¼ã‚¢ãƒ«ãƒ•ã‚¡ãƒ™ãƒƒãƒˆï¼‰ã®ä¸Šé™ã‚’256ã«
å¢—ã‚„ã—ã¦ã„ã¾ã™ã€‚åŒæ§˜ã«ã€\pLaTeXe/\upLaTeXe ã‚«ãƒ¼ãƒãƒ«ï¼ˆ2016/11/29ä»¥é™ï¼‰ã‚‚ã€
\OMEGA ãƒ™ãƒ¼ã‚¹ã®ã„ã‚ã‚†ã‚‹ã€ŒFAM256ãƒ‘ãƒƒãƒã€ãŒé©ç”¨ã•ã‚ŒãŸ\epTeX/\eupTeX ã«ã¤ã„ã¦ã€
æ•°å¼ãƒ•ã‚¡ãƒŸãƒªã®ä¸Šé™ã‚’256ã«å¢—ã‚„ã—ã¦ã„ã¾ã™ã€‚ã“ã‚Œã‚‰ã«ã‚ˆã‚Š
\begin{verbatim}
  ! LaTeX Error: Too many math alphabets used in version normal.
\end{verbatim}
ã¨ã„ã†ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã«ãããªã£ã¦ã„ã¾ã™ã€‚

ã—ã‹ã—ã€ã“ã®â€œãƒã‚¤ãƒ†ã‚£ãƒ–ãªâ€ã‚«ãƒ¼ãƒãƒ«ã®ã‚µãƒãƒ¼ãƒˆã«ã¯é™ç•ŒãŒã‚ã‚Šã¾ã™ï¼š
\begin{itemize}
\item æ•°å¼ã‚·ãƒ³ãƒœãƒ«ãƒ•ã‚©ãƒ³ãƒˆã®ä¸Šé™ã¯ä¾ç„¶ã¨ã—ã¦16ã®ã¾ã¾ã§ã‚ã‚‹ï¼ˆå®‰å…¨ã®ãŸã‚ï¼‰ã€‚
\item Lamed (\LaTeX\ on Aleph)ã¯å…¨ãè€ƒæ…®ã•ã‚Œã¦ã„ãªã„ã€‚
\end{itemize}

ã“ã®\textsf{mathfam256}ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¯ã€ã“ã®çŠ¶æ³ã‚’æ”¹å–„ã™ã‚‹è©¦ã¿ã§ã™ã€‚
ã™ãªã‚ã¡ã€\OMEGA ç”±æ¥ã®\verb+\omath...+ãƒ—ãƒªãƒŸãƒ†ã‚£ãƒ–ã‚’ç”¨ã„ã¦ã€
æ•°å¼ã‚·ãƒ³ãƒœãƒ«ãƒ•ã‚©ãƒ³ãƒˆã®ä¸Šé™ã‚’256ã«å¢—ã‚„ã—ã¾ã™ã€‚

\section*{å‹•ä½œæ¡ä»¶}

ã‚‚ã¨ã‚‚ã¨\OMEGA\ (Omega)ã«å°Žå…¥ã•ã‚ŒãŸ\verb+\omath...+ãƒ—ãƒªãƒŸãƒ†ã‚£ãƒ–ãŒ
å¿…è¦ã§ã™ã€‚ã“ã‚ŒãŒå®Ÿè£…ã•ã‚Œã¦ã„ã‚‹ã®ã¯ã€ä»¥ä¸‹ã®ãƒ•ã‚©ãƒ¼ãƒžãƒƒãƒˆï¼ˆã‚¨ãƒ³ã‚¸ãƒ³ï¼‰ã§ã™ã€‚
ã“ã‚Œä»¥å¤–ã§ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ãŒä½¿ã‚ã‚Œã¦å&nbsp;´åˆã¯ã‚¨ãƒ©ãƒ¼çµ‚äº†ã—ã¾ã™ã€‚
\begin{itemize}
\item \pLaTeX/\upLaTeX ï¼ˆ\epTeX/\eupTeX ä¸Šã§å‹•ä½œï¼‰
\item Lamedï¼ˆ\OMEGA ã®å¾Œç¶™ã§ã‚ã‚‹Alephä¸Šã§å‹•ä½œï¼‰
\end{itemize}

\section*{ä½¿ã„æ–¹}

ãƒ—ãƒªã‚¢ãƒ³ãƒ–ãƒ«ã§èª­ã¿è¾¼ã¿ã¾ã™ã€‚ãªã‚‹ã¹ãæ—©ã‚ã«èª­ã¿è¾¼ã‚€ã“ã¨ã‚’ãŠå‹§ã‚ã—ã¾ã™ã€‚
\begin{verbatim}
  \documentclass[a4paper]{article}
  \usepackage{mathfam256}
  \usepackage{...}% other packages
  \begin{document}
  â€¦æœ¬æ–‡â€¦
  \end{document}
\end{verbatim}

\section*{è¬è¾ž}

æœ¬ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã¯\cite{yamamoto}ã€œ\cite{yamamoto3}ã‚’å…ƒã«ã€
æ–°ã—ã„\LaTeX ã«å¯¾å¿œã•ã›ã‚‹ã“ã¨ã§ä½œã‚‰ã‚Œã¾ã—ãŸã€‚

\begin{thebibliography}{99}
 \bibitem{yamamoto} å±±æœ¬ å’Œç¾©ï¼Œã€Œæ•°å¼famã®åˆ¶é™ã¨luatexã€ï¼Œ
  æŽ²ç¤ºæ¿ã€Œ\TeX\ Q\ \&amp;\ Aã€ï¼Œ2009/02/12ï¼Ž\\
  \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/52744.html}
 \bibitem{yamamoto2} å±±æœ¬ å’Œç¾©ï¼Œã€ŒRe: æ•°å¼famã®åˆ¶é™ã¨luatexã€ï¼Œ
  æŽ²ç¤ºæ¿ã€Œ\TeX\ Q\ \&amp;\ Aã€ï¼Œ2009/02/16ï¼Ž\\
  \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/52767.html}
 \bibitem{yamamoto3} å±±æœ¬ å’Œç¾©ï¼Œã€Œæ•°å¼famæ‹¡å¼µãƒžã‚¯ãƒ­ for e-pTeXç­‰ã€ï¼Œ
  æŽ²ç¤ºæ¿ã€Œ\TeX\ Q\ \&amp;\ Aã€ï¼Œ2009/02/21ï¼Ž\\
  \url{http://oku.edu.mie-u.ac.jp/~okumura/texfaq/qa/52799.html}
 \bibitem{eptexdoc} åŒ—å· å¼˜å…¸ï¼Œã€Œ\epTeX ã«ã¤ã„ã¦ã€ï¼Ž\\
  \verb+$TEXMFDIST/doc/ptex/ptex-base/eptexdoc.pdf+
\end{thebibliography}

\end{document}
</pre></body></html>