\iffalse
Copyright 2022 Jiro Senju

This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.

This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this package.  If not, see <http://www.gnu.org/licenses/>.
\fi

\section{��ʪ (\texttt{ft-individual.dtx})}

\DescribeMacro{\indvdldef}
\cmd{\indvdldef
  \oarg{child mark}
  \marg{new box name}
  \oarg{title}
  \marg{individual name}
  \oarg{additonal info}
  \oarg{maleline xlength}
}
\medskip

Ϳ����줿���������\jslash ���֤���box�򡢻��ꤵ�줿\meta{new box name}��������롣

\begin{enumerate}
\item \oarg{child mark}
\par
��ʪ̾�������������μ��̤���ꤹ�롣
��Ҥ���|\ftbiological|��
|\ftadopted|��
|\fttop|��
|\ftblank|
�Τ��Ť줫����ꤹ��

\item \marg{new box name}
\par
�������box̾��
\CS �ǤϤʤ�
��baskslash���դ��ʤ���

\item \oarg{title}
\par
����
\par
��ʪ̾�θ������꾮���ʥ�������|\relsize{-2}|�ˤ����֤����

\item \marg{individual name}
\par
��ʪ̾

\item \oarg{additonal info}
\par
�ղþ���
\par
����ǯ����̾����Ǥ�դξ�����ɲäǤ��롣
��ʪ̾�μ��ʤ˰��꾮���ʥ�������|\relsize{-1}|�ˤ����֤���롣
���˸�Ҥ���
|\ftmaleline| (|\ftfemaleline|, |\ftpatrilineal|, |\ftmatrilineal|)��
|\fthaschild|��
|\ftprivate|
��°�������Ǥ���

\item \oarg{maleline xlength}
\par
��ʪ̾����Ҥؤ������������
�ʿޤ˺����ط���ޤ�ʤ����ˡ�
����Ĺ�����������롣
â������Ҥ��뷻�����box��Ǥϼ�ưŪ��Ĵ�ᤵ��뤿�ᡢ
��̣�򼺤���
\end{enumerate}

���˸�ǻ��Ѥ����ɸ��ñ�̤�|pt|�ˤ�ɽ��\CS ��������롣
���ǡʿ�ʪ̾�ˤ˴ؤ����ɸ�θ����Ϥ��줾�졢
���񤭤ξ���box������
�Ľ񤭤ξ���box����Ǥ��롣

\begin{itemize}
\item \meta{box name}|nameX|
\par
���֤�����ʪ̾������

\item \meta{box name}|nameCX|
\par
���֤�����ʪ̾���������
�ʽĽ񤭤ʤ�й⤵�������

\item \meta{box name}|nameCY|
\par
���֤�����ʪ̾�ι⤵�����
�ʽĽ񤭤ʤ�����������
\end{itemize}
\bigskip

\needspace{4\baselineskip}
\oarg{child mark}�ˤϼ����ͤΤ��Ť줫����ꤹ�롣

\begin{itemize}
\item |\biological|, |\ftbiological|
\par
��ʪ̾�����˼»Ҥ��̣���������������

\item |\adopted|, |\ftadopted|
\par
��ʪ̾�������ܻҤ��̣�����������������

\item |\fttop| (|\top|)
\par
���������ʤ����ϿޤκǾ�̤��Ѥ��롣

\item |\blank|, |\ftblank|
\par
���������ʤ�����ˡ�Ʊ���������ζ�����������롣��Ҥ���
|\mrrgdef|�˻��ꤹ���۶��Ԥʤɤ�������˻��Ѥ��롣
\end{itemize}
\bigskip

\oarg{additonal info}�ˤϼ���°����ޤ���롣

\begin{itemize}
\item |\haschild|, |\fthaschild|
\par
�Ҥ�⤦�����۶��Ԥ�ɽ����
\par
��Ҥ��뺧���ط�����˻��Ѥ���ȡ�����
�ط����̣�������������ľ�Ѥ˼�����������

\item |\private|, |\ftprivate|
\par
ˡŪ�ʺ����ط��ǤϤʤ����Ȥ�ɽ����
\par
��Ҥ��뺧���ط�����˻��Ѥ���
�ȡ������ط����̣����������������ˤ��롣

\item |\maleline|, |\ftmaleline|
\par
����������������ʪ̾����Ҥؤ�����������
\par
����Ĺ���ϥ��ץ�������\meta{maleline xlength}�ǲø��Ǥ��롣
|\ftfemaleline|��
|\ftpatrilineal|��
|\ftmatrilineal|��Ʊ����
\end{itemize}
\bigskip

��������box����ȤϺ�ʬ�����줿box�Ǥ��롣
\smallskip

\begin{itemize}
\item ���񤭤�ɽ��|\ft@titlebox|
\item ��ʪ̾��ɽ��|\ft@namebox|
\par
�����ˤϹ���\meta{child mark}��ɽ��|\ft@cmarkbox|��
\meta{maleline}��ɽ��\allowbreak|\ft@malelinebox|�����롣
\item �ղþ����ɽ��|\ft@optbox|
\end{itemize}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{�������ޥ���}

���֤�Ĵ�����뵡ǽ�⤢�롣
�ѹ����ʤ���Τˤ϶�����ꤹ����ɤ���
�礷�����ȤϤ��Ƥ��ʤ��Τ�ɬ�פ˱�������\jslash ���Ѥ������٤��ɤ���
�������ܺ٤ϼ����򻲾ȤΤ��ȡ�
\medskip

\needspace{1.5\baselineskip}
\DescribeMacro{\nameboxcfg}
\cmd{\nameboxcfg
  \marg{space from the child mark}
  \marg{font}
  \marg{space to the maleline}
  \marg{maleline length}
}
\smallskip

\DescribeMacro{\cmarkboxcfg}
\cmd{\cmarkboxcfg
  \marg{space between two lines, for adopted}
  \marg{line length}
}
\smallskip

\DescribeMacro{\titleboxcfg}
\cmd{\titleboxcfg
  \marg{indent}
  \marg{font}
  \marg{linestretch}
  \marg{vspace to the individual name}
}
\smallskip

