texlive[63854] Master/texmf-dist: jpneduenumerate (9jul22)
commits+karl at tug.org
commits+karl at tug.org
Sat Jul 9 22:12:16 CEST 2022
Revision: 63854
http://tug.org/svn/texlive?view=revision&revision=63854
Author: karl
Date: 2022-07-09 22:12:15 +0200 (Sat, 09 Jul 2022)
Log Message:
-----------
jpneduenumerate (9jul22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/jpneduenumerate/README.md
trunk/Master/texmf-dist/tex/latex/jpneduenumerate/jpneduenumerate.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate.pdf
trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate.tex
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate-en.md
trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate-ja.md
Modified: trunk/Master/texmf-dist/doc/latex/jpneduenumerate/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jpneduenumerate/README.md 2022-07-09 20:11:53 UTC (rev 63853)
+++ trunk/Master/texmf-dist/doc/latex/jpneduenumerate/README.md 2022-07-09 20:12:15 UTC (rev 63854)
@@ -1,31 +1,28 @@
-# Jpneduenumerate Package
+# jpneduenumerate
Mathematical equation representation in Japanese education differs somewhat from the standard LaTeX writing style. This package introduces enumerative expressions in Japanese education.
-## System Requirements
+## Documents
-+ TeX format: LaTeX
-+ TeX engine: pTeX, upTeX
-+ Prerequisite package: enumitem, japanese-otf and refcount
+Documents for this package are available in English and Japanese.
-Since the unit zw is used, it can be used only in the pTeX series.
-
-## Installation
-
-Move jpneduenumerate.sty file to $TEXMF/tex/latex/jpneduenumerate.
-
-
## License
This package released under [the MIT license](https://ctan.org/license/mit).
+(C) 2022 Yukoh KUSAKABE
+
## Revision History
-+ Version 1.0 2022-06-29
- + The first public version.
++ Version 1.1 2022-07-09
+ + Rewrite README.
+ + Add the document (jpneduenumerate.pdf).
+ + Add the [lua] option.
++ Version 1.0 2022-06-28
+ + The first public version.
---
Deleted: trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate-en.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate-en.md 2022-07-09 20:11:53 UTC (rev 63853)
+++ trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate-en.md 2022-07-09 20:12:15 UTC (rev 63854)
@@ -1,114 +0,0 @@
-# Jpneduenumerate Package
-
-Mathematical equation representation in Japanese education differs somewhat from the standard LaTeX writing style. This package introduces enumerative expressions in Japanese education.
-
-
-## System Requirements
-
-+ TeX format: LaTeX
-+ TeX engine: pTeX, upTeX
-+ Prerequisite package: enumitem, japanese-otf and refcount
-
-Since the unit zw is used, it can be used only in the pTeX series.
-
-
-## Installation
-
-Move jpneduenumerate.sty file to $TEXMF/tex/latex/jpneduenumerate.
-
-
-## Usage
-
-### astarisked environments
-
-The environment we will describe can be replaced with asterisked ones to eliminate the parindent.
-
-
-### environment enumerate and itemize
-
-The margins in the enumerate and itemize environments are automatically changed when the package is loaded. The symbols in the enumerate and itemize environments are automatically changed when the package is loaded. \labelenumi is (1), \labelenumii is (a), and \item is text bullet.
-
-
-### environment romanenumerate and caseenumerate
-
-This environment replaces the symbol (i) in the enumerate environment. caseenumerate is another name for romanenumerate.
-
-
-### environment Romanenumerate and stepenumerate
-
-This environment replaces the symbol (I) in the enumerate environment. stepenumerate is another name for Romanenumerate.
-
-
-### \parenref{<label>}
-
-Referred to as (1) depending on the label.
-
-
-### \romanref{<label>}
-
-Referred to as i depending on the label.
-
-
-### \parenromanref{<label>}
-
-Referred to as (i) depending on the label.
-
-
-### \Romanref{<label>}
-
-Referred to as I depending on the label.
-
-
-### \parenRomanref{<label>}
-
-Referred to as (I) depending on the labe
-
-
-### \??auto \??keep \??reset \??ref{<label>}
-
-\??auto outputs headings that automatically advance in numbering. \??keep outputs the heading with the previous number. \??reset resets the heading number back to 1. \??ref referred to as (1) depending on the label. \??ref{<label>} is referenced by label. The ?? parts can be the following:
-
-+ square (framed by square)
-+ question (another name for square)
-+ enumerate (1)
-+ subquestion (1)
-+ case (i)
-+ step (I)
-
-
-Non-asterisked commands are heading. Asterisked commands are not heading.
-
-\case is another name for \caseauto.
-
-\step is another name for \stepauto.
-
-
-### \equationreset
-
-Reset the equation number back to 1.
-
-
-### \question
-
-\questionauto and reset the equation, subquestion, enumerate, case and step numbers back to 1. \question* is another name for \questionauto*.
-
-
-### \subquestion
-
-\subquestion and reset the case and step numbers back to 1. \subquestion* is another name for \subquestionauto*.
-
-
-## License
-
-This package released under [the MIT license](https://ctan.org/license/mit).
-
-
-## Revision History
-
-+ Version 1.0 2022-06-29
- + The first public version.
-
-
----
-
-[Yukoh KUSAKABE](https://twitter.com/metaphysicainfo) (screen-name) at [metaphysica.info](https://www.metaphysica.info/)
\ No newline at end of file
Deleted: trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate-ja.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate-ja.md 2022-07-09 20:11:53 UTC (rev 63853)
+++ trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate-ja.md 2022-07-09 20:12:15 UTC (rev 63854)
@@ -1,114 +0,0 @@
-# Jpneduenumerate パッケージ
-
-日本の教育における数式表現には,LaTeX の標準である書きかたとはやや異なる部分があります。このパッケージでは,日本の教育における列挙表現を導入します。
-
-
-## 前提条件
-
-+ TeX format: LaTeX
-+ TeX engine: pTeX, upTeX
-+ Prerequisite package: enumitem, japanese-otf and refcount
-
-単位 zw を用いていますので,pTeX 系列でのみ使用できます。
-
-
-## インストール
-
-jpneduenumerate.sty を $TEXMF/tex/latex/jpneduenumerate (TeXが見つけられる場所)に置いてください。
-
-
-## 使用方法
-
-### アスタリスクのついた環境
-
-これから説明する環境は,アスタリスクをつけることで parindent がなくなります。
-
-
-### enumerate 環境と itemize 環境
-
-パッケージを読み込むと自動的に enumerate 環境と itemize 環境の余白が変更されます。パッケージを読み込むと自動的に enumerate 環境と itemize 環境の記号が変更されます。\labelenumi は (1),\labelenumii は (a),\item は ・ です。
-
-
-### romanenumerate 環境と caseenumerate 環境
-
-この環境は enumerate 環境の記号を (i) に置き換えたものです。caseenumerate は romanenumerate の別名です。
-
-
-### Romanenumerate 環境と stepenumerate 環境
-
-この環境は enumerate 環境の記号を (I) に置き換えたものです。stepenumerate は Romanenumerate の別名です。
-
-
-### \parenref{<label>}
-
-ラベルによって (1) のように参照します。
-
-
-### \romanref{<label>}
-
-ラベルによって i のように参照します。
-
-
-### \parenromanref{<label>}
-
-
-ラベルによって (i) のように参照します。
-
-
-### \Romanref{<label>}
-
-ラベルによって I のように参照します。
-
-
-### \parenRomanref{<label>}
-
-ラベルによって (I) のように参照します。
-
-
-### \??auto \??keep \??reset \??ref{<label>}
-
-\??auto は自動で番号が進む見出しを出力します。\??keep は直前の番号のままで見出しを出力します。\??reset は見出しの番号を1に戻します。\??ref{<label>} はラベルによって参照します。?? の部分には以下のものが使えます。
-
-+ square (framed by square)
-+ question (another name for square)
-+ enumerate (1)
-+ subquestion (1)
-+ case (i)
-+ step (I)
-
-アスタリスクのない命令は見出しになります。アスタリスクの付いた命令は見出しになりません。
-
-\case は \caseauto の別名です。
-
-\step は \stepauto の別名です。
-
-
-### \equationreset
-
-数式番号を1に戻します。
-
-
-### \question
-
-\questionauto を出力し,equation subquestion enumerate case step をすべて1に戻します。\question* は \questionauto* の別名です。
-
-
-### \subquestion
-
-\questionauto を出力し,case step をともに1に戻します。
-
-
-## ライセンス
-
-このパッケージは[MITライセンス](https://ctan.org/license/mit)のもとで配布しています。
-
-
-## 更新履歴
-
-+ Version 1.0 2022-06-29
- + The first public version.
-
-
----
-
-[Yukoh KUSAKABE](https://twitter.com/metaphysicainfo) (screen-name) at [metaphysica.info](https://www.metaphysica.info/)
\ No newline at end of file
Added: trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate.pdf 2022-07-09 20:11:53 UTC (rev 63853)
+++ trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate.pdf 2022-07-09 20:12:15 UTC (rev 63854)
Property changes on: trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate.tex 2022-07-09 20:12:15 UTC (rev 63854)
@@ -0,0 +1,599 @@
+\documentclass[%
+fleqn,%
+paper=a4paper,%
+fontsize=10pt,%
+open_bracket_pos=zenkakunibu_nibu,%
+hanging_punctuation,%
+]%
+{jlreq}
+\jlreqsetup{%
+itemization_beforeafter_space=0pt,%
+itemization_itemsep=0pt%
+}
+\makeatletter
+\RequirePackage{luatexja}
+\RequirePackage{luatexja-otf}
+\RequirePackage{graphicx}
+\RequirePackage{amsmath}
+\DeclareRobustCommand{\metaphysicaicon}{\raisebox{-4.0pt}{\includegraphics[width=16pt]{metaphysicaicon.pdf}}}
+\RequirePackage[normalem]{ulem}
+\RequirePackage[explicit]{titlesec}
+\titleformat{\section}[hang]{}{}{0pt}{\uuline{\raisebox{1pt}{\textsf{\thesection\quad #1}}}}[\vspace{0.35\baselineskip}]
+\renewcommand{\thesection}{\S\,\arabic{section}}
+\let\originalsection\section
+\DeclareRobustCommand{\section}{\@ifstar{\@metaphysica at section@star}{\@metaphysica at section@nostar}}
+\DeclareRobustCommand{\@metaphysica at section@star}[1]{\vspace{0.5\baselineskip}\originalsection{#1}\vspace*{-\baselineskip}}
+\DeclareRobustCommand{\@metaphysica at section@nostar}[1]{\vspace{0.5\baselineskip}\originalsection{#1}}
+\RequirePackage[%
+truedimen,%
+margin=30truemm,
+includehead%
+]{geometry}
+\RequirePackage{lastpage}
+\RequirePackage{fancyhdr}
+\pagestyle{fancy}
+\DeclareRobustCommand{\headertitle}[2][\metaphysicaicon]{%
+\rhead[#2]{#1{}\quad\thepage{}/{}\pageref{LastPage}}%
+\lhead[\thepage{}/{}\pageref{LastPage}\quad{}#1]{#2}%
+\cfoot{}%
+}
+\RequirePackage{setspace}
+\setstretch{1.155}
+\DeclareRobustCommand{\linespace}{\@ifstar{\vspace{\baselineskip}}{\vspace{0.25\baselineskip}}}
+\DeclareRobustCommand{\linesmash}{\@ifstar{\vspace{-\baselineskip}}{\vspace{-0.25\baselineskip}}}
+\AtBeginDocument{%
+\abovedisplayskip =0.125\abovedisplayskip
+\abovedisplayshortskip=0.125\abovedisplayshortskip
+\belowdisplayskip =0.125\belowdisplayskip
+\belowdisplayshortskip=0.125\belowdisplayshortskip}
+\setlength{\jot}{0pt}%
+\setlength{\mathindent}{2\zw}%
+\renewcommand{\floatpagefraction}{0.75}
+\allowdisplaybreaks[2]
+\RequirePackage[no-math]{fontspec}
+\RequirePackage[no-math,deluxe,haranoaji]{luatexja-preset}
+\RequirePackage{multicolpar}
+\RequirePackage[style=iso]{datetime2}
+\RequirePackage[unicode]{hyperref}
+\RequirePackage{xparse}
+\RequirePackage{dashbox}
+\newcounter{psuedosectioncounter}
+\setcounter{psuedosectioncounter}{1}
+\newcounter{psuedocontentscounter}
+\setcounter{psuedocontentscounter}{1}
+\DeclareRobustCommand{\psuedosection}[3]{%
+\hypertarget{#1}{\mbox{}}\begin{multicolpar}{2}%
+\noindent\uuline{{\raisebox{1pt}{\textsf{\S\ \thepsuedosectioncounter\quad #2}}}}
+
+\noindent\uuline{{\raisebox{1pt}{\textsf{\S\ \thepsuedosectioncounter\quad #3}}}}
+\end{multicolpar}%
+\stepcounter{psuedosectioncounter}%
+\vspace{\baselineskip}%
+}
+\DeclareRobustCommand{\psuedocontents}[3]{%
+\begin{multicolpar}{2}%
+\noindent{\textsf{\hyperlink{#1}{\S\ \thepsuedocontentscounter\quad #2}}}
+
+\noindent{\textsf{\hyperlink{#1}{\S\ \thepsuedocontentscounter\quad #3}}}\end{multicolpar}%
+\stepcounter{psuedocontentscounter}%
+}
+\newenvironment{translateing}%
+{\begin{multicolpar}{2}}
+{\end{multicolpar}\vspace{\baselineskip}}
+\DeclareRobustCommand{\maketitletranslating}%
+{\maketitle\thispagestyle{fancy}
+\vspace{\baselineskip}\begin{multicolpar}{2}
+\textsf{English}
+
+\noindent
+\textsf{日本語 (Japanese)}
+\end{multicolpar}\vspace{\baselineskip}}
+\NewDocumentCommand\macroexplanation{v}{%
+\noindent\hspace*{\fill}{\texttt{#1}}\hspace*{\fill}\linespace%
+}
+\NewDocumentEnvironment{macroexample}{O{0.625} +b}{%
+\noindent\hspace*{\fill}\dbox{\parbox{#1\textwidth}{%
+#2%
+}}\hspace*{\fill}}%
+{\vspace{\baselineskip}}
+\NewDocumentEnvironment{macroexample*}{O{0.625} m +b}{%
+\noindent\hspace*{\fill}\dbox{\parbox{#1\textwidth}{%
+\vspace{-0.5\baselineskip}\begin{#2}%
+#3
+\end{#2}%
+}}\hspace*{\fill}}
+{\vspace{\baselineskip}}
+\let\code\texttt
+\setlength{\fboxsep}{1em}
+\setstretch{1.05}
+\DeclareRobustCommand{\commandtojskip}{\hspace{2.40554pt plus 1.49994pt minus 0.59998pt}}
+\RequirePackage{listings, jlisting}
+\lstset{
+ language=[LaTeX]TeX,
+ basicstyle={\ttfamily},
+ identifierstyle={\small},
+ commentstyle={\small\itshape},
+ keywordstyle={\small\bfseries},
+ ndkeywordstyle={\small},
+ stringstyle={\small\ttfamily},
+ frame=single,
+ breaklines=true,
+ columns=[l]{fullflexible},
+ stepnumber=1,
+ xrightmargin=0.1709\textwidth,
+ xleftmargin=0.1709\textwidth,
+ lineskip=-0.5ex
+}
+\RequirePackage{bxtexlogo}
+\RequirePackage{shortvrb}
+\MakeShortVerb{\|}
+\RequirePackage[lua]{jpneduenumerate}
+\makeatother
+%
+\hypersetup{%
+bookmarksnumbered=true,%
+colorlinks=true,%
+linkcolor=blue,%
+urlcolor=blue,%
+setpagesize=false,%
+pdftitle={The jpneduenumerate package},%
+pdfauthor={Yukoh KUSAKABE},%
+pdfsubject={The jpneduenumerate package},%
+pdfkeywords={TeX LaTeX enumerate Japanese education}}
+\title{The \code{jpneduenumerate} package:\\[0.25\baselineskip]
+enumerative expressions in Japanese education}
+\author{Yukoh KUSAKABE}
+\date{\today}
+\headertitle[Yukoh KUSAKABE\quad\metaphysicaicon]{The \code{jpneduenumerate} package}
+\begin{document}
+\maketitletranslating
+
+\begin{translateing}
+Mathematical equation representation in Japanese education differs somewhat from the standard \LaTeX\ writing style.
+This package introduces enumerative expressions in Japanese education.
+
+日本の教育における数式表現には,\LaTeX の標準である書きかたとはやや異なる部分があります。
+このパッケージでは,日本の教育における列挙表現を導入します。
+\end{translateing}
+
+\psuedocontents{Requirements}{System Requirements}{前提条件}
+
+\psuedocontents{Installation}{Installation}{インストール}
+
+\psuedocontents{Loading}{Loading}{読み込み}
+
+\psuedocontents{Usage}{Usage}{使用方法}
+
+\psuedocontents{moreinfo}{For More Information}{問い合わせ・詳しくは}
+
+\psuedosection{Requirements}{System Requirements}{前提条件}
+
+\begin{translateing}
+\textbullet\ \LaTeXe\ format\\
+\textbullet\ \code{enumitem} package\\
+\textbullet\ \code{refcount} package\\
+\textbullet\ \scalebox{0.875}[1]{\pTeX/\upTeX\ engine (when no options are loaded)}\\
+\textbullet\ \code{japanese-otf} package\\\hfill(when no options are loaded)\\
+\textbullet\ \LuaTeX\ engine (\code{[lua]} only)\\
+\textbullet\ \code{luatexja} package (\code{[lua]} only)\\
+\textbullet\ \code{luatexja-otf} package (\code{[lua]} only)
+
+\noindent
+\textbullet\ \LaTeXe フォーマット\\
+\textbullet\ \code{enumitem}パッケージ\\
+\textbullet\ \code{refcount}パッケージ\\
+\textbullet\ \scalebox{0.925}[1]{\pTeX/\upTeX エンジン(オプション不使用時)}\\
+\textbullet\ \code{japanese-otf}パッケージ\\\hfill(オプション不使用時)\\
+\textbullet\ \LuaTeX エンジン(\code{[lua]}使用時)\\
+\textbullet\ \code{luatexja}パッケージ(\code{[lua]}使用時)\\
+\textbullet\ \code{luatexja-otf}パッケージ(\code{[lua]}使用時)
+\end{translateing}
+
+\psuedosection{Installation}{Installation}{インストール}
+
+\begin{translateing}
+If not available, move jpneduenumerate.sty file to \code{\$TEXMF/tex/latex/jpneduenumerate}.
+
+直ちに使えなければ,jpneduenumerate.sty を\commandtojskip\code{\$TEXMF/tex/latex/jpneduenumerate}%(\TeX が見つけられる場所)
+に置いてください。
+\end{translateing}
+
+\psuedosection{Loading}{Loading}{読み込み}
+
+\begin{translateing}
+To use this package, load .sty file with |\usepackage{jpneduenumerate}| command in preamble.
+
+このパッケージを使用するには,プリアンブルに\commandtojskip|\usepackage{jpneduenumerate}| と書いてください。
+%\end{translateing}
+
+%\begin{translateing}
+There are the |[lua]| options:
+This option changes the engine this package runs on from \pTeX/\upTeX\ to \LuaTeX. It does not change the appearance of the output.
+Since the unit |zw| is used when no options are loaded, it can be used only in the \pTeX/\upTeX\ series.
+Since the unit |\zw| is used when the \code{[lua]} loaded, it can be used only in the \LuaTeX\ series and \LuaTeX-ja.
+
+|[lua]| オプションがあります。
+このオプションは,このパッケージが動作するエンジンを\pTeX/\upTeX から\LuaTeX に変更します。それは出力の見た目には変化を及ぼしません。
+オプションを使用しないときには単位|zw|を用いますので,\pTeX/\upTeX 系列でのみ使用できます。
+\code{[lua]}を読み込むと単位\commandtojskip|\zw|を用いますので,\LuaTeX 系列でのみ使用できます。
+\end{translateing}
+
+\psuedosection{Usage}{Usage}{使用方法}
+
+\macroexplanation{astarisked environments}
+
+\begin{translateing}
+The environment we will describe can be replaced with asterisked ones to eliminate the |parindent|.
+For example:
+
+これから説明する環境は,アスタリスクをつけることで|parindent|がなくなります。
+たとえば,次のようになります。
+\end{translateing}
+
+\newpage
+
+\noindent\hspace*{\fill}\fbox{\parbox{0.625\textwidth}{%
+\ttfamily\textbackslash begin\{itemize\}\\
+\textbackslash item 石炭をば早や積み果てつ。中等室の卓のほとりはいと靜にて、熾熱燈の光の晴れがましきも徒なり。\\
+\textbackslash item 今宵は夜毎にこゝに集ひ來る骨牌仲間も「ホテル」に宿りて、舟に殘れるは余一人のみなれば。\\
+\textbackslash end\{itemize\}
+
+\linespace*
+\textbackslash begin\{itemize*\}\\
+\textbackslash item 石炭をば早や積み果てつ。中等室の卓のほとりはいと靜にて、熾熱燈の光の晴れがましきも徒なり。\\
+\textbackslash item 今宵は夜毎にこゝに集ひ來る骨牌仲間も「ホテル」に宿りて、舟に殘れるは余一人のみなれば。\\
+\textbackslash end\{itemize*\}%
+}}\hspace*{\fill}%
+{\vspace{\baselineskip}}
+
+\begin{macroexample}
+\begin{itemize}
+\item 石炭をば早や積み果てつ。中等室の卓のほとりはいと靜にて、熾熱燈の光の晴れがましきも徒なり。
+\item 今宵は夜毎にこゝに集ひ來る骨牌仲間も「ホテル」に宿りて、舟に殘れるは余一人のみなれば。
+\end{itemize}
+
+\begin{itemize*}
+\item 石炭をば早や積み果てつ。中等室の卓のほとりはいと靜にて、熾熱燈の光の晴れがましきも徒なり。
+\item 今宵は夜毎にこゝに集ひ來る骨牌仲間も「ホテル」に宿りて、舟に殘れるは余一人のみなれば。
+\end{itemize*}
+\end{macroexample}
+
+\begin{translateing}
+For the purpose of this package, example sentences are in Japanese.
+If you use this package in a Latin text, the |parindent| will be set to the same size, i.e., one full-width character.
+
+このパッケージの目的から,例文は日本語としました。
+欧文のもとでこのパッケージを使用しても,同じ大きさすなわち全角1文字分の|parindent|が設定されます。
+\end{translateing}
+
+\macroexplanation{environment enumerate and itemize}
+
+\begin{translateing}
+The margins and the symbols in the |enumerate| and |itemize| environments are automatically changed when the package is loaded.
+|\labelenumi| is (1), |\labelenumii| is (a), and |\item| is text bullet.
+See the examples immediately above.
+
+パッケージを読み込むと自動的に|enumerate|環境と|itemize|環境の余白と記号が変更されます。
+|\labelenumi|\commandtojskip は(1),|\labelenumii|\commandtojskip は(a),|\item|\commandtojskip は・です。
+例は直前のものを見てください。
+\end{translateing}
+
+\newpage
+\macroexplanation{environment romanenumerate and caseenumerate}
+
+\begin{translateing}
+This environment replaces the symbols in the |enumerate| environment with a full-width (i).
+|caseenumerate| is synonym for |romanenumerate|.
+
+この環境は|enumerate|環境の記号を全角の(i)に置き換えたものです。
+|caseenumerate|は|romanenumerate|の別名です。
+\end{translateing}
+
+\begin{lstlisting}
+\begin{caseenumerate}
+\item The best and most beautiful things in the world cannot be seen or even touched.
+\item They must be felt with the heart.
+\end{caseenumerate}
+\end{lstlisting}
+
+\begin{macroexample}
+\begin{caseenumerate}
+\item The best and most beautiful things in the world cannot be seen or even touched.
+\item They must be felt with the heart.
+\end{caseenumerate}
+\end{macroexample}
+
+\macroexplanation{environment Romanenumerate and stepenumerate}
+
+\begin{translateing}
+This environment replaces the symbols in the |enumerate| environment with a full-width (I).
+|stepenumerate| is synonym for |Romanenumerate|.
+
+この環境は|enumerate|環境の記号を全角の(I)に置き換えたものです。
+|stepenumerate|は|Romanenumerate|の別名です。
+\end{translateing}
+
+\begin{lstlisting}
+\begin{stepenumerate}
+\item The best and most beautiful things in the world cannot be seen or even touched.
+\item They must be felt with the heart.
+\end{stepenumerate}
+\end{lstlisting}
+
+\begin{macroexample}
+\begin{stepenumerate}
+\item The best and most beautiful things in the world cannot be seen or even touched.
+\item They must be felt with the heart.
+\end{stepenumerate}
+\end{macroexample}
+
+\newpage
+\macroexplanation{\parenref{<label>}}
+
+\begin{translateing}
+Referred to as (1) depending on the label.
+
+ラベルによって(1)のように参照します。
+\end{translateing}
+
+\macroexplanation{\romanref{<label>}}
+
+\begin{translateing}
+Referred to as \ajroman{1} depending on the label.
+
+ラベルによって\ajroman{1}のように参照します。
+\end{translateing}
+
+\macroexplanation{\parenromanref{<label>}}
+
+\begin{translateing}
+Referred to as (\ajroman{1}) depending on the label.
+
+ラベルによって(\ajroman{1})のように参照します。
+\end{translateing}
+
+\macroexplanation{\Romanref{<label>}}
+
+\begin{translateing}
+Referred to as \ajRoman{1} depending on the label.
+
+ラベルによって\ajRoman{1}のように参照します。
+\end{translateing}
+
+\macroexplanation{\parenRomanref{<label>}}
+
+\begin{translateing}
+Referred to as (\ajRoman{1}) depending on the label.
+
+ラベルによって(\ajRoman{1})のように参照します。
+\end{translateing}
+
+\begin{lstlisting}
+\begin{enumerate}
+\item The best and most beautiful things in the world cannot be seen or even touched.\label{A}
+\item They must be felt with the heart.\label{B}
+\end{enumerate}
+
+\parenref{A}\parenref{B}
+\romanref{A}\romanref{B}
+\parenromanref{A}\parenromanref{B}
+\Romanref{A}\Romanref{B}
+\parenRomanref{A}\parenRomanref{B}
+\end{lstlisting}
+
+\begin{macroexample}
+\begin{enumerate}
+\item The best and most beautiful things in the world cannot be seen or even touched.\label{A}
+\item They must be felt with the heart.\label{B}
+\end{enumerate}
+
+\parenref{A}\parenref{B}
+\romanref{A}\romanref{B}
+\parenromanref{A}\parenromanref{B}
+\Romanref{A}\Romanref{B}
+\parenRomanref{A}\parenRomanref{B}
+\end{macroexample}
+
+\begin{translateing}
+Since the label only manages numbers, the appearance is achieved by changing the ref type.
+
+ラベルは数字しか管理していないので,見た目はrefの種類を変えることで実現します。
+
+As in the example above, these commands except |\parenref| disable |hyperref|.
+
+上の例で分かる通り,|\parenref|以外のこれらのコマンドは|hyperref|を無効にします。
+\end{translateing}
+
+\newpage
+\macroexplanation{\??auto \??keep \??reset \??ref{<label>}}
+
+\begin{translateing}
+|\??auto| outputs headings that automatically advance in numbering.
+|\??keep| outputs the heading with the previous number.
+|\??reset| resets the heading number back to 1.
+%|\??ref| referred to as (1) depending on the label.
+|\??ref{<label>}| is referenced by label.
+The |??| parts can be the following:\\
+\textbullet\ |square| or |question| (\squarenumber*{1})\\
+\textbullet\ |enumerate| (1)\\
+\textbullet\ |subquestion| (1)\\
+\textbullet\ |case| (\ajroman{1})\\
+\textbullet\ |step| (\ajRoman{1})
+
+|\??auto|は自動で番号が進む見出しを出力します。
+|\??keep|は直前の番号のままで見出しを出力します。
+|\??reset|は見出しの番号を1に戻します。
+|\??ref{<label>}|\commandtojskip はラベルによって参照します。
+|??|の部分には以下のものが使えます。\\
+\textbullet\ |square|または|question| (\squarenumber*{1})\\
+\textbullet\ |enumerate| (1)\\
+\textbullet\ |subquestion| (1)\\
+\textbullet\ |case| (\ajroman{1})\\
+\textbullet\ |step| (\ajRoman{1})
+
+Non-asterisked commands are heading.
+Asterisked commands are not heading.
+
+アスタリスクのない命令は見出しになります。
+アスタリスクの付いた命令は見出しになりません。
+
+|\case| is synonym for |\caseauto|.
+|\step| is synonym for |\stepauto|.
+
+|\case|は\commandtojskip|\caseauto|の別名です。
+|\step|は\commandtojskip|\stepauto|の別名です。
+\end{translateing}
+
+\begin{lstlisting}
+\setlength{\parindent}{1em}
+\squareauto is heading.
+
+\squareauto* is not heading.
+
+\enumerateauto\enumerateauto\enumeratekeep\enumeratekeep%
+\enumerateauto\label{test}\enumerateauto\enumerateauto%
+\enumeratereset\enumerateauto\enumerateref{test}
+
+\questionauto\subquestionauto\subquestionauto\\
+\caseauto\caseauto\caseauto\caseauto
+\stepauto\stepauto\stepauto\stepauto
+\end{lstlisting}
+
+\begin{macroexample}
+\setlength{\parindent}{1em}
+\squareauto is heading.
+
+\squareauto* is not heading.
+
+\enumerateauto\enumerateauto\enumeratekeep\enumeratekeep%
+\enumerateauto\label{test}\enumerateauto\enumerateauto%
+\enumeratereset\enumerateauto\enumerateauto\enumerateauto
+\enumeratereset\enumerateauto\enumerateref{test}
+
+\questionauto\subquestionauto\subquestionauto\\
+\caseauto\caseauto\caseauto\caseauto
+\stepauto\stepauto\stepauto\stepauto
+\end{macroexample}
+
+\macroexplanation{\equationreset}
+
+\begin{translateing}
+Reset the equation number back to 1.
+
+数式番号を1に戻します。
+\end{translateing}
+
+\begin{lstlisting}
+\begin{gather}
+A\\
+B
+\end{gather}
+\equationreset
+\begin{equation}
+C
+\end{equation}
+\end{lstlisting}
+
+\begin{macroexample}
+\begin{gather}
+A\\
+B
+\end{gather}
+\equationreset
+\begin{equation}
+C
+\end{equation}
+\end{macroexample}
+
+\macroexplanation{\question}
+
+\begin{translateing}
+|\questionauto| and reset the equation, subquestion, enumerate, case and step numbers back to 1.
+
+|\questionauto|を出力し,equation・subquestion・enumerate・case・stepの番号を1に戻します。
+
+|\question*| is synonym for |\questionauto*| (and doesn't reset numbers).
+
+|\question*|\commandtojskip は\commandtojskip|\questionauto*|\commandtojskip の別名です(から,番号は戻しません)。
+\end{translateing}
+
+\macroexplanation{\subquestion}
+
+\begin{translateing}
+|\subquestionauto| and reset the case and step numbers back to 1.
+
+|\subquestionauto|を出力し,|case|と|step|の番号を1に戻します。
+
+|\subquestion*| is another name for |\subquestionauto*| (and doesn't reset numbers).
+
+|\subquestion*|\commandtojskip は\commandtojskip|\subquestionauto*|\commandtojskip の別名です(から,番号は戻しません)。
+\end{translateing}
+
+\newpage
+\questionreset
+\begin{lstlisting}
+\question\subquestion\case\case\subquestion\case\case
+\begin{gather}
+A\\
+B
+\end{gather}
+\subquestion
+
+\question\subquestion\step\step\subquestion\step\step
+\begin{equation}
+C
+\end{equation}
+\end{lstlisting}
+
+\begin{macroexample}
+\question\subquestion\case\case\subquestion\case\case
+\begin{gather}
+A\\
+B
+\end{gather}
+\subquestion
+
+\question\subquestion\step\step\subquestion\step\step
+\begin{equation}
+C
+\end{equation}
+\end{macroexample}
+
+\begin{translateing}
+In the default setting, the equation number and the appearance of the |\subquestion| are identical, which makes it difficult to understand.
+In Japanese high school mathematics, equation numbers are generally expressed as circled numbers, so we have kept this in mind.
+It can be achieved, for example, with the |[circled]| or |[luacircled]| option of my |inlinelabel| package.
+
+既定の設定では数式番号と|\subquestion|の見た目が一致しており分かりにくくなっています。
+日本の高校数学では数式番号は丸囲み数字で表されることが一般的ですから,それを念頭に置いています。
+それは,たとえば私が作成した|inlinelabel|パッケージの|[circled]|または|[luacircled]|オプションで実現できます。
+\end{translateing}
+
+%\def\tagform@#1{\maketag@@@{$\ldots\hspace*{-0.075em}$\ignorespaces\ajMaru{#1}\unskip\@@italiccorr}}%
+\questionreset
+\hspace*{\fill}with |\usepackage[circled]{inlinelabel}| or |\usepackage[luacircled]{inlinelabel}|:\hspace*{\fill}\\
+\begin{macroexample}
+\question\subquestion\case\case\subquestion\case\case
+\begin{gather*}
+A\hspace*{21.05\zw}\ldots\mbox{\ajMaru{1}}\\
+B\hspace*{21\zw}\ldots\mbox{\ajMaru{2}}
+\end{gather*}
+\subquestion
+
+\question\subquestion\step\step\subquestion\step\step
+\begin{equation*}
+C\hspace*{21\zw}\ldots\mbox{\ajMaru{1}}\
+\end{equation*}
+\end{macroexample}
+
+\psuedosection{moreinfo}{For More Information}{問い合わせ・詳しくは}
+
+\noindent\hspace*{\fill}\begin{tabular}{rl}
+\multicolumn{2}{l}{The jpneduenumerate package:}%&
+\\%
+\multicolumn{2}{r}{\hspace{8\zw}\url{https://www.metaphysica.info/technote/package_jpneduenumerate/}}\\
+Yukoh KUSAKABE:&\url{https://www.metaphysica.info/}\\
+&\url{https://twitter.com/metaphysicainfo}\\
+&(screen-name, 日下部幽考 in Japanese)
+\end{tabular}\hspace*{\fill}
+\end{document}
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/doc/latex/jpneduenumerate/jpneduenumerate.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/jpneduenumerate/jpneduenumerate.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jpneduenumerate/jpneduenumerate.sty 2022-07-09 20:11:53 UTC (rev 63853)
+++ trunk/Master/texmf-dist/tex/latex/jpneduenumerate/jpneduenumerate.sty 2022-07-09 20:12:15 UTC (rev 63854)
@@ -11,18 +11,16 @@
%%
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{jpneduenumerate}[2022/06/29 v1.0]
+\ProvidesPackage{jpneduenumerate}[2022/07/09 v1.1]
%
-% %% \if at jpneduenumerate@meaning
-% \newif\if at jpneduenumerate@meaning
-% \@jpneduenumerate at meaningfalse
-% %
-% %% [meaning]
-% \DeclareOption{meaning}{\@jpneduenumerate at meaningtrue}
-% %
-% \ExecuteOptions{}
-% \ProcessOptions\relax
+%% [lua]
+\newif\if at jpnedu@enumerate at lua
+\@jpnedu at enumerate@luafalse
+\DeclareOption{lua}{\@jpnedu at enumerate@luatrue}%
%
+\ExecuteOptions{}
+\ProcessOptions\relax
+%
%% replace defaluts
% for \setlist
\RequirePackage{enumitem}
@@ -30,10 +28,106 @@
% for \getrefnumber
\RequirePackage{refcount}
%
+%%%%%%%%%%%%%%%%%%%%%%%%
+% with [lua] %%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%
+\if at jpnedu@enumerate at lua
+%%%%%%%%%%%%%%%%%%%%%%%%
+%
% for \ajroman \ajRoman
+\RequirePackage{luatexja-otf}
+%
+% If you do not use pLaTeX, LaTeX cannot use '\zw'.
+% In that case, please write \usepackage{bxjacalcux}.
+\setlist{nosep,leftmargin=2\zw,itemindent=1\zw,labelsep=1.15\zw,listparindent=1\zw}
+\setlist[itemize,1]{label=\textbf{\textperiodcentered}}
+\renewcommand{\labelenumi}{(\arabic{enumi})}
+\renewcommand{\labelenumii}{(\alph{enumii})}
+%%
+%
+% Asterisked envionments don't have parindent.
+%
+%% \begin{itemize*}
+\newenvironment{itemize*}%
+{\begin{itemize}[nosep,leftmargin=3\zw,itemindent=0\zw,labelsep=1.15\zw]}%
+{\end{itemize}}
+%
+%% \begin{enumerate*}
+\newenvironment{enumerate*}%
+{\begin{enumerate}[nosep,leftmargin=3\zw,itemindent=0\zw,labelsep=1.15\zw]}%
+{\end{enumerate}}
+%
+%% \begin{romanenumerate}
+%% \begin{romanenumerate*}
+\newenvironment{romanenumerate}%
+{\begin{enumerate}[nosep,leftmargin=2\zw,itemindent=1\zw,labelsep=1.15\zw,listparindent=1\zw]%
+\renewcommand{\labelenumi}{(\ajLabel\ajroman{enumi})}%
+\renewcommand{\labelenumii}{(\alph{enumii})}%
+}%
+{\end{enumerate}}
+\newenvironment{romanenumerate*}%
+{\begin{enumerate}[nosep,leftmargin=3\zw,itemindent=0\zw,labelsep=1.15\zw]%
+\renewcommand{\labelenumi}{(\ajLabel\ajroman{enumi})}%
+\renewcommand{\labelenumii}{(\alph{enumii})}%
+}%
+{\end{enumerate}}
+%
+%% \begin{Romanenumerate}
+%% \begin{Romanenumerate*}
+\newenvironment{Romanenumerate}%
+{\begin{enumerate}[nosep,leftmargin=2\zw,itemindent=1\zw,labelsep=1.15\zw,listparindent=1\zw]%
+\renewcommand{\labelenumi}{(\ajLabel\ajRoman{enumi})}%
+\renewcommand{\labelenumii}{(\alph{enumii})}%
+}%
+{\end{enumerate}}
+\newenvironment{Romanenumerate*}%
+{\begin{enumerate}[nosep,leftmargin=3\zw,itemindent=0\zw,labelsep=1.15\zw]%
+\renewcommand{\labelenumi}{(\ajLabel\ajRoman{enumi})}%
+\renewcommand{\labelenumii}{(\alph{enumii})}%
+}%
+{\end{enumerate}}
+%
+%% \begin{caseenumerate}
+%% \begin{caseenumerate*}
+%% \begin{stepenumerate}
+%% \begin{stepenumerate*}
+\newenvironment{caseenumerate}%
+{\begin{romanenumerate}}%
+{\end{romanenumerate}}
+\newenvironment{caseenumerate*}%
+{\begin{romanenumerate*}}%
+{\end{romanenumerate*}}
+\newenvironment{stepenumerate}%
+{\begin{Romanenumerate}}%
+{\end{Romanenumerate}}
+\newenvironment{stepenumerate*}%
+{\begin{Romanenumerate*}}%
+{\end{Romanenumerate*}}
+%%
+%
+%% \@jpneduenumerate at z@w at space
+\chardef\@jpneduenumerate at z@w at space=\jis"2121\relax
+%
+%% \@jpneduenumerate at makenumber
+% Non-stared macros are heading ones.
+% Stared macros are non-heading ones.
+\newcommand{\@jpneduenumerate at makenumber}[2]{%
+\expandafter\newcommand\csname #1\endcsname%
+{\@ifstar{\csname @jpneduenumerate#1 at star\endcsname}{\csname @jpneduenumerate#1 at nostar\endcsname}}%
+\expandafter\newcommand\csname @jpneduenumerate#1 at star\endcsname[1]%
+{#2}%
+\expandafter\newcommand\csname @jpneduenumerate#1 at nostar\endcsname[1]%
+{\noindent#2\hspace{0.5\zw}}}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%
+% without [lua] %%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%
+\else
+%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% for \ajroman \ajRoman
\RequirePackage{otf}
%
-%
% If you do not use pLaTeX, LaTeX cannot use 'zw'.
% In that case, please write \usepackage{bxjacalcux}.
\setlist{nosep,leftmargin=2zw,itemindent=1zw,labelsep=1.15zw,listparindent=1zw}
@@ -102,9 +196,6 @@
{\end{Romanenumerate*}}
%%
%
-%% \@jpneduenumerate at zwspace
-\chardef\@jpneduenumerate at zwspace=\jis"2121\relax
-%
%% \@jpneduenumerate at makenumber
% Non-stared macros are heading ones.
% Stared macros are non-heading ones.
@@ -116,6 +207,15 @@
\expandafter\newcommand\csname @jpneduenumerate#1 at nostar\endcsname[1]%
{\noindent#2\hspace{0.5zw}}}
%
+%%%%%%%%%%%%%%%%%%%%%%%%
+% common %%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%
+\fi
+%%%%%%%%%%%%%%%%%%%%%%%%
+%
+%% \@jpneduenumerate at z@w at space
+\chardef\@jpneduenumerate at z@w at space=\jis"2121\relax
+%
%% Refs
% \ref{<\labelenumii of romanenumerate and Romanenumerate>} doesn't work.
\@jpneduenumerate at makenumber{parenref}{(\ref{#1})}
@@ -167,9 +267,15 @@
%%
%%*
%
+%%%%%%%%%%%%%%%%%%%%%%%%
+% with [lua] %%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%
+\if at jpnedu@enumerate at lua
+%%%%%%%%%%%%%%%%%%%%%%%%
+%
%% Numbers
-\@jpneduenumeratetext at makenumber{square}{\mbox{\@jpneduenumerate at zwspace\kern-1zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}#1}\kern-1zw\@jpneduenumerate at zwspace}}
-\@jpneduenumeratetext at makenumber{question}{\mbox{\@jpneduenumerate at zwspace\kern-1zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}#1}\kern-1zw\@jpneduenumerate at zwspace}}
+\@jpneduenumeratetext at makenumber{square}{\mbox{\setlength{\fboxsep}{3pt}\@jpneduenumerate at z@w at space\kern-1\zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}#1}\kern-1\zw\@jpneduenumerate at z@w at space}}
+\@jpneduenumeratetext at makenumber{question}{\mbox{\setlength{\fboxsep}{3pt}\@jpneduenumerate at z@w at space\kern-1\zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}#1}\kern-1\zw\@jpneduenumerate at z@w at space}}
% NG: \mbox{(#1)}
\@jpneduenumeratetext at makenumber{subquestion}{\:(#1)}
\@jpneduenumeratetext at makenumber{enumerate}{\:(#1)}
@@ -178,14 +284,45 @@
%%
%
%% Refs
-\@jpneduenumerate at makenumber{squareref}{\@jpneduenumerate at zwspace\kern-1zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}\ref{#1}}\kern-1zw\@jpneduenumerate at zwspace}
-\@jpneduenumerate at makenumber{questionref}{\@jpneduenumerate at zwspace\kern-1zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}\ref{#1}}\kern-1zw\@jpneduenumerate at zwspace}
-% \@jpneduenumerate at makenumber{questionref}{\mbox{\@jpneduenumerate at zwspace\kern-1zw\framebox[1.3em]{\ref{#1}}\kern-1zw\@jpneduenumerate at zwspace}}
+\@jpneduenumerate at makenumber{squareref}{{\setlength{\fboxsep}{3pt}\@jpneduenumerate at z@w at space\kern-1\zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}\ref{#1}}\kern-1\zw\@jpneduenumerate at z@w at space}}
+\@jpneduenumerate at makenumber{questionref}{{\setlength{\fboxsep}{3pt}\@jpneduenumerate at z@w at space\kern-1\zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}\ref{#1}}\kern-1\zw\@jpneduenumerate at z@w at space}}
+% \@jpneduenumerate at makenumber{questionref}{\mbox{\@jpneduenumerate at z@w at space\kern-1\zw\framebox[1.3em]{\ref{#1}}\kern-1\zw\@jpneduenumerate at z@w at space}}
\@jpneduenumerate at makenumber{subquestionref}{\:\mbox{(\ref{#1})}}
\@jpneduenumerate at makenumber{enumerateref}{\:\mbox{(\ref{#1})}}
\@jpneduenumerate at makenumber{caseref}{\refused{#1}\mbox{(\ajroman{\getrefnumber{#1}})}}
\@jpneduenumerate at makenumber{stepref}{\refused{#1}\mbox{(\ajRoman{\getrefnumber{#1}})}}
%
+%%%%%%%%%%%%%%%%%%%%%%%%
+% without [lua] %%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%
+\else
+%%%%%%%%%%%%%%%%%%%%%%%%
+%
+%% Numbers
+\@jpneduenumeratetext at makenumber{square}{\mbox{\setlength{\fboxsep}{3pt}\@jpneduenumerate at z@w at space\kern-1zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}#1}\kern-1zw\@jpneduenumerate at z@w at space}}
+\@jpneduenumeratetext at makenumber{question}{\mbox{\setlength{\fboxsep}{3pt}\@jpneduenumerate at z@w at space\kern-1zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}#1}\kern-1zw\@jpneduenumerate at z@w at space}}
+% NG: \mbox{(#1)}
+\@jpneduenumeratetext at makenumber{subquestion}{\:(#1)}
+\@jpneduenumeratetext at makenumber{enumerate}{\:(#1)}
+\@jpneduenumeratetext at makenumber{case}{\mbox{(\ajroman{#1})}}
+\@jpneduenumeratetext at makenumber{step}{\mbox{(\ajRoman{#1})}}
+%%
+%
+%% Refs
+\@jpneduenumerate at makenumber{squareref}{{\setlength{\fboxsep}{3pt}\@jpneduenumerate at z@w at space\kern-1zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}\ref{#1}}\kern-1zw\@jpneduenumerate at z@w at space}}
+\@jpneduenumerate at makenumber{questionref}{{\setlength{\fboxsep}{3pt}\@jpneduenumerate at z@w at space\kern-1zw\framebox[1.5em]{\vphantom{\raisebox{2pt}{1}\raisebox{-2pt}{1}}\ref{#1}}\kern-1zw\@jpneduenumerate at z@w at space}}
+% \@jpneduenumerate at makenumber{questionref}{\mbox{\@jpneduenumerate at z@w at space\kern-1zw\framebox[1.3em]{\ref{#1}}\kern-1zw\@jpneduenumerate at z@w at space}}
+\@jpneduenumerate at makenumber{subquestionref}{\:\mbox{(\ref{#1})}}
+\@jpneduenumerate at makenumber{enumerateref}{\:\mbox{(\ref{#1})}}
+\@jpneduenumerate at makenumber{caseref}{\refused{#1}\mbox{(\ajroman{\getrefnumber{#1}})}}
+\@jpneduenumerate at makenumber{stepref}{\refused{#1}\mbox{(\ajRoman{\getrefnumber{#1}})}}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%
+% common %%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%
+\fi
+%%%%%%%%%%%%%%%%%%%%%%%%
+%
%%* AVOID ERROR of COUNTER
%% case
\renewcommand{\caseauto}{\@ifstar{\@jpneduenumeratetext at avoid@caseauto at star}{\@jpneduenumeratetext at avoid@caseauto at nostar}}
More information about the tex-live-commits
mailing list.