このページは失われてしまいました。 昨年も現況届のマクロを更新していた。これは 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}日生まれ({同居}在住)で所得は{パート}により¥{123456}/年({備考}) % \親族{九大 何某}続柄{続柄}は{平成12}年{3}月{4}日生まれ({\tiny 非常に長い住所}在住)で所得は{無し}により¥{0}/年({}) % \親族{九大 某何}続柄{続柄}は{令和1}年{2}月{3}日生まれ({住所}在住)で所得は{無し}により¥{0}/年({}) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % 住居現況 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \借家借間に住居手当有り:平成{1}年{4}月{1}日より家賃¥{20000}共益費¥{2000}駐車場¥{500}町費¥{500}手数料¥{100}/月で%\その他¥{0}/月({理由}) %\配偶者の借家借間に住居手当有り:令和{1}年{6}月{1}日より家賃¥{20000}共益費¥{2000}駐車場¥{500}町費¥{500}手数料¥{100}/月で\その他¥{0}/月({理由}) %\住居手当無し(持ち家含む) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % 通勤の現況 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \通勤手当有り %\通勤手当無し % %\自転車・自動車利用{15}キロ \公共交通機関利用 \交通機関{徒歩}で{}から{姪浜駅}まで{}備考{}(車で{5}キロ) \交通機関{JR九州}で{姪浜駅}から{九大学研都市駅}まで{250円}備考{}(車で{}キロ) \交通機関{昭和バス}で{九大学研都市駅}から{九大理学部前}まで{250円}備考{}(車で{}キロ) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % 単身赴任の現況 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \単身赴任手当無し %\単身赴任手当有り %\配偶者住所{福岡市西区元岡 1 丁目 2 番 3 号} %\同居者無し %\同居者有り % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \これで終り書き出し % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 以下が genkyo-18.inc の中身である。均等割り付けのマクロ fitwidth.sty は http://www.math.nagoya-u.ac.jp/~kubo/ja/latex/tips-003.html から取って来た。 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % 現況届 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{Arial} \setjamainfont[Scale=0.95]{HGSeikaishotaiPRO} \setjasansfont[Scale=0.9]{HiraKakuProN-W3} \setjamonofont[Scale=0.9]{Osaka-Mono} \newcommand{\hiramin}{\fontspec[Scale=0.9]{HiraMinProN-W3}} \newcommand{\hiraminbf}{\fontspec[Scale=0.9]{HiraMinProN-W6}} \newcommand{\hiraminbfs}{\fontspec[Scale=0.8]{HiraMinProN-W6}} \newcommand{\hiragoth}{\fontspec[Scale=0.9]{HiraKakuProN-W3}} \newcommand{\hiragothbf}{\fontspec[Scale=0.9]{HiraKakuProN-W6}} \newcommand{\hiragothbfs}{\fontspec[Scale=0.8]{HiraKakuProN-W6}} \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\protect\noexpand}% \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\egroup}}% \endgroup} \def\本人名#1#2{\begingroup\def\protect{\noexpand\protect\noexpand}% \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\egroup}}% \endgroup} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % マクロ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \makeatletter \def\借家借間に住居手当有り:{\@ifnextchar{令}{\令和借家借間に住居手当有り:}{\@ifnextchar{平}{\平成借家借間に住居手当有り:}{\@ifnextchar{昭}{\昭和借家借間に住居手当有り:}{\@ifnextchar{大}{\大正借家借間に住居手当有り:}{\@ifnextchar{明}{\明治借家借間に住居手当有り:}{}}}}}} \def\配偶者の借家借間に住居手当有り:{\@ifnextchar{令}{\配偶者の令和借家借間に住居手当有り:}{\@ifnextchar{平}{\配偶者の平成借家借間に住居手当有り:}{\@ifnextchar{昭}{\配偶者の昭和借家借間に住居手当有り:}{\@ifnextchar{大}{\配偶者の大正借家借間に住居手当有り:}{\@ifnextchar{明}{\配偶者の明治借家借間に住居手当有り:}{}}}}}} \makeatother % \def\平成#1年#2月#3日現在{ \put(440.7,352.6){\makebox(10,9)[cr]{\footnotesize\texttt{平成}}} \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\texttt{令和}}} \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\texttt{平成}}} \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\texttt{令和}}} \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]{75mm}\baselineskip9.5mm #1\end{minipage}}} } % \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在住)で所得は#7により¥#8/年(#9){ \advance\cntlineup by -25 \cntline=\number\cntlineup\divide\cntline by 2 \put( 27.0,\number\cntline) {\makebox(40,8)[bc]{\small #1}} \put( 69.0,\number\cntline) {\makebox(40,8)[bc]{\small #2}} %\put(115.0,\number\cntline) {\makebox(42,8)[cc]{\begin{minipage}[c]{18mm}\footnotesize{#3}年\par\vspace{-1mm}\noindent\footnotesize{#4}月{#5}日\end{minipage}}} \put( 95.0,\number\cntline) {\makebox(71,7)[cc]{\begin{minipage}[c]{28mm}\footnotesize #6\end{minipage}}} \put(160.0,\number\cntline) {\makebox(30,8)[bc]{\footnotesize #7}} \put(185.0,\number\cntline) {\makebox(30,8)[br]{\scriptsize\milnumber#8\hskip-.2pt{円}}} \put(219.0,\number\cntline) {\makebox(47,8)[cl]{\begin{minipage}[c]{28mm}\footnotesize #9\end{minipage}}} } % \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日より家賃¥#4共益費¥#5駐車場¥#6町費¥#7手数料¥#8/月で{ \gdef\magariera{明治}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} } \def\大正借家借間に住居手当有り:大正#1年#2月#3日より家賃¥#4共益費¥#5駐車場¥#6町費¥#7手数料¥#8/月で{ \gdef\magariera{大正}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} } \def\昭和借家借間に住居手当有り:昭和#1年#2月#3日より家賃¥#4共益費¥#5駐車場¥#6町費¥#7手数料¥#8/月で{ \gdef\magariera{昭和}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} } \def\平成借家借間に住居手当有り:平成#1年#2月#3日より家賃¥#4共益費¥#5駐車場¥#6町費¥#7手数料¥#8/月で{ \gdef\magariera{平成}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} } \def\令和借家借間に住居手当有り:令和#1年#2月#3日より家賃¥#4共益費¥#5駐車場¥#6町費¥#7手数料¥#8/月で{ \gdef\magariera{令和}\ekashima{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} } \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日より家賃¥#4共益費¥#5駐車場¥#6町費¥#7手数料¥#8/月で{ \gdef\magariera{明治}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} } \def\配偶者の大正借家借間に住居手当有り:大正#1年#2月#3日より家賃¥#4共益費¥#5駐車場¥#6町費¥#7手数料¥#8/月で{ \gdef\magariera{大正}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} } \def\配偶者の昭和借家借間に住居手当有り:昭和#1年#2月#3日より家賃¥#4共益費¥#5駐車場¥#6町費¥#7手数料¥#8/月で{ \gdef\magariera{昭和}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} } \def\配偶者の平成借家借間に住居手当有り:平成#1年#2月#3日より家賃¥#4共益費¥#5駐車場¥#6町費¥#7手数料¥#8/月で{ \gdef\magariera{平成}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} } \def\配偶者の令和借家借間に住居手当有り:令和#1年#2月#3日より家賃¥#4共益費¥#5駐車場¥#6町費¥#7手数料¥#8/月で{ \gdef\magariera{令和}\hkashima{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8} } \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\sonotariyu{#2}} % \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 \milnumber#1}} } \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{minipage}[c]{32mm}\footnotesize{#1}\end{minipage}}} \put(310.5,\number\cntline) {\makebox(42,8)[cc]{\begin{minipage}[c]{19mm}\scriptsize{#2}\end{minipage}}} \put(364.5,\number\cntline) {\makebox(42,8)[cc]{\begin{minipage}[c]{19mm}\scriptsize{#3}\end{minipage}}} \put(395.5,\number\cntline) {\makebox(56,8)[cr]{\footnotesize #4}} \put(428.5,\number\cntline) {\makebox(60,8)[cc]{\begin{minipage}[c]{30mm}\footnotesize #5\end{minipage}}} \put(478.5,\number\cntline) {\makebox(60,8)[cc]{\begin{minipage}[c]{30mm}\scriptsize \begin{tabular}{r}\scriptsize\\\scriptsize{#6}\end{tabular}\end{minipage}}} } \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]{genkyo16}}} } % \def\これで終り書き出し{ \end{picture} \newpage \begin{picture}(280,200)(-24,200) \put(-19,9) {\makebox(560,400){\includegraphics[page=2]{genkyo16}}} % \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\value{yachin}}}} \put( 99.0,103.0) {\makebox(30,8)[cr]{\small{\milnumber\value{kyouekihi}}}} \put( 99.0, 91.0) {\makebox(30,8)[cr]{\small{\milnumber\value{chuushajou}}}} \put( 99.0, 79.0) {\makebox(30,8)[cr]{\small{\milnumber\value{chouhi}}}} \put( 99.0, 67.0) {\makebox(30,8)[cr]{\small{\milnumber\value{tesuuryou}}}} \put( 99.0, 51.0) {\makebox(30,8)[cr]{\small{\milnumber\value{sonota}}}} \put( 30.0, 46.0) {\makebox(30,8)[cc]{\scriptsize{\sonotariyu}}} \put( 99.0, 35) {\makebox(30,8)[cr]{\small{\milnumber\value{goukei}}}} \put( 95.9,332) {\makebox(10,9)[cr]{\footnotesize\texttt{{\magariera}}}} \put(108,332.7) {\makebox(10,8)[cr]{\small\hiraminbfs\magarinen}} \put(131,332.7) {\makebox(10,8)[cr]{\small\hiraminbfs\magarituki}} \put(153,332.7) {\makebox(10,8)[cr]{\small\hiraminbfs\magarihi}} \else \put( 95.9,332){\makebox(10,9)[cr]{\footnotesize\texttt{{平成}}}} \fi \end{picture} \end{landscape} \clearpage \end{document} } %