\DescribeMacro{\optboxcfg}
\cmd{\optboxcfg
  \marg{vspace from the individual name}
  \marg{indent}
  \marg{font}
  \marg{linestretch}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{��}

\begin{enumerate}
\itemsep=\bigskipamount
\item
\srcfig{fig1base}

\item
\srcfig{fig1Ieyasu}

\item
\srcfig{fig1Hidetada}
\end{enumerate}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\iffalse
\subsectImpl

\subsubsection{child-mark box}

\parag{�������ޥ���}

\DescribeMacro{\ftcmarkboxcfg}
\DescribeMacro{\cmarkboxcfg}
child mark�����֤���box����������ݤ˻��Ѥ���
|\adopted|��������δֳ֡�
����Ĺ��
�򥫥����ޥ����Ǥ��롣

�ѹ����ʤ���Τˤ϶�����ꤹ����ɤ���

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\parag{box����}

\DescribeMacro{\fttop}
\DescribeMacro{\top}
\DescribeMacro{\ftbiological}
\DescribeMacro{\biological}
\DescribeMacro{\ftadopted}
\DescribeMacro{\adopted}
\DescribeMacro{\ftblank}
\DescribeMacro{\blank}
child mark���ࡣ
���줾��ΰ�̣��\refnm{table:cmark}�򻲾ȡ�

\DescribeMacro{\ft@indvdl@nameH}
\DescribeMacro{\ft@indvdl@nameD}
\DescribeMacro{\ft@indvdl@nameCY}
\DescribeMacro{\ft@do@cmarkdef}
\DescribeMacro{\ft@cmarkdef}
���ꤵ�줿\meta{cmark}�����box��\meta{cmarkbox-name}�˻��ꤵ�줿̾������
�����롣

����ʸ����Ȥ����Ȥ⸡Ƥ��������font���ۤʤ�ȤĤʤ���ʤ��ʤ붲�줬��
�뤿��|picutre|��|line|�ˤ�����

|\ft@indvdl@nameH|��|\ft@indvdl@nameD|��|\ft@indvdl@nameCY|��interface
�Ǥ���|\indvdldef|����������롣

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsubsection{�ղþ���box}

\parag{�������ޥ���}

\DescribeMacro{\ftoptboxcfg}
\DescribeMacro{\optboxcfg}
�ղþ���\meta{additional info}������\jslash ���֤���|\ft@optbox|����
������ݤ˻��Ѥ��롢
��ʪ̾�Ȥε�Υ��
�������̡�
font��
linestretch
�򥫥����ޥ����Ǥ��롣

�ѹ����ʤ���Τˤ϶�����ꤹ����ɤ���

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\parag{°�����ղþ���β���}

\DescribeMacro{\ftmaleline}
\DescribeMacro{\maleline}
\DescribeMacro{\fthaschild}
\DescribeMacro{\haschild}
\DescribeMacro{\ftprivate}
\DescribeMacro{\private}
°����
���줾��ΰ�̣��\refnm{table:attrib}�򻲾ȡ�

\DescribeMacro{\ft@optlist}
\meta{option-list}�˻��ꤵ�줿�ղþ���\meta{additional info}����°������Ф���
\meta{box-name}���ˤ���̾����global flag��������롣
°���ʳ��Τ�Τϸ�ǰ������뤿�ᡢ
�̥ꥹ��\meta{list}���������롣

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\parag{box����}

\DescribeMacro{\ft@opt}
�ղþ���\meta{additional info}������\jslash ���֤���|\ft@optbox|����
�����롣

��Ƭ�ˤ�\meta{child-mark}ʬ�˲ä���
��ʪ̾����indent���뤿���;����������롣

�ǽ��Ԥ�depth��box��depth�Ȥ��롣

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsubsection{��ʪ̾box}

\parag{�������ޥ���}

\DescribeMacro{\ftnameboxcfg}
\DescribeMacro{\nameboxcfg}
��ʪ̾�˻��Ѥ��롢
�������̡�
font��
��ʪ̾�θ��maleline���������ο�ʪ̾�Ȥε�Υ��
���������Ĺ��
�򥫥����ޥ����Ǥ��롣

�ѹ����ʤ���Τˤ϶�����ꤹ����ɤ���

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\parag{box����}

\DescribeMacro{\ft@name}
��ʪ̾������\jslash ���֤���|\@ft@namebox|���������롣

��Ȥ�|\ft@cmarkbox|��\meta{individual-name}��
|\ft@malelinebox|���¤٤���Ρ�

maleline��������硢default��length���Ȥ��������λ�����ɤ����ꤹ�뤫
���硹�����ʤ��ä���
������ñ�˿�ʪ̾�θ���Ȥ��뤫������Ȥ⸪�񤭤��ղþ����ޤᡢ��
���礭��box�θ��������Ȥ��뤫����Ԥˤ���ȿ�ʪboxñ�ȤǤθ����ܤ���
���ʤ롣���ʤ�����maleline�����Ĺ���������롣����������Ҥ���¾��
�������box�ʤɤ��¤٤���ˡ�����ɤ������Ф���¾��box��·�����뤫
�򻻽Ф���Τ˼�֤�������褦�ˤʤ롣
�����������Ԥ�����ʬ�����ꡢñ�˿�ʪ̾��size�κ���������
�ä������·�����롣
��Ժ����θ塢���������ԤȤ���default length��
|\ft@namebox@maleline@length|�Ȥ��롣
���ʤ������ʪbox��ñ�Ȥ��Ѥ����硢���񤭤��ɲþ��������maleline��
���Ĺ���ʤ뤳�Ȥ��������롣

��Ƿ������\jslash �ƻ�\jslash �����ط��������˺�ɸ�Ȥ������ѤǤ���褦��
\meta{box name}|nameX|��\meta{box name}|nameCX|��������롣

��ʪbox��depth�Ͽ�ʪ̾�Τ���˰��פ����롣

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsubsection{����box}

\parag{�������ޥ���}

\hyphenation{line-stretch}
\DescribeMacro{\fttitleboxcfg}
\DescribeMacro{\titleboxcfg}
���񤭤����֤���|\ft@titlebox|����������ݤ˻��Ѥ���
�������̡�
font��
linestretch��
��ʪ̾�Ȥε�Υ�򥫥����ޥ����Ǥ��롣

�ѹ����ʤ���Τˤ϶�����ꤹ����ɤ���

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\parag{box����}

\DescribeMacro{\ft@title}
���񤭤�����\jslash ���֤���|\ft@titlebox|���������롣

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsubsection{box��Ϣ�� --- core}

���ꤵ�줿������ˡ�
���񤭡�|\ft@titlebox|�ˡ���ʪ̾��|\ft@namebox|�ˡ��ղþ���
��|\ft@optbox|�ˤ��줾���������롣
�������¤ٿ�ʪbox���������롣
box��depth�Ϻǽ��ԤΤ���˰��פ����롣

��Ƿ������\jslash ����\jslash �ƻҴط��������˺�ɸ�Ȥ������ѤǤ���褦��
\meta{box name}|nameCY|��������롣

��box����������ʪbox��size���С�|picture|�ˤ��layout�λ��ʳ���Ƨ�ࡣ
���줾�����Ω����������뤬��\IhadtoSplit

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\parag{��box������}

\DescribeMacro{\ft@indvdlbox@gen}
\NoDescription
   \begin{macrocode}
   \end{macrocode}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\parag{��ʪbox��size����}

\DescribeMacro{\ft@indvdlbox@calc}
\NoDescription
   \begin{macrocode}
   \end{macrocode}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\parag{\texttt{picture}�ˤ��layout}

\DescribeMacro{\ft@indvdlbox@layout}
\NoDescription
   \begin{macrocode}
   \end{macrocode}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\parag{boxϢ���main}

\DescribeMacro{\ft@indvdlbox}
\NoDescription
   \begin{macrocode}
   \end{macrocode}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsubsection{��ʪbox --- interface}

\DescribeMacro{\ftindvdldef}
\DescribeMacro{\indvdldef}
���ꤵ�줿����˽�����
\meta{box name}�Ȥ���̾����box���������롣

\meta{individula name}�����ι⤵|\ft@indvdl@nameH|���ᡢ
����depth���θ����������|\ft@indvdl@nameCY|���������
�ʹߤ���³���κ�ɸ���Ф��Ѥ��롣

\meta{child mark}�Ͽ�ʪbox����Ƭ���֤���
���ƤιԤ�layoutŪ�ˤ���¸�ߤ�ռ�����ɬ�פ����뤿�ᡢ
¾�ι��ܤ�����˷��ꤷ��
|\ft@cmarkbox|��
����Ӥ�������ɽ��|\ft@cmarkW|��������롣

\meta{cmark}��|\ftblank|�ʳ��ξ��ϡ�
child-mark��¸�ߤ��뤳�Ȥ�ɽ��global flag��
\meta{containerbox-name}�˻��ꤵ�줿̾������������롣

|\ft@optlst|�ˤ��\meta{additional info}����Ϥ���
°�����������Τ�|\ft@indvdl@opts|�ˤޤȤ�롣
Ʊ����|\ifft@maleline|�����ꤷ��
°����|\maleline|�����ꤵ��Ƥ��뤫�ݤ���ʹ�Ƚ�ǤǤ���褦�ˤ��롣

�����ޤǤ���������Ѥޤ�����|\ft@indvdlbox|�ˤ���ʪ̾box���������롣
\fi
