iwase/genkyou
をテンプレートにして作成
開始行:
昨年も現況届のマクロを更新していた。これは uplatex では無...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% 現況届・九大用 %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%!TEX TS-program = XeLaTeX
%!TEX encoding = UTF-8 Unicode
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input genkyo-18.inc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ここから文書開始 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\令和{1}年{9}月{1}日現在
\提出期限は令和{1}年{9}月{7}日
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 教員・職員のID %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\所属{大学院 某研究院}({職})
\氏名{九大 某某}({80}{キュウ\, ボウ}{数理})内線{44XX}
\住所{福岡市西区元岡 1 丁目 2 番 3 号}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 扶養親族 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\配偶者有り\扶養手当有り
%\配偶者無し%\扶養手当有り
%\扶養手当無し
\親族{九大 何何}続柄{続柄}は{昭和43}年{2}月{1}日生まれ(...
%
\親族{九大 何某}続柄{続柄}は{平成12}年{3}月{4}日生まれ(...
%
\親族{九大 某何}続柄{続柄}は{令和1}年{2}月{3}日生まれ({...
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 住居現況 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\借家借間に住居手当有り:平成{1}年{4}月{1}日より家賃¥{2...
%\配偶者の借家借間に住居手当有り:令和{1}年{6}月{1}日よ...
%\住居手当無し(持ち家含む)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 通勤の現況 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\通勤手当有り
%\通勤手当無し
%
%\自転車・自動車利用{15}キロ
\公共交通機関利用
\交通機関{徒歩}で{}から{姪浜駅}まで{}備考{}(車で{5}キロ)
\交通機関{JR九州}で{姪浜駅}から{九大学研都市駅}まで{250...
\交通機関{昭和バス}で{九大学研都市駅}から{九大理学部前}...
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 単身赴任の現況 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\単身赴任手当無し
%\単身赴任手当有り
%\配偶者住所{福岡市西区元岡 1 丁目 2 番 3 号}
%\同居者無し
%\同居者有り
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\これで終り書き出し %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
以下が genkyo-18.inc の中身である。均等割り付けのマクロ f...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% 現況届 Macro by Norio Iwase %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifx\undefined\XeTeXversion
\documentclass[12pt,a4j]{jarticle}
\usepackage[dvipdfmx]{graphicx,color}
\usepackage[deluxe]{otf}
\def\hiraminbf{\small\bf}
\def\hiraminbfs{\scriptsize\bf}
\else
\documentclass[12pt,a4paper]{article}
\usepackage[xetex]{graphicx,color}
\usepackage[no-math]{fontspec}
\usepackage[boldfont,slantfont]{xeCJK}
\usepackage{zxjatype}
\usepackage{zxotf}
\usepackage{xunicode}\usepackage{xltxtra}
\CJKspace
%
\defaultfontfeatures{Mapping=tex-text}
\setromanfont{Times}\setsansfont{Papyrus}\setmonofont{A...
\setjamainfont[Scale=0.95]{HGSeikaishotaiPRO}
\setjasansfont[Scale=0.9]{HiraKakuProN-W3}
\setjamonofont[Scale=0.9]{Osaka-Mono}
\newcommand{\hiramin}{\fontspec[Scale=0.9]{HiraMinProN-...
\newcommand{\hiraminbf}{\fontspec[Scale=0.9]{HiraMinPro...
\newcommand{\hiraminbfs}{\fontspec[Scale=0.8]{HiraMinPr...
\newcommand{\hiragoth}{\fontspec[Scale=0.9]{HiraKakuPro...
\newcommand{\hiragothbf}{\fontspec[Scale=0.9]{HiraKakuP...
\newcommand{\hiragothbfs}{\fontspec[Scale=0.8]{HiraKaku...
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 共通設定 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\voffset} { 44.0mm}
\setlength{\hoffset} { -10.5mm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{ifthen,numbersty}
\usepackage{lscape}
\usepackage{fitwidth}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \姓・\名 コマンド %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\def\rubi#1#2{\shortstack{{\tiny #2}\\[.0mm]{#1}}}
\def\Rubi#1#2{\hbox{\rubi{#1}{#2}}}
\def\Sei{}\def\Mei{}
\def\sei{}\def\mei{}
\def\本人姓#1#2{\begingroup\def\protect{\noexpand\protec...
\ifthenelse{\equal{\Sei}{}}{}{\xdef\Sei{\Sei\protect{...
\xdef\Sei{\Sei\protect\Rubi{#1}{#2}}%
\ifthenelse{\equal{\sei}{}}{}{\xdef\sei{\sei\protect{}...
\xdef\sei{\sei{\protect\bgroup\protect #1\protect\egro...
\endgroup}
\def\本人名#1#2{\begingroup\def\protect{\noexpand\protec...
\ifthenelse{\equal{\Mei}{}}{}{\xdef\Mei{\Mei\protect{...
\xdef\Mei{\Mei\protect\Rubi{#1}{#2}}%
\ifthenelse{\equal{\mei}{}}{}{\xdef\mei{\mei\protect{}...
\xdef\mei{\mei{\protect\bgroup\protect #1\protect\egro...
\endgroup}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% マクロ %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\makeatletter
\def\借家借間に住居手当有り:{\@ifnextchar{令}{\令和借家...
\def\配偶者の借家借間に住居手当有り:{\@ifnextchar{令}{\...
\makeatother
%
\def\平成#1年#2月#3日現在{
\put(440.7,352.6){\makebox(10,9)[cr]{\footnotesize\textt...
\put(450,352.6){\makebox(10,9)[cr]{\small\hiraminbf{#1}}}
\put(464.5,352.6){\makebox(10,9)[cr]{\small\hiraminbf{#2...
\put(478,352.58){\makebox(10,9)[cr]{\small\hiraminbfs{#3...
}
%
\def\令和#1年#2月#3日現在{
\put(440.7,352.6){\makebox(10,9)[cr]{\footnotesize\textt...
\put(450,352.6){\makebox(10,9)[cr]{\small\hiraminbf{#1}}}
\put(464.5,352.6){\makebox(10,9)[cr]{\small\hiraminbf{#2...
\put(478,352.58){\makebox(10,9)[cr]{\small\hiraminbfs{#3...
}
%
\def\提出期限は平成#1年#2月#3日{
\put(461.7,362.6){\makebox(10,9)[cr]{\footnotesize\textt...
\put(471,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#1}}}
\put(486,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#2}}}
\put(500,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#3}}}
}
\def\提出期限は令和#1年#2月#3日{
\put(461.7,362.6){\makebox(10,9)[cr]{\footnotesize\textt...
\put(471,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#1}}}
\put(486,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#2}}}
\put(500,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#3}}}
}
\def\所属#1(#2){
\put( 55,342){\makebox(60,8)[cl]{#1}}
\put(261,342){\makebox(20,8)[cc]{#2}}
}
\def\氏名#1(#2#3#4)内線#5{
\put( 60,327){\makebox(60,8)[cc]{#1}}
\put(261.5,327){\makebox(20,8)[cc]{#5}}
\put(349.5,19.0){\makebox(20,8)[cr]{#2}}
\put(380.2,19.0){\makebox(20,8)[cc]{#3}}
\put(412.2,19.0){\makebox(20,8)[cl]{#4}}
}
\def\住所#1{
\put(365,327){\makebox(120,8)[cl]{\begin{minipage}[t]{75...
}
%
\def\扶養手当有り{
\put( 8,283.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\def\扶養手当無し{
\put( 36,283.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\def\配偶者有り{
\put( 63,270.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\def\配偶者無し{
\put(144,270.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\newcount{\cntlineup}\cntlineup=495
\newcount{\cntline}
\def\親族#1続柄#2は#3年#4月#5日生まれ(#6在住)で所得は#...
\advance\cntlineup by -25
\cntline=\number\cntlineup\divide\cntline by 2
\put( 27.0,\number\cntline) {\makebox(40,8)[bc]{\small #...
\put( 69.0,\number\cntline) {\makebox(40,8)[bc]{\small #...
%\put(115.0,\number\cntline) {\makebox(42,8)[cc]{\begin{...
\put( 95.0,\number\cntline) {\makebox(71,7)[cc]{\begin{m...
\put(160.0,\number\cntline) {\makebox(30,8)[bc]{\footnot...
\put(185.0,\number\cntline) {\makebox(30,8)[br]{\scripts...
\put(219.0,\number\cntline) {\makebox(47,8)[cl]{\begin{m...
}
%
\newcounter{yachin}
\newcounter{kyouekihi}
\newcounter{chuushajou}
\newcounter{chouhi}
\newcounter{tesuuryou}
\newcounter{sonota}\setcounter{sonota}{0}
\newcounter{goukei}\setcounter{goukei}{0}
\def\sonotariyu{}
%
\def\自宅の住居手当有り:所有者#1続柄#2:世帯主#3続柄#4{
% \put(89,160.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}...
% \put(25,67.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
% \put(199.0,65.0) {\makebox(40,8)[bc]{#1}}
% \put(281.0,65.0) {\makebox(20,8)[bc]{#2}}
% \put(199.0,47.0) {\makebox(40,8)[bc]{#3}}
% \put(281.0,47.0) {\makebox(20,8)[bc]{#4}}
}
\def\単身赴任#1円/月(平成#2年#3月#4日){
\put(89,160.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
\put(25,67.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
\put(144.5,57.5) {\makebox(30,8)[br]{\small{\milnumber#1...
\put(190.0,57) {\makebox(30,8)[bc]{\large 〇}}
\put(190.4,57.5) {\makebox(30,8)[br]{#2}}
\put(209.8,57.5) {\makebox(30,8)[br]{#3}}
\put(229.2,57.5) {\makebox(30,8)[br]{#4}}
}
\def\住居手当無し(持ち家含む){
\put(49,63.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\def\明治借家借間に住居手当有り:明治#1年#2月#3日より家...
\gdef\magariera{明治}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\大正借家借間に住居手当有り:大正#1年#2月#3日より家...
\gdef\magariera{大正}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\昭和借家借間に住居手当有り:昭和#1年#2月#3日より家...
\gdef\magariera{昭和}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\平成借家借間に住居手当有り:平成#1年#2月#3日より家...
\gdef\magariera{平成}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\令和借家借間に住居手当有り:令和#1年#2月#3日より家...
\gdef\magariera{令和}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\ekashima#1#2#3#4#5#6#7#8{\setcounter{yachin}{#4}
\gdef\magarinen{#1}\gdef\magarituki{#2}\gdef\magarihi{#3}
\setcounter{kyouekihi}{#5}\setcounter{chuushajou}{#6}
\setcounter{chouhi}{#7}\setcounter{tesuuryou}{#8}
\put(49,107.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
\put(83,107.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
%
\def\配偶者の明治借家借間に住居手当有り:明治#1年#2月#3...
\gdef\magariera{明治}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\配偶者の大正借家借間に住居手当有り:大正#1年#2月#3...
\gdef\magariera{大正}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\配偶者の昭和借家借間に住居手当有り:昭和#1年#2月#3...
\gdef\magariera{昭和}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\配偶者の平成借家借間に住居手当有り:平成#1年#2月#3...
\gdef\magariera{平成}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\配偶者の令和借家借間に住居手当有り:令和#1年#2月#3...
\gdef\magariera{令和}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\hkashima#1#2#3#4#5#6#7#8{\setcounter{yachin}{#4}
\gdef\magarinen{#1}\gdef\magarituki{#2}\gdef\magarihi{#3}
\setcounter{kyouekihi}{#5}\setcounter{chuushajou}{#6}
\setcounter{chouhi}{#7}\setcounter{tesuuryou}{#8}
\put(49,107.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
\put(83, 88.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\def\その他¥#1/月(#2){\setcounter{sonota}{#1}\gdef\s...
%
\def\通勤手当有り{
\put(254.5,283.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713...
}
\def\通勤手当無し{
\put(308.5,283.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713...
}
\def\自転車・自動車利用#1キロ{
\put(280.5,270.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713...
\put(423.0,270.0) {\makebox(30,8)[br]{\footnotesize \mil...
}
\def\公共交通機関利用{
\cntlineup=470
\put(280.5,257.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713...
}
\def\交通機関#1で#2から#3まで#4備考#5(車で#6キロ){
\advance\cntlineup by -25
\cntline=\number\cntlineup\divide\cntline by 2
\put(277.5,\number\cntline) {\makebox(64,8)[cc]{\begin{m...
\put(310.5,\number\cntline) {\makebox(42,8)[cc]{\begin{m...
\put(364.5,\number\cntline) {\makebox(42,8)[cc]{\begin{m...
\put(395.5,\number\cntline) {\makebox(56,8)[cr]{\footnot...
\put(428.5,\number\cntline) {\makebox(60,8)[cc]{\begin{m...
\put(478.5,\number\cntline) {\makebox(60,8)[cc]{\begin{m...
}
\def\単身赴任手当有り{
\put(254.5,95.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}...
}
\def\配偶者住所#1{
\put(88,89) {\makebox(40,8)[cl]{\hiramin{#1}}}
}
\def\同居者有り{
\put(342.5,82.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}...
}
\def\同居者無し{
\put(383.5,82.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}...
}
\def\単身赴任手当無し{
\put(254.5,63.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}...
}
%
\def\配偶者続柄#1{\gdef\htuduki{#1}}
%
\def\ここから文書開始{
\pagestyle{empty}
\begin{document}
\begin{landscape}
\setlength{\textwidth} { 200.0mm}
\setlength{\textheight} { 280.0mm}
\setlength{\oddsidemargin} { -6.8mm}
\setlength{\unitlength} { 0.5mm}
\setlength\unitlength{0.5mm}
\begin{picture}(280,200)(-24,200)
\put(-19,9) {\makebox(560,400){\includegraphics[page=1]{...
}
%
\def\これで終り書き出し{
\end{picture}
\newpage
\begin{picture}(280,200)(-24,200)
\put(-19,9) {\makebox(560,400){\includegraphics[page=2]{...
%
\ifdefined\magariera
\addtocounter{goukei}{\number\value{yachin}}
\addtocounter{goukei}{\number\value{kyouekihi}}
\addtocounter{goukei}{\number\value{chouhi}}
\addtocounter{goukei}{\number\value{chuushajou}}
\addtocounter{goukei}{\number\value{tesuuryou}}
\addtocounter{goukei}{\number\value{sonota}}
\put( 99.0,115.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 99.0,103.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 99.0, 91.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 99.0, 79.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 99.0, 67.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 99.0, 51.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 30.0, 46.0) {\makebox(30,8)[cc]{\scriptsize{\sonot...
\put( 99.0, 35) {\makebox(30,8)[cr]{\small{\milnumber\va...
\put( 95.9,332) {\makebox(10,9)[cr]{\footnotesize\texttt...
\put(108,332.7) {\makebox(10,8)[cr]{\small\hiraminbfs\ma...
\put(131,332.7) {\makebox(10,8)[cr]{\small\hiraminbfs\ma...
\put(153,332.7) {\makebox(10,8)[cr]{\small\hiraminbfs\ma...
\else
\put( 95.9,332){\makebox(10,9)[cr]{\footnotesize\texttt{...
\fi
\end{picture}
\end{landscape}
\clearpage
\end{document}
}
%
終了行:
昨年も現況届のマクロを更新していた。これは uplatex では無...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% 現況届・九大用 %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%!TEX TS-program = XeLaTeX
%!TEX encoding = UTF-8 Unicode
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input genkyo-18.inc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ここから文書開始 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\令和{1}年{9}月{1}日現在
\提出期限は令和{1}年{9}月{7}日
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 教員・職員のID %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\所属{大学院 某研究院}({職})
\氏名{九大 某某}({80}{キュウ\, ボウ}{数理})内線{44XX}
\住所{福岡市西区元岡 1 丁目 2 番 3 号}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 扶養親族 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\配偶者有り\扶養手当有り
%\配偶者無し%\扶養手当有り
%\扶養手当無し
\親族{九大 何何}続柄{続柄}は{昭和43}年{2}月{1}日生まれ(...
%
\親族{九大 何某}続柄{続柄}は{平成12}年{3}月{4}日生まれ(...
%
\親族{九大 某何}続柄{続柄}は{令和1}年{2}月{3}日生まれ({...
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 住居現況 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\借家借間に住居手当有り:平成{1}年{4}月{1}日より家賃¥{2...
%\配偶者の借家借間に住居手当有り:令和{1}年{6}月{1}日よ...
%\住居手当無し(持ち家含む)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 通勤の現況 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\通勤手当有り
%\通勤手当無し
%
%\自転車・自動車利用{15}キロ
\公共交通機関利用
\交通機関{徒歩}で{}から{姪浜駅}まで{}備考{}(車で{5}キロ)
\交通機関{JR九州}で{姪浜駅}から{九大学研都市駅}まで{250...
\交通機関{昭和バス}で{九大学研都市駅}から{九大理学部前}...
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 単身赴任の現況 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\単身赴任手当無し
%\単身赴任手当有り
%\配偶者住所{福岡市西区元岡 1 丁目 2 番 3 号}
%\同居者無し
%\同居者有り
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\これで終り書き出し %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
以下が genkyo-18.inc の中身である。均等割り付けのマクロ f...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% 現況届 Macro by Norio Iwase %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifx\undefined\XeTeXversion
\documentclass[12pt,a4j]{jarticle}
\usepackage[dvipdfmx]{graphicx,color}
\usepackage[deluxe]{otf}
\def\hiraminbf{\small\bf}
\def\hiraminbfs{\scriptsize\bf}
\else
\documentclass[12pt,a4paper]{article}
\usepackage[xetex]{graphicx,color}
\usepackage[no-math]{fontspec}
\usepackage[boldfont,slantfont]{xeCJK}
\usepackage{zxjatype}
\usepackage{zxotf}
\usepackage{xunicode}\usepackage{xltxtra}
\CJKspace
%
\defaultfontfeatures{Mapping=tex-text}
\setromanfont{Times}\setsansfont{Papyrus}\setmonofont{A...
\setjamainfont[Scale=0.95]{HGSeikaishotaiPRO}
\setjasansfont[Scale=0.9]{HiraKakuProN-W3}
\setjamonofont[Scale=0.9]{Osaka-Mono}
\newcommand{\hiramin}{\fontspec[Scale=0.9]{HiraMinProN-...
\newcommand{\hiraminbf}{\fontspec[Scale=0.9]{HiraMinPro...
\newcommand{\hiraminbfs}{\fontspec[Scale=0.8]{HiraMinPr...
\newcommand{\hiragoth}{\fontspec[Scale=0.9]{HiraKakuPro...
\newcommand{\hiragothbf}{\fontspec[Scale=0.9]{HiraKakuP...
\newcommand{\hiragothbfs}{\fontspec[Scale=0.8]{HiraKaku...
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 共通設定 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\voffset} { 44.0mm}
\setlength{\hoffset} { -10.5mm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{ifthen,numbersty}
\usepackage{lscape}
\usepackage{fitwidth}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \姓・\名 コマンド %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\def\rubi#1#2{\shortstack{{\tiny #2}\\[.0mm]{#1}}}
\def\Rubi#1#2{\hbox{\rubi{#1}{#2}}}
\def\Sei{}\def\Mei{}
\def\sei{}\def\mei{}
\def\本人姓#1#2{\begingroup\def\protect{\noexpand\protec...
\ifthenelse{\equal{\Sei}{}}{}{\xdef\Sei{\Sei\protect{...
\xdef\Sei{\Sei\protect\Rubi{#1}{#2}}%
\ifthenelse{\equal{\sei}{}}{}{\xdef\sei{\sei\protect{}...
\xdef\sei{\sei{\protect\bgroup\protect #1\protect\egro...
\endgroup}
\def\本人名#1#2{\begingroup\def\protect{\noexpand\protec...
\ifthenelse{\equal{\Mei}{}}{}{\xdef\Mei{\Mei\protect{...
\xdef\Mei{\Mei\protect\Rubi{#1}{#2}}%
\ifthenelse{\equal{\mei}{}}{}{\xdef\mei{\mei\protect{}...
\xdef\mei{\mei{\protect\bgroup\protect #1\protect\egro...
\endgroup}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% マクロ %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\makeatletter
\def\借家借間に住居手当有り:{\@ifnextchar{令}{\令和借家...
\def\配偶者の借家借間に住居手当有り:{\@ifnextchar{令}{\...
\makeatother
%
\def\平成#1年#2月#3日現在{
\put(440.7,352.6){\makebox(10,9)[cr]{\footnotesize\textt...
\put(450,352.6){\makebox(10,9)[cr]{\small\hiraminbf{#1}}}
\put(464.5,352.6){\makebox(10,9)[cr]{\small\hiraminbf{#2...
\put(478,352.58){\makebox(10,9)[cr]{\small\hiraminbfs{#3...
}
%
\def\令和#1年#2月#3日現在{
\put(440.7,352.6){\makebox(10,9)[cr]{\footnotesize\textt...
\put(450,352.6){\makebox(10,9)[cr]{\small\hiraminbf{#1}}}
\put(464.5,352.6){\makebox(10,9)[cr]{\small\hiraminbf{#2...
\put(478,352.58){\makebox(10,9)[cr]{\small\hiraminbfs{#3...
}
%
\def\提出期限は平成#1年#2月#3日{
\put(461.7,362.6){\makebox(10,9)[cr]{\footnotesize\textt...
\put(471,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#1}}}
\put(486,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#2}}}
\put(500,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#3}}}
}
\def\提出期限は令和#1年#2月#3日{
\put(461.7,362.6){\makebox(10,9)[cr]{\footnotesize\textt...
\put(471,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#1}}}
\put(486,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#2}}}
\put(500,363.3){\makebox(10,8)[cr]{\small\hiraminbfs{#3}}}
}
\def\所属#1(#2){
\put( 55,342){\makebox(60,8)[cl]{#1}}
\put(261,342){\makebox(20,8)[cc]{#2}}
}
\def\氏名#1(#2#3#4)内線#5{
\put( 60,327){\makebox(60,8)[cc]{#1}}
\put(261.5,327){\makebox(20,8)[cc]{#5}}
\put(349.5,19.0){\makebox(20,8)[cr]{#2}}
\put(380.2,19.0){\makebox(20,8)[cc]{#3}}
\put(412.2,19.0){\makebox(20,8)[cl]{#4}}
}
\def\住所#1{
\put(365,327){\makebox(120,8)[cl]{\begin{minipage}[t]{75...
}
%
\def\扶養手当有り{
\put( 8,283.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\def\扶養手当無し{
\put( 36,283.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\def\配偶者有り{
\put( 63,270.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\def\配偶者無し{
\put(144,270.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\newcount{\cntlineup}\cntlineup=495
\newcount{\cntline}
\def\親族#1続柄#2は#3年#4月#5日生まれ(#6在住)で所得は#...
\advance\cntlineup by -25
\cntline=\number\cntlineup\divide\cntline by 2
\put( 27.0,\number\cntline) {\makebox(40,8)[bc]{\small #...
\put( 69.0,\number\cntline) {\makebox(40,8)[bc]{\small #...
%\put(115.0,\number\cntline) {\makebox(42,8)[cc]{\begin{...
\put( 95.0,\number\cntline) {\makebox(71,7)[cc]{\begin{m...
\put(160.0,\number\cntline) {\makebox(30,8)[bc]{\footnot...
\put(185.0,\number\cntline) {\makebox(30,8)[br]{\scripts...
\put(219.0,\number\cntline) {\makebox(47,8)[cl]{\begin{m...
}
%
\newcounter{yachin}
\newcounter{kyouekihi}
\newcounter{chuushajou}
\newcounter{chouhi}
\newcounter{tesuuryou}
\newcounter{sonota}\setcounter{sonota}{0}
\newcounter{goukei}\setcounter{goukei}{0}
\def\sonotariyu{}
%
\def\自宅の住居手当有り:所有者#1続柄#2:世帯主#3続柄#4{
% \put(89,160.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}...
% \put(25,67.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
% \put(199.0,65.0) {\makebox(40,8)[bc]{#1}}
% \put(281.0,65.0) {\makebox(20,8)[bc]{#2}}
% \put(199.0,47.0) {\makebox(40,8)[bc]{#3}}
% \put(281.0,47.0) {\makebox(20,8)[bc]{#4}}
}
\def\単身赴任#1円/月(平成#2年#3月#4日){
\put(89,160.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
\put(25,67.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
\put(144.5,57.5) {\makebox(30,8)[br]{\small{\milnumber#1...
\put(190.0,57) {\makebox(30,8)[bc]{\large 〇}}
\put(190.4,57.5) {\makebox(30,8)[br]{#2}}
\put(209.8,57.5) {\makebox(30,8)[br]{#3}}
\put(229.2,57.5) {\makebox(30,8)[br]{#4}}
}
\def\住居手当無し(持ち家含む){
\put(49,63.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\def\明治借家借間に住居手当有り:明治#1年#2月#3日より家...
\gdef\magariera{明治}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\大正借家借間に住居手当有り:大正#1年#2月#3日より家...
\gdef\magariera{大正}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\昭和借家借間に住居手当有り:昭和#1年#2月#3日より家...
\gdef\magariera{昭和}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\平成借家借間に住居手当有り:平成#1年#2月#3日より家...
\gdef\magariera{平成}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\令和借家借間に住居手当有り:令和#1年#2月#3日より家...
\gdef\magariera{令和}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\ekashima#1#2#3#4#5#6#7#8{\setcounter{yachin}{#4}
\gdef\magarinen{#1}\gdef\magarituki{#2}\gdef\magarihi{#3}
\setcounter{kyouekihi}{#5}\setcounter{chuushajou}{#6}
\setcounter{chouhi}{#7}\setcounter{tesuuryou}{#8}
\put(49,107.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
\put(83,107.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
%
\def\配偶者の明治借家借間に住居手当有り:明治#1年#2月#3...
\gdef\magariera{明治}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\配偶者の大正借家借間に住居手当有り:大正#1年#2月#3...
\gdef\magariera{大正}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\配偶者の昭和借家借間に住居手当有り:昭和#1年#2月#3...
\gdef\magariera{昭和}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\配偶者の平成借家借間に住居手当有り:平成#1年#2月#3...
\gdef\magariera{平成}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\配偶者の令和借家借間に住居手当有り:令和#1年#2月#3...
\gdef\magariera{令和}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#...
}
\def\hkashima#1#2#3#4#5#6#7#8{\setcounter{yachin}{#4}
\gdef\magarinen{#1}\gdef\magarituki{#2}\gdef\magarihi{#3}
\setcounter{kyouekihi}{#5}\setcounter{chuushajou}{#6}
\setcounter{chouhi}{#7}\setcounter{tesuuryou}{#8}
\put(49,107.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
\put(83, 88.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}}}}
}
\def\その他¥#1/月(#2){\setcounter{sonota}{#1}\gdef\s...
%
\def\通勤手当有り{
\put(254.5,283.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713...
}
\def\通勤手当無し{
\put(308.5,283.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713...
}
\def\自転車・自動車利用#1キロ{
\put(280.5,270.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713...
\put(423.0,270.0) {\makebox(30,8)[br]{\footnotesize \mil...
}
\def\公共交通機関利用{
\cntlineup=470
\put(280.5,257.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713...
}
\def\交通機関#1で#2から#3まで#4備考#5(車で#6キロ){
\advance\cntlineup by -25
\cntline=\number\cntlineup\divide\cntline by 2
\put(277.5,\number\cntline) {\makebox(64,8)[cc]{\begin{m...
\put(310.5,\number\cntline) {\makebox(42,8)[cc]{\begin{m...
\put(364.5,\number\cntline) {\makebox(42,8)[cc]{\begin{m...
\put(395.5,\number\cntline) {\makebox(56,8)[cr]{\footnot...
\put(428.5,\number\cntline) {\makebox(60,8)[cc]{\begin{m...
\put(478.5,\number\cntline) {\makebox(60,8)[cc]{\begin{m...
}
\def\単身赴任手当有り{
\put(254.5,95.0) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}...
}
\def\配偶者住所#1{
\put(88,89) {\makebox(40,8)[cl]{\hiramin{#1}}}
}
\def\同居者有り{
\put(342.5,82.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}...
}
\def\同居者無し{
\put(383.5,82.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}...
}
\def\単身赴任手当無し{
\put(254.5,63.5) {\makebox(40,5)[cc]{\hiramin{\UTF{2713}...
}
%
\def\配偶者続柄#1{\gdef\htuduki{#1}}
%
\def\ここから文書開始{
\pagestyle{empty}
\begin{document}
\begin{landscape}
\setlength{\textwidth} { 200.0mm}
\setlength{\textheight} { 280.0mm}
\setlength{\oddsidemargin} { -6.8mm}
\setlength{\unitlength} { 0.5mm}
\setlength\unitlength{0.5mm}
\begin{picture}(280,200)(-24,200)
\put(-19,9) {\makebox(560,400){\includegraphics[page=1]{...
}
%
\def\これで終り書き出し{
\end{picture}
\newpage
\begin{picture}(280,200)(-24,200)
\put(-19,9) {\makebox(560,400){\includegraphics[page=2]{...
%
\ifdefined\magariera
\addtocounter{goukei}{\number\value{yachin}}
\addtocounter{goukei}{\number\value{kyouekihi}}
\addtocounter{goukei}{\number\value{chouhi}}
\addtocounter{goukei}{\number\value{chuushajou}}
\addtocounter{goukei}{\number\value{tesuuryou}}
\addtocounter{goukei}{\number\value{sonota}}
\put( 99.0,115.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 99.0,103.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 99.0, 91.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 99.0, 79.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 99.0, 67.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 99.0, 51.0) {\makebox(30,8)[cr]{\small{\milnumber\...
\put( 30.0, 46.0) {\makebox(30,8)[cc]{\scriptsize{\sonot...
\put( 99.0, 35) {\makebox(30,8)[cr]{\small{\milnumber\va...
\put( 95.9,332) {\makebox(10,9)[cr]{\footnotesize\texttt...
\put(108,332.7) {\makebox(10,8)[cr]{\small\hiraminbfs\ma...
\put(131,332.7) {\makebox(10,8)[cr]{\small\hiraminbfs\ma...
\put(153,332.7) {\makebox(10,8)[cr]{\small\hiraminbfs\ma...
\else
\put( 95.9,332){\makebox(10,9)[cr]{\footnotesize\texttt{...
\fi
\end{picture}
\end{landscape}
\clearpage
\end{document}
}
%
ページ名: