texlive[63745] Master/texmf-dist: asternote (28jun22)

commits+karl at tug.org commits+karl at tug.org
Tue Jun 28 23:05:50 CEST 2022


Revision: 63745
          http://tug.org/svn/texlive?view=revision&revision=63745
Author:   karl
Date:     2022-06-28 23:05:49 +0200 (Tue, 28 Jun 2022)
Log Message:
-----------
asternote (28jun22)

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/asternote/
    trunk/Master/texmf-dist/doc/latex/asternote/README.md
    trunk/Master/texmf-dist/doc/latex/asternote/asternote-en.md
    trunk/Master/texmf-dist/doc/latex/asternote/asternote-ja.md
    trunk/Master/texmf-dist/doc/latex/asternote/asternote_example.tex
    trunk/Master/texmf-dist/tex/latex/asternote/
    trunk/Master/texmf-dist/tex/latex/asternote/asternote.sty

Added: trunk/Master/texmf-dist/doc/latex/asternote/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asternote/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/asternote/README.md	2022-06-28 21:05:49 UTC (rev 63745)
@@ -0,0 +1,32 @@
+# Asternote Package
+
+This package can output annotation symbols enclosed in square brackets and marked with an asterisk.
+
+
+## System Requirements
+
++ TeX format: LaTeX2e
++ TeX engine: pTeX, upTeX
+
+Since the unit zw is used, it can be used only in the pTeX series.
+
+
+## Installation
+
+Move asternote.sty file to $TEXMF/tex/latex/asternote.
+
+
+## License
+
+This package released under [the MIT license](https://ctan.org/license/mit).
+
+
+## Revision History
+
++ Version 1.0 2022-06-28
+    + 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


Property changes on: trunk/Master/texmf-dist/doc/latex/asternote/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/asternote/asternote-en.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asternote/asternote-en.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/asternote/asternote-en.md	2022-06-28 21:05:49 UTC (rev 63745)
@@ -0,0 +1,74 @@
+# Asternote Package
+
+This package can output annotation symbols enclosed in square brackets and marked with an asterisk.
+
+
+## System Requirements
+
++ TeX format: LaTeX2e
++ TeX engine: pTeX, upTeX
+
+Since the unit zw is used, it can be used only in the pTeX series.
+
+
+## Installation
+
+Move asternote.sty file to $TEXMF/tex/latex/asternote.
+
+
+## Usage
+
+### \setasternotenoindent \setasternoteindent
+
+Determines whether or not the annotation symbol is indented at the beginning of a paragraph. The default is \setasternotenoindent. Whether parentheses are considered half-width or full-width is different between text and superscript.
+
+
+### \setasternotetext \setasternotesuperscript
+
+Decide whether the annotation symbols  are written in the same size as the body text or in superscript. The default is \setasternotesuperscript.
+
+
+### \setasterreftext \setasterrefsuperscript
+
+Decide whether the annotation reference are written in the same size as the body text or in superscript. The default is \setasterreftext.
+
+
+### \setasternumbertext \asternumbersetsuperscript
+
+Determines whether the manual annotation symbols are written in the same size as the body text or in superscript. The default is \setasternumbertext.
+
+
+### \asternotereset
+
+Reset the annotation symbol number to 1.
+
+
+### \asternote{<LABEL>} \asternotetext{<LABEL>} \asternotesuperscript{<LABEL>}
+
+Put an annotation symbol. You can manually choose to write the annotation in the same size as the body text or in superscript.
+
+
+### \asterref{<LABEL>} \asterreftext{<LABEL>} \asterrefsuperscript{<LABEL>}
+
+Put an annotation reference. You can manually choose to write the annotation in the same size as the body text or in superscript.
+
+
+### \asternumber{<LABEL>} \asternumbertext{<LABEL>} \asternumbersuperscript{<LABEL>}
+
+Put a manual annotation symbol. You can manually choose to write the annotation in the same size as the body text or in superscript.
+
+
+## License
+
+This package released under [the MIT license](https://ctan.org/license/mit).
+
+
+## Revision History
+
++ Version 1.0 2022-06-28
+    + The first public version.
+
+
+---
+
+Yukoh KUSAKABE (screen-name) at [metaphysica.info](https://www.metaphysica.info/)
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/asternote/asternote-en.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/asternote/asternote-ja.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asternote/asternote-ja.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/asternote/asternote-ja.md	2022-06-28 21:05:49 UTC (rev 63745)
@@ -0,0 +1,74 @@
+# Asternote パッケージ
+
+このパッケージは,角括弧囲い・アスタリスク付きの注釈記号を出力することができます。
+
+
+## 前提条件
+
++ TeX format: LaTeX2e
++ TeX engine: pTeX, upTeX
+
+単位 zw を用いていますので,pTeX 系列でのみ使用できます。
+
+
+## インストール
+
+asternote.sty を $TEXMF/tex/latex/asternote (TeXが見つけられる場所)に置いてください。
+
+
+## 使用方法
+
+### \setasternotenoindent \setasternoteindent
+
+注釈記号に対して,段落初めの字下げをする否かを決めます。既定は \setasternotenoindent です。text と superscript で括弧を半角とみなすか全角とみなすかが異なります。
+
+
+### \setasternotetext \setasternotesuperscript
+
+注釈記号に対して,本文と同じ大きさで書かれるか上付き文字で書かれるかを決めます。既定は \setasternotesuperscript です。
+
+
+### \setasterreftext \setasterrefsuperscript
+
+注釈参照に対して,本文と同じ大きさで書かれるか上付き文字で書かれるかを決めます。既定は \setasterreftext です。
+
+
+### \setasternumbertext \asternumbersetsuperscript
+
+手動の注釈記号に対して,本文と同じ大きさで書かれるか上付き文字で書かれるかを決めます。既定は \setasternumbertext です。
+
+
+### \asternotereset
+
+注釈記号の番号を 1 に戻します。
+
+
+### \asternote{<LABEL>} \asternotetext{<LABEL>} \asternotesuperscript{<LABEL>}
+
+注釈記号を置きます。本文と同じ大きさで書くこと,上付き文字で書くことを手動で指定することができます。
+
+
+### \asterref{<LABEL>} \asterreftext{<LABEL>} \asterrefsuperscript{<LABEL>}
+
+注釈参照を置きます。本文と同じ大きさで書くこと,上付き文字で書くことを手動で指定することができます。
+
+
+### \asternumber{<LABEL>} \asternumbertext{<LABEL>} \asternumbersuperscript{<LABEL>}
+
+手動の注釈記号を置きます。本文と同じ大きさで書くこと,上付き文字で書くことを手動で指定することができます。
+
+
+## ライセンス
+
+このパッケージは[MITライセンス](https://ctan.org/license/mit)のもとで配布しています。
+
+
+## 更新履歴
+
++ Version 1.0 2022-06-28
+    + The first public version.
+
+
+---
+
+Yukoh KUSAKABE (screen-name) at [metaphysica.info](https://www.metaphysica.info/)
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/asternote/asternote-ja.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/asternote/asternote_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asternote/asternote_example.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/asternote/asternote_example.tex	2022-06-28 21:05:49 UTC (rev 63745)
@@ -0,0 +1,19 @@
+\documentclass[uplatex]{article}
+\usepackage{asternote}
+\begin{document}
+%\setasternoteindent
+
+\asternote{a}a
+
+\asternote{b}b
+
+\asternotereset
+
+\asternote{c}c
+
+\asterref{a}A
+
+\asterref{b}B
+
+\asterref{c}C
+\end{document}
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/asternote/asternote_example.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/asternote/asternote.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/asternote/asternote.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/asternote/asternote.sty	2022-06-28 21:05:49 UTC (rev 63745)
@@ -0,0 +1,143 @@
+%%
+%% asternote.sty
+%%
+%% Copyright (C) 2022 Yukoh KUSAKABE (screen-name)
+%%   https://www.metaphysica.info/
+%%   https://twitter.com/metaphysicainfo
+%%
+%% This package released under
+%% [the MIT license](https://ctan.org/license/mit).
+%%
+%
+\NeedsTeXFormat{pLaTeX2e}
+\ProvidesPackage{asternote}[2022/06/28 v1.0]
+%
+%% \@astnt at noindent@switch
+\newif\if at astnt@noindent at switch
+\@astnt at noindent@switchtrue
+%
+%% \setasternotenoindent
+%% \setasternoteindent
+\DeclareRobustCommand{\setasternotenoindent}{\@astnt at noindent@switchtrue}
+\DeclareRobustCommand{\setasternoteindent}{\@astnt at noindent@switchfalse}
+%
+%% \@astnt at notesuperscript@switch
+\newif\if at astnt@notesuperscript at switch
+\@astnt at notesuperscript@switchtrue
+%
+%% \setasternotetext
+%% \setasternotesuperscript
+\DeclareRobustCommand{\setasternotetext}{\@astnt at notesuperscript@switchfalse}
+\DeclareRobustCommand{\setasternotesuperscript}{\@astnt at notesuperscript@switchtrue}
+%
+%% \@astnt at refsuperscriptswitch
+\newif\if at astnt@refsuperscript at switch
+\@astnt at refsuperscript@switchfalse
+%
+%% \setasterreftext
+%% \setasterrefsuperscript
+\DeclareRobustCommand{\setasterreftext}{\@astnt at refsuperscript@switchfalse}
+\DeclareRobustCommand{\setasterrefsuperscript}{\@astnt at refsuperscript@switchtrue}
+%
+%% \@astnt at numbersuperscriptswitch
+\newif\if at astnt@numbersuperscript at switch
+\@astnt at numbersuperscript@switchfalse
+%
+%% \setasternumbertext
+%% \asternumbersetsuperscript
+\DeclareRobustCommand{\setasternumbertext}{\@astnt at numbersuperscript@switchfalse}
+\DeclareRobustCommand{\asternumbersetsuperscript}{\@astnt at numbersuperscript@switchtrue}
+%
+%% asternotecounter
+\newcounter{asternotecounter}
+\setcounter{asternotecounter}{0}
+%
+%% \asternotereset
+\DeclareRobustCommand{\asternotereset}{\setcounter{asternotecounter}{0}}
+%
+%% \asternotetext{<LABEL>}
+%% \asternotesuperscript{<LABEL>}
+\DeclareRobustCommand{\asternotetext}[1]{\refstepcounter{asternotecounter}\textsf{[*\theasternotecounter ]}\expandafter\label{#1}}
+\DeclareRobustCommand{\asternotesuperscript}[1]{\refstepcounter{asternotecounter}\makebox[2zw]{\@textsuperscript{\scriptsize\!\!\textsf{[*\theasternotecounter ]}}\expandafter\label{#1}}}
+%
+%% \asternote{<LABEL>}
+\DeclareRobustCommand{\asternote}[1]{%
+\if at astnt@notesuperscript at switch
+% when \setasternotesuperscript
+%  when \setasternotenoindent
+ \if at astnt@noindent at switch
+ {\noindent\asternotesuperscript{#1}}%
+ \else
+%  when \setasternoteindent
+ {\asternotesuperscript{#1}}%
+ \fi
+\else
+% when \asternotetext
+%  when \setasternotenoindent
+ \if at astnt@noindent at switch
+ {\noindent\asternotetext{#1}}%
+ \else
+%  when \setasternoteindent
+ {\asternotetext{#1}}%
+ \fi
+\fi
+}%
+%
+%% \asterreftext{<LABEL>}
+%% \asterrefsuperscript{<LABEL>}
+\DeclareRobustCommand{\asterreftext}[1]{{\textsf{[*\ref{#1}]}}}
+\DeclareRobustCommand{\asterrefsuperscript}[1]{\@textsuperscript{\scriptsize\!\!\textsf{[*\ref{#1}]}}}
+%
+%% \asterref{<LABEL>}
+\DeclareRobustCommand{\asterref}[1]{%
+\if at astnt@refsuperscript at switch
+% when \setasterrefsuperscript
+%  when \setasternotenoindent
+ \if at astnt@noindent at switch
+ {\noindent\asterrefsuperscript{#1}}%
+ \else
+%  when \setasternoteindent
+ {\asterrefsuperscript{#1}}%
+ \fi
+\else
+% when \asterreftext
+%  when \setasternotenoindent
+ \if at astnt@noindent at switch
+ {\noindent\asterreftext{#1}}%
+ \else
+%  when \setasternoteindent
+ {\asterreftext{#1}}%
+ \fi
+\fi
+}%
+%
+%% \asternumbertext{<LABEL>}
+%% \asternumbersuperscript{<LABEL>}
+%
+\DeclareRobustCommand{\asternumbertext}[1]{{\textsf{[*{#1}]}}}
+\DeclareRobustCommand{\asternumbersuperscript}[1]{\@textsuperscript{\scriptsize\!\!\textsf{[*{#1}]}}}
+%
+%% \asternumber{<LABEL>}
+\DeclareRobustCommand{\asternumber}[1]{%
+\if at astnt@numbersuperscript at switch
+% when \setasterrefsuperscript
+%  when \setasternotenoindent
+ \if at astnt@noindent at switch
+ {\noindent\asternumbersuperscript{#1}}%
+ \else
+%  when \setasternoteindent
+ {\asternumbersuperscript{#1}}%
+ \fi
+\else
+% when \asterreftext
+%  when \setasternotenoindent
+ \if at astnt@noindent at switch
+ {\noindent\asternumbertext{#1}}%
+ \else
+%  when \setasternoteindent
+ {\asternumbertext{#1}}%
+ \fi
+\fi
+}%
+%
+%% EOF
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/latex/asternote/asternote.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the tex-live-commits mailing list.