% By NUmata yacehide.  nu+y@math.shinshu-u.ac.jp
% Time-stamp: <2014-12-07 19:21:47 nous>
% Licence GPL.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% define new color w/ japanese name 
\definecolor{konpeki}{cmyk}{1,.34,0,.27}
\definecolor{kachi}{cmyk}{.87, .76, 0, .72}
\definecolor{konjo}{cmyk}{.86, .55, 0, .70}
\definecolor{koinezu}{cmyk}{.14, .25, .00, .64}
\definecolor{kiaka}{cmyk}{.0, .556, .921, .153}
\definecolor{aka}{cmyk}{.00, 1, .78, .10}
\definecolor{koniro}{cmyk}{.70, .48, .0, .56}
\definecolor{midori}{cmyk}{.65, .00, .37, .30}
\definecolor{aomidori}{cmyk}{1.00, .0, .08, .36}
\definecolor{benimurasaki}{cmyk}{.00, .58, .16, .29}
\definecolor{kiiro}{cmyk}{.0, .15, 1, .0}
\definecolor{namariiro}{cmyk}{.02, .01, .0, .51}
% define new color w/ japanese name 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% define color theme
\providecommand{\nu@color@name@theme@Base@BK}{white}
\providecommand{\nu@color@name@theme@Base@MF}{\nu@color@name@theme@Base@FW}
\providecommand{\nu@color@name@theme@Base@FW}{black}
\providecommand{\nu@color@name@theme@Main@BK}{konpeki}
\providecommand{\nu@color@name@theme@Main@MF}{konjo}
\providecommand{\nu@color@name@theme@Main@FW}{kachi}
\providecommand{\nu@color@name@theme@Accent@BK}{koinezu}
\providecommand{\nu@color@name@theme@Accent@MF}{\nu@color@name@theme@Accent@BK}
\providecommand{\nu@color@name@theme@Accent@FW}{kiaka}
% define color theme
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% color arrangement
% define Design Theme
\providecommand{\nu@pagecolor@normal}{\nu@pagecolor@theme@Base@BK}
\providecommand{\nu@color@emph}{\nu@color@theme@Accent@FW}
\providecommand{\nu@color@normal}{\nu@color@theme@Base@FW}
\providecommand{\nu@color@background}{\nu@color@theme@Base@BK}

\providecommand{\nu@color@titleLine}{\nu@color@theme@Main@BK}
\providecommand{\nu@color@title}{\nu@color@theme@Main@FW}
\providecommand{\nu@color@author}{\nu@color@theme@Accent@MF}

\providecommand{\nu@color@sectionLine}{\nu@color@theme@Main@BK}
\providecommand{\nu@color@sectionHeader}{\nu@color@theme@Main@FW}
\providecommand{\nu@color@sectionTitle}{\nu@color@theme@Main@FW}

%\providecommand{\nu@color@subsectionLine}{\nu@color@sectionLine}
\providecommand{\nu@color@subsectionHeader}{\nu@color@sectionHeader}
\providecommand{\nu@color@subsectionTitle}{\nu@color@sectionTitle}

\providecommand{\nu@color@paragraphHeader}{\nu@color@theme@Main@FW}
\providecommand{\nu@color@paragraphTitle}{\nu@color@theme@Main@FW}

\providecommand{\nu@color@theoremTitle}{\nu@color@theme@Main@FW}
\providecommand{\nu@color@theoremBody}{\nu@color@normal}
\providecommand{\nu@color@theoremStructure}{\nu@color@theoremTitle}

\providecommand{\nu@color@abstractTitle}{\nu@color@theme@Main@FW}
\providecommand{\nu@color@abstractTitleLine}{\nu@color@theme@Main@BK}
\providecommand{\nu@color@abstractBody}{\nu@color@theme@Main@MF}
\providecommand{\nu@color@abstractCitation}{\nu@color@theme@Main@MF}


\providecommand{\nu@color@resumeTitle}{\nu@color@abstractTitle}
\providecommand{\nu@color@resumeTitleLine}{\nu@color@abstractTitleLine}
\providecommand{\nu@color@resumeBody}{\nu@color@abstractBody}
\providecommand{\nu@color@resumeCitation}{\nu@color@abstractCitation}

% define Color Theme
%%%%%%%%%%%%%%%%%%%%%%%




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% some commands for color
\providecommand{\nu@pagecolor@theme@Base@BK}{\pagecolor{\nu@color@name@theme@Base@BK}}
\providecommand{\nu@color@theme@Base@BK}{\color{\nu@color@name@theme@Base@BK}}
\providecommand{\nu@color@theme@Base@MF}{\color{\nu@color@name@theme@Base@MF}}
\providecommand{\nu@color@theme@Base@FW}{\color{\nu@color@name@theme@Base@FW}}
\providecommand{\nu@color@theme@Main@BK}{\color{\nu@color@name@theme@Main@BK}}
\providecommand{\nu@color@theme@Main@MF}{\color{\nu@color@name@theme@Main@MF}}
\providecommand{\nu@color@theme@Main@FW}{\color{\nu@color@name@theme@Main@FW}}
\providecommand{\nu@color@theme@Accent@BK}{\color{\nu@color@name@theme@Accent@BK}}
\providecommand{\nu@color@theme@Accent@MF}{\color{\nu@color@name@theme@Accent@MF}}
\providecommand{\nu@color@theme@Accent@FW}{\color{\nu@color@name@theme@Accent@FW}}

\providecommand{\nu@color@theme@basic@r}{\color{aka}}
\providecommand{\nu@color@theme@basic@g}{\color{midori}}
\providecommand{\nu@color@theme@basic@b}{\color{koniro}}
\providecommand{\nu@color@theme@basic@c}{\color{aomidori}}
\providecommand{\nu@color@theme@basic@m}{\color{benimurasaki}}
\providecommand{\nu@color@theme@basic@y}{\color{kiiro}}
\providecommand{\nu@color@theme@basic@k}{\color{namariiro}}

\providecommand{\UseColorR}{\nu@color@theme@basic@r}
\providecommand{\UseColorG}{\nu@color@theme@basic@g}
\providecommand{\UseColorB}{\nu@color@theme@basic@b}
\providecommand{\UseColorC}{\nu@color@theme@basic@c}
\providecommand{\UseColorM}{\nu@color@theme@basic@m}
\providecommand{\UseColorY}{\nu@color@theme@basic@y}
\providecommand{\UseColorK}{\nu@color@theme@basic@k}
\providecommand{\UseColorNm}{\nu@color@normal}
\providecommand{\UseColorEm}{\nu@color@emph}

\newenvironment{coloritembox}[2][\nu@color@theme@Accent@FW]{#2\begin{itembox}{{\sf #1}}\nu@color@normal}{\end{itembox}\nu@color@normal}

\let\oldsection\section
\def\section{\@ifstar{\colorsectionStar}{\colorsection}}
\newcommand{\colorsection}[1]{\nu@color@sectionHeader\oldsection{\nu@color@sectionLine\underline{\nu@color@sectionTitle #1}}\nu@color@normal}
\newcommand{\colorsectionStar}{\oldsection*}

\let\oldsubsection\subsection
\def\subsection{\@ifstar{\colorsubsectionStar}{\colorsubsection}}
\newcommand{\colorsubsection}[1]{\nu@color@subsectionHeader\oldsubsection{\nu@color@subsectionTitle #1}\nu@color@normal}
\newcommand{\colorsubsectionStar}{\oldsubsection*}


\let\oldparagraph\paragraph
\def\paragraph{\@ifstar{\colorparagraphStar}{\colorparagraph}}
\newcommand{\colorparagraph}[1]{\nu@color@paragraphHeader\oldparagraph{\nu@color@paragraphTitle #1}\nu@color@normal}
\providecommand{\colorparagraphStar}{\oldparagraph*}


\let\oldtitle\title
\renewcommand{\title}[1]{\oldtitle{\nu@color@titleLine$\underline{\overline{{\nu@color@title\text{\parbox{1.0\textwidth}{\sffamily\begin{center} #1\end{center}}}}}}$\nu@color@normal}}

\let\oldauthor\author
\let\oldand\and \def\and{\oldand\nu@color@author}
\renewcommand{\author}[1]{\oldauthor{\nu@color@author #1\nu@color@normal}}
\newcommand{\shozoku}[1]{\\ \small \nu@color@author #1}
\newcommand{\email}[1]{\\ \small\nu@color@author \url{#1}}

\newcommand{\alert}[1]{{\nu@color@emph\em #1}}

\let\oldmaketitle\maketitle
\renewcommand{\maketitle}{\oldmaketitle\thispagestyle{empty}\nu@pagecolor@normal}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\renewcommand{\refname}{References}
\providecommand{\abstractFontSize}{\small}
\providecommand{\abstractname}{Abstract}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newenvironment{abstractabstract}[2][{}]{%\begin{center}\NERP\end{center}
\begin{center}\begin{minipage}{0.9\textwidth}{\abstractFontSize\nu@color@abstractTitleLine\underline{\nu@color@abstractTitle\sf #2} } \def\abstractcitation{#1}\nu@color@abstractBody\abstractFontSize}{\hfill \nu@color@abstractCitation\abstractcitation\end{minipage}\end{center}\nu@color@normal}

\renewenvironment{abstract}[1][{}]{\begin{abstractabstract}[#1]{\abstractname}}{\end{abstractabstract}}
\newenvironment{resume}[1][{}]{\begin{abstractabstract}[#1]{Resum\'e}}{\end{abstractabstract}}

\newcommand{\NERP}{Nobody ever reads posters. So we will be happy to
explain ours! Please contuct us.}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
% Theorems
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\def\th@upshapetheorem{\def\qedsymbol{\statementendsymbol}\pushQED{\qed}      %
\normalfont % body font
\nu@color@theoremBody
%\thm@bodyfont{\itshape}
\thm@headfont{\nu@color@theoremTitle\sffamily\bfseries}
\thm@notefont{}
\thm@headpunct{.}
}
%
\let\nous@old@endtheorem\@endtheorem
\def\@endtheorem{\nu@color@theoremStructure\popQED\nous@old@endtheorem}
%
\newcommand{\halfopenbox@nous@simpleposter}{\leavevmode%
  \hbox to.77778em{\hfil\vrule%
  \vbox to.675em{\hrule width.3em%
\vfil\hrule}\vrule\hfil}}
%
\providecommand{\statementendsymbol}{\halfopenbox@nous@simpleposter}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\nu@color@normal
