diff options
author | Karl Berry <karl@freefriends.org> | 2018-04-28 21:59:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-04-28 21:59:29 +0000 |
commit | b5b3b0ad824902fd8e877ed80d71cd353f4a89b6 (patch) | |
tree | 16b8dd963ffd1d2b8feadff77aafe361d67c71ef /Master/texmf-dist/doc/latex | |
parent | 1d47aeb4b6825139fc0f32c3549fbdf3fef6bb5c (diff) |
pdftex (28apr18)
git-svn-id: svn://tug.org/texlive/trunk@47472 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/musikui/README.txt | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/musikui/kake.pdf | bin | 0 -> 393969 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/musikui/musikui.pdf | bin | 0 -> 46129 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/musikui/musikui.tex | 207 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/musikui/wari.pdf | bin | 0 -> 394075 bytes |
5 files changed, 215 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/musikui/README.txt b/Master/texmf-dist/doc/latex/musikui/README.txt new file mode 100644 index 00000000000..8173f4ff22c --- /dev/null +++ b/Master/texmf-dist/doc/latex/musikui/README.txt @@ -0,0 +1,8 @@ +musikui +This package is for easy expression of arithmetical restorations with LaTeX. + +Requirements +This package requires graphics" package. + +License +The LaTeX Project Public License
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/musikui/kake.pdf b/Master/texmf-dist/doc/latex/musikui/kake.pdf Binary files differnew file mode 100644 index 00000000000..20bd0462f68 --- /dev/null +++ b/Master/texmf-dist/doc/latex/musikui/kake.pdf diff --git a/Master/texmf-dist/doc/latex/musikui/musikui.pdf b/Master/texmf-dist/doc/latex/musikui/musikui.pdf Binary files differnew file mode 100644 index 00000000000..12b31e36dad --- /dev/null +++ b/Master/texmf-dist/doc/latex/musikui/musikui.pdf diff --git a/Master/texmf-dist/doc/latex/musikui/musikui.tex b/Master/texmf-dist/doc/latex/musikui/musikui.tex new file mode 100644 index 00000000000..d5dfd24535b --- /dev/null +++ b/Master/texmf-dist/doc/latex/musikui/musikui.tex @@ -0,0 +1,207 @@ +\documentclass[dvipdfmx]{article} + +\usepackage{musikui} +\usepackage{listings} +\usepackage[dvipdfmx]{hyperref} +\usepackage{longtable} + +\title{The musikui package v1} +\author{Naoki Kaneko} +\date{2018/04/25} +\begin{document} +\maketitle + +This package is for easy expression of arithmetical restorations with \LaTeX{}. + +\begin{center} +\begin{musikui} +\wari{\eaten{}&\eaten{}&\eaten{}&\eaten{}&\eaten{}&\eaten{}&\eaten{}&\eaten{}} +{\eaten{}&\eaten{}&\eaten{}} +{\eaten{}&7&\eaten{}&\eaten{}&\eaten{}} +\musi{\eaten{}&\eaten{}&\eaten{}&\eaten{}}{4} +\sen +\musi{\eaten{}&\eaten{}&\eaten{}}{3} +\musi{\eaten{}&\eaten{}&\eaten{}}{3} +\sen +\musi{\eaten{}&\eaten{}&\eaten{}&\eaten{}}{2} +\musi{\eaten{}&\eaten{}&\eaten{}}{2} +\sen +\musi{\eaten{}&\eaten{}&\eaten{}&\eaten{}}{0} +\musi{\eaten{}&\eaten{}&\eaten{}&\eaten{}}{0} +\sen +\musi{0}{0} +\end{musikui} +\end{center} + +The package is maintained on GitHub: +\begin{itemize} +\item \url{https://github.com/puripuri2100/musikui.sty} +\end{itemize} +\section{Package read} +Read using \verb|\usepackage| command. There is no option. + +\begin{lstlisting}[language=TeX] +\usepackage{musikui} +\end{lstlisting} +\section{Dependent package} +graphics package + +\section{License} +The \LaTeX{} Project Public License +\section{Provide command} +\subsection{Commands related to composition} +\begin{lstlisting}[language=TeX] +\kake{<multiplicand>}{<multiplier>}{<product>} +\wari{<dividend>}{<divide>}{<quotient>} +\musi{<holes>}{<distance from the right end>} +\sen +\bubunsen{<length>}{<distance from the right end>} +\end{lstlisting} + +\subsection{Commands related to holes} +\begin{lstlisting}[language=TeX] +\eaten{<numbers etc.>} +\noneaten{<numbers etc.>} +\halfeaten{<numbers etc.>} +\halfnoneaten{<numbers etc.>} +\hhalfeaten{<numbers etc.>} +\hhalfnoneaten{<numbers etc.>} +\end{lstlisting} + +\section{The role of each command} +The role of each command is shown in Table \ref{yakuwari}. +\begin{longtable}[h]{rp{20em}} +\caption{\label{yakuwari}}\\ +\verb|\kake|&Outputs \verb|<multiplicand>| \verb|<multiplier>| \verb|<product>| of multiplication arithmetical restorations calculation.\\ +\verb|\wari|&Outputs \verb|<dividend>| \verb|<divide>| \verb|<quotient>| of division arithmetical restorations calculation.\\ +\verb|\musi| &Outputs \verb|<holes> <distance from the right end> |.\\ +\verb|\sen|&line\\ +\verb|\bubunsen|&Line of the specified length\\ +\verb|\eaten|&normal hole\\ +\verb|\noneaten| &hole without a line \\ +\verb|\halfeaten| &Half the width hole of \verb|\eaten|.\\ +\verb|\halfnoneaten| &Hole without a line with half width of \verb|\eaten|.\\ +\verb|\hhalfeaten| &Two holes with \verb|\harleaten| side by side.\\ +\verb|\hhalfnoneaten| &\verb|\hhalfeaten| line without a hole +\end{longtable} + +\section{Notation} +Use one musikui environment per an arithmetical restorations. +For the representation part of the hole, a hole and a hole (or a number) are connected by ``\verb|&|". +After using \verb|\kake| or \verb|\wari|, you just line \verb|\musi| and \verb|\sen| like the hole counting you want to express. +An example of division and multiplication is given below. + +\begin{longtable}[h]{l|l} +\begin{lstlisting}[language=TeX] +\begin{musikui} +\kake{8&\eaten{}&6&\eaten{}} +{\eaten{}&\eaten{}} +{\eaten{}&\eaten&\eaten{}&\eaten{}&\eaten{}} +\musi{\eaten{}&6&\eaten{}&\eaten{}&\eaten{}}{0} +\musi{\eaten{}&\eaten{}&\eaten{}&6}{1} +\sen +\end{musikui} +\end{lstlisting} +& +\begin{musikui} +\kake{8&\eaten{}&6&\eaten{}} +{\eaten{}&\eaten{}} +{\eaten{}&\eaten&\eaten{}&\eaten{}&\eaten{}} +\musi{\eaten{}&6&\eaten{}&\eaten{}&\eaten{}}{0} +\musi{\eaten{}&\eaten{}&\eaten{}&6}{1} +\sen +\end{musikui} +\\ +\begin{lstlisting}[language=TeX] +\begin{musikui} +\wari{\eaten{}&\eaten{}&\eaten{}&\eaten{}} +{\eaten{}&\eaten{}} +{\eaten{}&\eaten} +\musi{\eaten{}&\eaten{}}{1} +\sen +\musi{8&\eaten{}}{0} +\musi{\eaten{}&\eaten{}}{0} +\sen +\musi{\eaten{}}{0} +\end{musikui} +\end{lstlisting} +& +\begin{musikui} +\wari{\eaten{}&\eaten{}&\eaten{}&\eaten{}} +{\eaten{}&\eaten{}} +{\eaten{}&\eaten} +\musi{\eaten{}&\eaten{}}{1} +\sen +\musi{8&\eaten{}}{0} +\musi{\eaten{}&\eaten{}}{0} +\sen +\musi{\eaten{}}{0} +\end{musikui} +\\ +\begin{lstlisting}[language=TeX] +\begin{musikui} +\wari{\eaten{}&\eaten{}&\eaten{}&\eaten{}} +{\eaten{}&\eaten{}} +{\eaten{}&\eaten} +\musi{\eaten{}&\eaten{}}{1} +\bubunsen{4}{0} +\musi{8&\eaten{}}{0} +\musi{\eaten{}&\eaten{}}{0} +\bubunsen{2}{0} +\musi{\eaten{}}{0} +\end{musikui} +\end{lstlisting} +& +\begin{musikui} +\wari{\eaten{}&\eaten{}&\eaten{}&\eaten{}} +{\eaten{}&\eaten{}} +{\eaten{}&\eaten} +\musi{\eaten{}&\eaten{}}{1} +\bubunsen{4}{0} +\musi{8&\eaten{}}{0} +\musi{\eaten{}&\eaten{}}{0} +\bubunsen{2}{0} +\musi{\eaten{}}{0} +\end{musikui} +\end{longtable} + +\section{Customize} +You can change the value of arithmetical restorations using \verb|\renewcommand*|. + +\begin{lstlisting}[language=TeX] +\renewcommand*{\musiwidth}{2em} +\end{lstlisting} +The values whose roles and default values can be changed are shown in Table \ref{kiteiti}. + +\begin{longtable}[h]{lll} +\caption{\label{kiteiti}}\\ +\verb|\musiwidth|&hole width&1.2em\\ +\verb|\musiheight|&hole height&0.96em\\ +\verb|\musidepth|&hole depth&0.24em\\ +\verb|\musihgap|&distance between hole and hole&0.4em\\ +\verb|\musivgap|&distance between hole and line&0.4em\\ +\verb|\musirule|&line width&0.4pt\\ +\verb|\musiopsymbol|&multiplication sign&\verb|$\times$|\\ +\verb|\musiwarikakko|÷ symbol&\verb|\Big)| +\end{longtable} + +\section{Summary} +If all of the above is taken into the drawing, it will be Figure \ref{fig:one} and Figure \ref{fig:two}. + +\begin{figure}[htbp] + \begin{minipage}{0.5\hsize} + \begin{center} + \includegraphics[width=60mm]{kake.pdf} + \end{center} + \caption{multiplication} + \label{fig:one} + \end{minipage} + \begin{minipage}{0.5\hsize} + \begin{center} + \includegraphics[width=60mm]{wari.pdf} + \end{center} + \caption{division} + \label{fig:two} + \end{minipage} +\end{figure} +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/musikui/wari.pdf b/Master/texmf-dist/doc/latex/musikui/wari.pdf Binary files differnew file mode 100644 index 00000000000..8a9b82e5171 --- /dev/null +++ b/Master/texmf-dist/doc/latex/musikui/wari.pdf |