%
% TEX (jreport) メインファイル サンプル
% 
%   ・ このファイルでは documentclass などのファイルフォーマットを
%      決定する (基本的に, jreport を想定している)
%  
%   ・ このファイル内でのテキスト本文には直接内容は書き込まず,
%      include によって他のファイルを読み込む.
%
%   ・ 一番下に, 図の貼込みや数式を書き込む場合のサンプルがあります.
%
%
% 2002/10/09 森川 靖大   作成
% 2003/10/14 森川 靖大   修正
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%             Style  Setting             %%%%%%%%
% フォント: 12point (最大), 片面印刷, jreport
\documentclass[a4j,12pt,openbib,oneside]{jreport}
% フォント: 10point (最小), 両面印刷, jreport
%\documentclass[a4j,10pt,openbib,twoside]{jreport}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%             Package Include            %%%%%%%%
\usepackage{Dennou6}
\usepackage{ascmac}
\usepackage{tabularx}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{nruby}		% ルビ振り用パッケージ

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%            PageStyle Setting           %%%%%%%%
\pagestyle{Dmyheadings} % カスタマイズ可能なスタイル
%\pagestyle{Dtop}	% シンプルなスタイル


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%        Title and Auther Setting        %%%%%%%%
%%
%%  [ ] はヘッダに書き出される.
%%  { } は表題 (\maketitle) に書き出される.

\Dtitle[タイトル]{
\Huge
タイトル\\
\LARGE
Title
}

\Dauthor[作者]{
\LARGE
作者\\
Author\\
\\
\Large
北海道大学大学院 理学研究科 地球惑星科学専攻\\
\large
Division of Earth and Planetary Sciences,
Graduate School of Science,\\
\large
Hokkaido University\\
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%   Set Counter (chapter, section etc. ) %%%%%%%%
\setcounter{chapter}{0}
\setcounter{section}{0}
\setcounter{equation}{0}
\setcounter{page}{1}
\setcounter{figure}{0}
\setcounter{table}{0}
\setcounter{footnote}{0}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%        Counter Output Format           %%%%%%%%
\def\thesection{\arabic{chapter}-\arabic{section}}
\def\thesubsection{\arabic{chapter}-\arabic{section}-\arabic{subsection}}
\def\theequation{\arabic{chapter}-\arabic{equation}}
\def\thepage{\arabic{page}}
\def\thefigure{\arabic{chapter}-\arabic{figure}}
\def\thetable{\arabic{chapter}-\arabic{table}}
\def\thefootnote{\arabic{footnote})}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%   Subtitle, Date, Filename Setting     %%%%%%%%
%\Dchapter{}
%\markright{}
%\Ddate{}
%\Dfile{}
%\Dpath{}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%        Dennou-Style Definition         %%%%%%%%
\Dparskip
%\Dnoparskip
\Dparindent
%\Dnoparindent

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%            Local Definition            %%%%%%%%
%
% dfrac コマンド  (displaystyle 付き frac)
%
\def\dfrac#1#2{{\displaystyle\frac{#1}{#2}}}
%
% sfrac, ssfrac コマンド (1/2 を綺麗に出力する frac)
%     [\usepackage{graphicx} の必要がある.]
%
\def\sfrac#1#2{{^{#1}\hspace{-0.50em}\rotatebox[origin=c]{50}{\scalebox{1.3}{|}}\hspace{-0.55em}_{#2}}}
\def\ssfrac#1#2{{^{#1}\hspace{-0.35em}\rotatebox[origin=c]{50}{\scalebox{0.9}{|}}\hspace{-0.40em}_{#2}}}
%
% sech コマンド (sin や cos などと同じように)
%
\def\sech{\,{\textrm{sech}}\,}
%
% table で top や bottom でなく, 真ん中に置くように指定
%
\newcommand{\Gcenter}[2]{
  \dimen0=\ht\strutbox%                    % 1行の高さに
  \advance\dimen0\dp\strutbox%             % 1行の深さを加え
  \multiply\dimen0 by#1%                   % 行数で乗じて
  \divide\dimen0 by2%                      % 等分し
  \advance\dimen0 by-.5\normalbaselineskip % 半行だけあげる.
  \raisebox{-\dimen0}[0pt][0pt]{#2}}%      % 求めた値の分だけ字下げする

%
% 行列０の定義
%
\newfont{\bg}{cmr10 scaled\magstep5}
\newfont{\bbg}{cmsy10 scaled\magstep5}
\newcommand{\bigzerol}{\smash{\hbox{\bg 0}}}
\newcommand{\bigzerou}{\smash{\lower1.7ex\hbox{\bg 0}}}
\newcommand{\bigdownarrow}{\smash{\hbox{\bbg \symbol{'053}}}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%             Text Start                 %%%%%%%%
\begin{document}

%%%%%%%%%%%%%%%%%
%%  表題
%\maketitle

%%%%%%%%%%%%%%%%%
%%  目次

%%  目次のための設定
%\def\thepage{\roman{page}}  % 目次のページ数はローマ字に
%\setcounter{page}{1}
%\markboth{目次}{目次}
%\Dfile{}
%\Dnoparskip                 % これをしないと行間が空き過ぎる

%%  目次コマンド
%\tableofcontents
%\clearpage

%%%%%%%%%%%%%%%%%
%%  本体

\include{./report-sample-parts}
%\include{./report-sample-parts2}


% ※ include が使えない, dcnote 用
%
%\input{./report-sample-parts.tex}
%\clearpage
%
%%\input{./report-sample-parts2.tex}
%%\clearpage



\end{document}
%%%%%%%%              Text End                  %%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%              Sample                    %%%%%%%%

%%%%%%%%            数式 (ラベル付き)           %%%%%%%%
%
%\begin{eqnarray}
% \Deqlab{数式用ラベル}  % \Deqref{数式用ラベル}で参照できる
%  \DP{\rho}{t} + \Ddiv (\rho \Dvect{V}) = 0.
%\end{eqnarray}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%  数式 (式番号を独立して書きたい場合)   %%%%%%%%
%
%$$
% \DP{p}{z} = \rho g.
% \eqno \textrm{(1-11)}
%$$
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%  数式 (5-67a), (5-67b) などと書きたい時 %%%%%%%
%
% subequations 環境を使う. ただし, これを使うには
% プリアンブルで
%
%      \usepackage{amsmath}
%
% とする必要がある.
%
%\begin{subequations}\Deqlab{hw-org-5-67} % 全体のラベル
% %\def\theequation{\arabic{chapter}-\arabic{parentequation}\alph{equation}}
%  % ↑ デフォルトはアルファベットだが, 数等を指定したければここを編集
% \begin{eqnarray}
%  \Deqlab{hw-org-5-67a}
%   F_{m,n+1}^{*} &=& F_{m,n} - \frac{c \Delta t}{2\Delta x}
%   \left(F_{m+1,n} - F_{m-1,n}\right)
%   \\
%  \Deqlab{hw-org-5-67b}
%   F_{m,n+1} &=& F_{m,n} - \frac{c \Delta t}{2\Delta x}
%   \left(F_{m+1,n+1}^{*} - F_{m-1,n+1}^{*} \right)
% \end{eqnarray}
%\end{subequations}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%  数式 (複数の数式に一つの式番号をつける場合) %%%%%%
%
%\begin{eqnarray}
% \Deqlab{hw-org-5-88}
% \begin{array}{ccccccc}
%  \dfrac{u_{m+1,n} - u_{m-1,n}}{2\Delta t} &+&
%   U\dfrac{u_{m+1,n} - u_{m-1,n}}{2d} &+&
%   \dfrac{\phi_{m+1,n} - \phi_{m-1,n}}{2d} &=& 0 \\
%  \\
%  \Phi \dfrac{u_{m+1,n} - u_{m-1,n}}{2d} &+&
%   \dfrac{\phi_{m+1,n} - \phi_{m-1,n}}{2\Delta t} &+&
%   U\dfrac{\phi_{m+1,n} - \phi_{m-1,n}}{2d} &=& 0
% \end{array}
%\end{eqnarray}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%         参考文献 (本文に書く場合)      %%%%%%%%
%
%{\bfseries 参考文献}
%\vspace{-7mm}
%\begin{description}
% \item	著者名, 2000:
%	書籍名, (章, 節).
%	出版社, 319pp.
%\end{description}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%         参考文献 (脚注につける場合)    %%%%%%%%
%
%\footnote{
% 参考文献
% \begin{quote}
%  \begin{description}
%   \item 著者名, 1983:
%	 書籍名, (章, 節).
%	 出版社, 247pp.
%  \end{description}
% \end{quote}
%}
%
%
%\footnote{
% 参考文献
% \begin{quote}
%  \begin{description}
%   \item Hinkelmann, K., 1959:
%	 Der mechanismus des meteorologischen Larmes.
%	 {\itshape Tellus,} {\bfseries 3,} 285-296.
%  \end{description}
% \end{quote}
%}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%    図の貼込み  (本文に張り込む場合)    %%%%%%%%
%
%\begin{figure}[htb]
% \vspace*{10mm}
% \begin{center}
%  \Depsf[][]{./eps/sample.eps}
% \end{center}
% \begin{quote}
%  \caption{
%  {\footnotesize 見出し}
%  }
%  \Dfiglab{図用ラベル}  % \Dfigref{図用ラベル}で参照できる
% \end{quote}
%\end{figure}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%    図の貼込み  (脚注に張り込む場合)    %%%%%%%%
%
%\begin{center}
% \Depsf[][]{./eps/sample.eps}
% \begin{quote}
%  {\scriptsize 見出し}
% \end{quote}
%\end{center}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%    表の貼込み  (本文に張り込む場合)    %%%%%%%%
%
%\begin{table}[htb]
% \vspace*{10mm}
% \begin{center}
%  \Depsf[][]{./eps/sample.eps}
% \end{center}
% \begin{quote}
%  \caption{
%  {\footnotesize 見出し}
%  }
%  \Dtablab{Table用ラベル}  % \Dtabref{Table用ラベル}で参照できる
% \end{quote}
%\end{table}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%                リスト                  %%%%%%%%
%
%\begin{Dlist}[項目の幅]
% \item[項目1] 内容1
%	     
% \item[項目2] 内容2
%\end{Dlist}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%   表 (Table) を自作する場合の書式      %%%%%%%%
%
%%% コメント付き %%%
%
%\begin{center}
% %                                     ↓ c:中央, l:左, r: 右寄せ
% \begin{tabular}{@{\vrule width 1pt\ }c|l|r@{\ \vrule width 1pt}}
%  %                   縦線の太さ^^^    ^ ^ ← 中の縦線を消したい場合は
%  %                                           このバー「|」を消す.
%  \noalign{\hrule height 1pt} % ← 太横線
%  項目1 & 項目2 & 項目3\\
%  \noalign{\hrule height 1pt} % ← 太横線
%  センタリング & ひだりよせ & みぎよせ\\
%  \noalign{\hrule height 0.4pt}   % 行を増やす場合は,
%  & & \\         % 細横線 ↑      % この2行を Copy & Paste
%  \noalign{\hrule height 1pt} % ← 太横線
% \end{tabular}
%\end{center}
%
%
%%% コメント無し %%%
%
%\begin{center}
% \begin{tabular}{@{\vrule width 1pt\ }c|l|r@{\ \vrule width 1pt}}
%  \noalign{\hrule height 1pt}
%  項目1 & 項目2 & 項目3\\
%  \noalign{\hrule height 1pt}
%  & & \\
%  \noalign{\hrule height 0.4pt}
%  & & \\
%  \noalign{\hrule height 1pt}
% \end{tabular}
%\end{center}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
