update titlepage

This commit is contained in:
EthanDeng
2020-02-02 12:44:08 +08:00
parent c2a4b318ec
commit f8729c63a9
3 changed files with 154 additions and 175 deletions

View File

@@ -7,6 +7,7 @@
\institute{Elegant\LaTeX{} Program} \institute{Elegant\LaTeX{} Program}
\date{\today} \date{\today}
\version{3.10*} \version{3.10*}
\bioinfo{自定义}{信息}
\extrainfo{Victory won\rq t come to us unless we go to it. --- M. Moore} \extrainfo{Victory won\rq t come to us unless we go to it. --- M. Moore}
@@ -206,21 +207,18 @@ structure & \makecell{{\color{structure1}\rule{1cm}{1cm}}}
& \makecell{{\color{structure4}\rule{1cm}{1cm}}} & \makecell{{\color{structure4}\rule{1cm}{1cm}}}
& \makecell{{\color{structure5}\rule{1cm}{1cm}}} & \makecell{{\color{structure5}\rule{1cm}{1cm}}}
& chapter \ section \ subsection \\ & chapter \ section \ subsection \\
main & \makecell{{\color{main1}\rule{1cm}{1cm}}} main & \makecell{{\color{main1}\rule{1cm}{1cm}}}
& \makecell{{\color{main2}\rule{1cm}{1cm}}} & \makecell{{\color{main2}\rule{1cm}{1cm}}}
& \makecell{{\color{main3}\rule{1cm}{1cm}}} & \makecell{{\color{main3}\rule{1cm}{1cm}}}
& \makecell{{\color{main4}\rule{1cm}{1cm}}} & \makecell{{\color{main4}\rule{1cm}{1cm}}}
& \makecell{{\color{main5}\rule{1cm}{1cm}}} & \makecell{{\color{main5}\rule{1cm}{1cm}}}
& definition \ exercise \ problem \\ & definition \ exercise \ problem \\
second & \makecell{{\color{second1}\rule{1cm}{1cm}}} second & \makecell{{\color{second1}\rule{1cm}{1cm}}}
& \makecell{{\color{second2}\rule{1cm}{1cm}}} & \makecell{{\color{second2}\rule{1cm}{1cm}}}
& \makecell{{\color{second3}\rule{1cm}{1cm}}} & \makecell{{\color{second3}\rule{1cm}{1cm}}}
& \makecell{{\color{second4}\rule{1cm}{1cm}}} & \makecell{{\color{second4}\rule{1cm}{1cm}}}
& \makecell{{\color{second5}\rule{1cm}{1cm}}} & \makecell{{\color{second5}\rule{1cm}{1cm}}}
& theorem \ lemma \ corollary\\ & theorem \ lemma \ corollary\\
third & \makecell{{\color{third1}\rule{1cm}{1cm}}} third & \makecell{{\color{third1}\rule{1cm}{1cm}}}
& \makecell{{\color{third2}\rule{1cm}{1cm}}} & \makecell{{\color{third2}\rule{1cm}{1cm}}}
& \makecell{{\color{third3}\rule{1cm}{1cm}}} & \makecell{{\color{third3}\rule{1cm}{1cm}}}
@@ -278,15 +276,6 @@ The content of theorem.
\end{theorem} \end{theorem}
\end{lstlisting} \end{lstlisting}
\begin{lstlisting}{Python}
>> 'www0'>='W123'
ans =
1×4 logical 数组
1 1 1 0
\end{lstlisting}
第一个必选项 \lstinline{theorem name} 是定理的名字,第二个必选项 \lstinline{label} 是交叉引用时所用到的标签,交叉引用的方法为 \verb|\ref{thm:label}|。请注意,交叉引用时必须加上前缀 \lstinline{thm:} 第一个必选项 \lstinline{theorem name} 是定理的名字,第二个必选项 \lstinline{label} 是交叉引用时所用到的标签,交叉引用的方法为 \verb|\ref{thm:label}|。请注意,交叉引用时必须加上前缀 \lstinline{thm:}

View File

@@ -7,6 +7,7 @@
\institute{Elegant\LaTeX{} Program} \institute{Elegant\LaTeX{} Program}
\date{\today} \date{\today}
\version{3.10*} \version{3.10*}
\bioinfo{Bio}{Information}
\extrainfo{Victory won\rq t come to us unless we go to it. } \extrainfo{Victory won\rq t come to us unless we go to it. }
@@ -687,16 +688,14 @@ This appendix covers some of the basic mathematics used in econometrics. We brie
\date{\today} \date{\today}
% extra info % extra info
\version{1.00} \version{1.00}
\extrainfo{Victory won\rq t come to us unless we go to it. --- M. Moore}
\logo{logo.png}
\cover{cover.jpg}
\begin{document} \begin{document}
\maketitle \maketitle
\frontmatter
\tableofcontents \tableofcontents
\mainmatter \mainmatter
\hypersetup{pageanchor=true}
% add preface chapter here if needed % add preface chapter here if needed
\chapter{Example Chapter Title} \chapter{Example Chapter Title}
The content of chapter one. The content of chapter one.

View File

@@ -55,7 +55,7 @@
\DeclareStringOption[apalike]{bibstyle} \DeclareStringOption[apalike]{bibstyle}
\DeclareVoidOption{newtxmath}{\ekv{math=newtx}} \DeclareVoidOption{newtx}{\ekv{math=newtx}}
\DeclareVoidOption{mtpro2}{\ekv{math=mtpro2}} \DeclareVoidOption{mtpro2}{\ekv{math=mtpro2}}
\DeclareVoidOption{cm}{\ekv{math=cm}} \DeclareVoidOption{cm}{\ekv{math=cm}}
@@ -115,7 +115,7 @@
\setcounter{tocdepth}{1} \setcounter{tocdepth}{1}
\PassOptionsToPackage{no-math}{fontspec} \PassOptionsToPackage{no-math}{fontspec}
\RequirePackage{amsmath,mathrsfs,amsfonts,amssymb}
\ifdefstring{\ELEGANT@lang}{cn}{ \ifdefstring{\ELEGANT@lang}{cn}{
\RequirePackage[UTF8, scheme=plain]{ctex} \RequirePackage[UTF8, scheme=plain]{ctex}
@@ -233,26 +233,33 @@
\ifdefstring{\ELEGANT@titlestyle}{hang}{\def\style{hang}}{\relax} \ifdefstring{\ELEGANT@titlestyle}{hang}{\def\style{hang}}{\relax}
\ifdefstring{\ELEGANT@titlestyle}{display}{\def\style{display}}{\relax} \ifdefstring{\ELEGANT@titlestyle}{display}{\def\style{display}}{\relax}
% reference:
% https://tex.stackexchange.com/questions/58506/how-to-make-a-new-command-similar-to-author
% https://pastebin.com/C8W4axzV
\newcommand{\email}[1]{\gdef\@email{\href{mailto:#1}{\nolinkurl{#1}}}}
\def\@email{\@latex@warning@no@line{No \noexpand\email given}}
\newtoks\email \global\let\@title\@empty
\newtoks\version \global\let\@author\@empty
\newtoks\institute \global\let\@date\@empty
\newtoks\subtitle \newcommand{\subtitle}[1]{\gdef\@subtitle{#1}}
\newcommand{\institute}[1]{\gdef\@institute{#1}}
\newcommand{\version}[1]{\gdef\@version{#1}}
\newcommand{\extrainfo}[1]{\gdef\@extrainfo{#1}}
\RequirePackage{mwe}
\newcommand{\logo}[1]{\gdef\@logo{#1}}
\newcommand{\cover}[1]{\gdef\@cover{#1}}
\RequirePackage[\ELEGANT@cite,sort&compress]{natbib} \RequirePackage[\ELEGANT@cite,sort&compress]{natbib}
\setlength{\bibsep}{0.0pt} \setlength{\bibsep}{0.0pt}
\def\bibfont{\footnotesize} \def\bibfont{\footnotesize}
\RequirePackage{enumerate} \RequirePackage{enumerate}
% list/itemize/enumerate setting % list/itemize/enumerate setting
\RequirePackage[shortlabels,inline]{enumitem} \RequirePackage[shortlabels,inline]{enumitem}
\setlist{nolistsep} \setlist{nolistsep}
% caption settings
\RequirePackage{caption}
\captionsetup{labelfont = bf}
\RequirePackage[font=small,labelfont={bf,color=structurecolor}]{caption} \RequirePackage[font=small,labelfont={bf,color=structurecolor}]{caption}
\captionsetup[table]{skip=3pt} \captionsetup[table]{skip=3pt}
\captionsetup[figure]{skip=3pt} \captionsetup[figure]{skip=3pt}
@@ -279,6 +286,7 @@
\RequirePackage{graphicx} \RequirePackage{graphicx}
%\RequirePackage{enumerate} %\RequirePackage{enumerate}
\RequirePackage{amsmath,mathrsfs,amsfonts,amssymb}
\RequirePackage{booktabs} \RequirePackage{booktabs}
\RequirePackage{multicol,multirow} \RequirePackage{multicol,multirow}
@@ -325,6 +333,7 @@
\newcommand{\propertyname}{} \newcommand{\propertyname}{}
\newcommand{\introductionname}{} \newcommand{\introductionname}{}
\newcommand{\problemsetname}{} \newcommand{\problemsetname}{}
\newcommand\bioinfo[2]{\gdef\@bioinfo{\textit{#1}#2}}
}{\relax} }{\relax}
\ifdefstring{\ELEGANT@lang}{en}{ \ifdefstring{\ELEGANT@lang}{en}{
\setlength\parindent{2em} \setlength\parindent{2em}
@@ -355,6 +364,7 @@
\newcommand{\propertyname}{Property} \newcommand{\propertyname}{Property}
\newcommand{\introductionname}{Introduction} \newcommand{\introductionname}{Introduction}
\newcommand{\problemsetname}{Exercise} \newcommand{\problemsetname}{Exercise}
\newcommand\bioinfo[2]{\gdef\@bioinfo{\textbf{#1}: #2}}
}{\relax} }{\relax}
\RequirePackage{xpatch} \RequirePackage{xpatch}
@@ -399,8 +409,7 @@
pdfborder={0 0 0}, pdfborder={0 0 0},
linktocpage linktocpage
} }
\let\email\relax
\newcommand\email[1]{\href{mailto:#1}{\nolinkurl{#1}}}
%% %%
\RequirePackage[center,pagestyles]{titlesec} \RequirePackage[center,pagestyles]{titlesec}
@@ -412,27 +421,22 @@
\titleformat{\chapter}[\style]{\bfseries} \titleformat{\chapter}[\style]{\bfseries}
{\filcenter\LARGE\enspace\bfseries{\color{structurecolor}\IfAppendix{\appendixname}{\chaptername}\enspace}}{1pt}{\bfseries\color{structurecolor}\LARGE\filcenter}[\ifdefstring{\ELEGANT@base}{hide}{}{\filcenter\base{structurecolor}{88}}] {\filcenter\LARGE\enspace\bfseries{\color{structurecolor}\IfAppendix{\appendixname}{\chaptername}\enspace}}{1pt}{\bfseries\color{structurecolor}\LARGE\filcenter}[\ifdefstring{\ELEGANT@base}{hide}{}{\filcenter\base{structurecolor}{88}}]
\titleformat{\section}[hang]{\bfseries} \titleformat{\section}[hang]{\bfseries}{
{\Large\bfseries{\color{structurecolor}\thesection}\enspace}{1pt}{\color{structurecolor}\Large\bfseries\filright} \Large\bfseries{\color{structurecolor}\thesection}\enspace}{1pt}{%
\color{structurecolor}\Large\bfseries\filright}
\titleformat{\subsection}[hang]{\bfseries}{ \titleformat{\subsection}[hang]{\bfseries}{
\large\bfseries\color{structurecolor}\thesubsection\enspace}{1pt}{\color{structurecolor}\large\bfseries\filright} \large\bfseries\color{structurecolor}\thesubsection\enspace}{1pt}{%
\color{structurecolor}\large\bfseries\filright}
\titleformat{\subsubsection}[hang]{\bfseries} \titleformat{\subsubsection}[hang]{\bfseries}{
{\large\bfseries\color{structurecolor}\thesubsubsection\enspace}{1pt}{\color{structurecolor}\large\bfseries\filright} \large\bfseries\color{structurecolor}\thesubsubsection\enspace}{1pt}{%
\color{structurecolor}\large\bfseries\filright}
\titlespacing{\chapter}{0pt}{-20pt}{1.3\baselineskip} \titlespacing{\chapter}{0pt}{-20pt}{1.3\baselineskip}
%\titlespacing{\subsection}{0pt}{0.5\baselineskip}{-\baselineskip} %\titlespacing{\subsection}{0pt}{0.5\baselineskip}{-\baselineskip}
%%define the note and proof environment %%define the note and proof environment
\RequirePackage{pifont,manfnt,bbding} \RequirePackage{pifont,manfnt,bbding}
% list/itemize/enumerate setting
\RequirePackage[shortlabels]{enumitem}
\setlist{nolistsep}
\RequirePackage[many]{tcolorbox} \RequirePackage[many]{tcolorbox}
@@ -487,19 +491,12 @@
\textcolor{third}{$\spadesuit$}};}},} \textcolor{third}{$\spadesuit$}};}},}
\newtcbtheorem[auto counter,number within=chapter]{definition}{\definitionname}{defstyle}{def} \newtcbtheorem[auto counter,number within=chapter]{definition}{\definitionname}{defstyle}{def}
\newtcbtheorem[auto counter,number within=chapter]{theorem}{\theoremname}{thmstyle}{thm} \newtcbtheorem[auto counter,number within=chapter]{theorem}{\theoremname}{thmstyle}{thm}
\newtcbtheorem[auto counter,number within=chapter]{postulate}{\postulatename}{thmstyle}{pos} \newtcbtheorem[auto counter,number within=chapter]{postulate}{\postulatename}{thmstyle}{pos}
\newtcbtheorem[auto counter,number within=chapter]{axiom}{\axiomname}{thmstyle}{axi} \newtcbtheorem[auto counter,number within=chapter]{axiom}{\axiomname}{thmstyle}{axi}
\newtcbtheorem[auto counter,number within=chapter]{proposition}{\propositionname}{propstyle}{pro} \newtcbtheorem[auto counter,number within=chapter]{proposition}{\propositionname}{propstyle}{pro}
\newtcbtheorem[auto counter,number within=chapter]{corollary}{\corollaryname}{thmstyle}{cor} \newtcbtheorem[auto counter,number within=chapter]{corollary}{\corollaryname}{thmstyle}{cor}
\newtcbtheorem[auto counter,number within=chapter]{lemma}{\lemmaname}{thmstyle}{lem} \newtcbtheorem[auto counter,number within=chapter]{lemma}{\lemmaname}{thmstyle}{lem}
}{\relax} }{\relax}
\ifdefstring{\ELEGANT@mode}{simple}{ \ifdefstring{\ELEGANT@mode}{simple}{
@@ -511,56 +508,53 @@
% declare a new theorem style % declare a new theorem style
\newtheoremstyle{edefstyle}{3pt}{3pt}{\itshape}{}{ \newtheoremstyle{edefstyle}{3pt}{3pt}{\itshape}{}{
\bfseries\color{main}}{}{0.5em}{ \bfseries\color{main}}{}{0.5em}{\thmname{#1} \thmnumber{#2} \thmnote{(#3)}}
\thmname{#1} \thmnumber{#2} \thmnote{(#3)}}
% -------------------------------------------------%
\newtheoremstyle{ethmstyle}{3pt}{3pt}{\itshape}{}{ \newtheoremstyle{ethmstyle}{3pt}{3pt}{\itshape}{}{
\bfseries\color{second}}{}{.5em}{ \bfseries\color{second}}{}{0.5em}{\thmname{#1} \thmnumber{#2} \thmnote{(#3)}}
\thmname{#1} \thmnumber{#2} \thmnote{(#3)}}
% -------------------------------------------------%
\newtheoremstyle{eprostyle}{3pt}{3pt}{\itshape}{}{ \newtheoremstyle{eprostyle}{3pt}{3pt}{\itshape}{}{
\bfseries\color{third}}{}{.5em}{ \bfseries\color{third}}{}{0.5em}{\thmname{#1} \thmnumber{#2} \thmnote{(#3)}}
\thmname{#1} \thmnumber{#2} \thmnote{(#3)}}
\theoremstyle{edefstyle} % definition style
\theoremstyle{edefstyle}
\newtheorem{edefinition}{\definitionname}[chapter] \newtheorem{edefinition}{\definitionname}[chapter]
\theoremstyle{ethmstyle} \newenvironment{definition}[2]{
\ifstrempty{#1}{\edefinition}{\edefinition[#1]}\ifstrempty{#2}{}{\label{def:#2}}}{
\endedefinition}
\theoremstyle{ethmstyle} %theorem style
\newtheorem{etheorem}{\theoremname}[chapter] \newtheorem{etheorem}{\theoremname}[chapter]
\newenvironment{theorem}[2]{
\ignorespaces\ifstrempty{#1}{\etheorem}{\etheorem[#1]}\ifstrempty{#2}{}{\label{thm:#2}}}{
\endetheorem}
\newtheorem{elemma}{\lemmaname}[chapter] \newtheorem{elemma}{\lemmaname}[chapter]
\newenvironment{lemma}[2]{
\ignorespaces\ifstrempty{#1}{\elemma}{\elemma[#1]}\ifstrempty{#2}{}{\label{lem:#2}}}{
\endelemma}
\newtheorem{ecorollary}{\corollaryname}[chapter] \newtheorem{ecorollary}{\corollaryname}[chapter]
\newenvironment{corollary}[2]{
\ignorespaces\ifstrempty{#1}{\ecorollary}{\ecorollary[#1]}\ifstrempty{#2}{}{\label{cor:#2}}}{
\endecorollary}
\newtheorem{epostulate}{\postulatename}[chapter] \newtheorem{epostulate}{\postulatename}[chapter]
\newenvironment{postulate}[2]{
\ifstrempty{#1}{\epostulate}{\epostulate[#1]}\ifstrempty{#2}{}{\label{pos:#2}}}{
\endepostulate}
\newtheorem{eaxiom}{\axiomname}[chapter] \newtheorem{eaxiom}{\axiomname}[chapter]
\newenvironment{axiom}[2]{
\ifstrempty{#1}{\eaxiom}{\eaxiom[#1]}\ifstrempty{#2}{}{\label{axi:#2}}}{
\endaxiom}
\theoremstyle{eprostyle} \theoremstyle{eprostyle}
\newtheorem{eproposition}{\propositionname}[chapter] \newtheorem{eproposition}{\propositionname}[chapter]
\newenvironment{proposition}[2]{
\newenvironment{theorem}[2] \ifstrempty{#1}{\eproposition}{\eproposition[#1]}\ifstrempty{#2}{}{\label{pro:#2}}}{
{\ifstrempty{#1}{\etheorem}{\etheorem[#1]}\ifstrempty{#2}{}{\label{thm:#2}}} \endeproposition}
{\endetheorem}
\newenvironment{definition}[2]
{\ifstrempty{#1}{\edefinition}{\edefinition[#1]}\ifstrempty{#2}{}{\label{def:#2}}}
{\endedefinition}
\newenvironment{lemma}[2]
{\ifstrempty{#1}{\elemma}{\elemma[#1]}\ifstrempty{#2}{}{\label{lem:#2}}}
{\endelemma}
\newenvironment{corollary}[2]
{\ifstrempty{#1}{\ecorollary}{\ecorollary[#1]}\ifstrempty{#2}{}{\label{cor:#2}}}
{\endecorollary}
\newenvironment{postulate}[2]
{\ifstrempty{#1}{\epostulate}{\epostulate[#1]}\ifstrempty{#2}{}{\label{pos:#2}}}
{\endepostulate}
\newenvironment{axiom}[2]
{\ifstrempty{#1}{\eaxiom}{\eaxiom[#1]}\ifstrempty{#2}{}{\label{axi:#2}}}
{\endaxiom}
\newenvironment{proposition}[2]
{\ifstrempty{#1}{\eproposition}{\eproposition[#1]}\ifstrempty{#2}{}{\label{pro:#2}}}
{\endeproposition}
}{\relax} }{\relax}
% maingreen-def): example exercise problem solution % maingreen-def): example exercise problem solution
@@ -648,7 +642,7 @@
\RequirePackage{adforn} \RequirePackage{adforn}
\newenvironment{problemset}[1][\chaptername~\medskip~\problemsetname]{ \newenvironment{problemset}[1][\chaptername~\medskip~\problemsetname]{
\begin{center} \begin{center}
\addcontentsline{toc}{section}{\texorpdfstring{\chaptername\medskip\problemsetname}{\problemsetname}} \phantomsection\addcontentsline{toc}{section}{\texorpdfstring{\chaptername\medskip\problemsetname}{\problemsetname}}
\textcolor{structurecolor}{\Large\bfseries\adftripleflourishleft~#1~\adftripleflourishright} \textcolor{structurecolor}{\Large\bfseries\adftripleflourishleft~#1~\adftripleflourishright}
\end{center} \end{center}
\begin{enumerate}}{ \begin{enumerate}}{
@@ -702,31 +696,6 @@
\renewcommand{\sectionmark}[1]{\markright{\thesection\, #1}{} } \renewcommand{\sectionmark}[1]{\markright{\thesection\, #1}{} }
\renewcommand{\chaptermark}[1]{\markboth{\chaptername \, #1\,}{}} \renewcommand{\chaptermark}[1]{\markboth{\chaptername \, #1\,}{}}
%%
\newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}}
\def\IfEmpty#1{%
\edef\1{\the#1}
\ifx\1\empty
}
\def \ifempty#1{\def\temp{#1} \ifx\temp\empty }
\newcommand*{\logo}[1]{
\def\@logo{\includegraphics[width=4.2cm]{#1}
}
}
\ifdefstring{\ELEGANT@device}{normal}{
\newcommand*{\cover}[1]{
\def\@cover{\includegraphics[width=\linewidth]{#1}
}
}}{\relax}
\ifdefstring{\ELEGANT@device}{pad}{
\newcommand*{\cover}[1]{
\def\@cover{\includegraphics[trim=0 26bp 0 26bp,clip=true, width=\linewidth]{#1}
}
}}{\relax}
\renewcommand{\baselinestretch}{1.35} \renewcommand{\baselinestretch}{1.35}
\renewcommand*{\maketitle}{% \renewcommand*{\maketitle}{%
@@ -734,47 +703,69 @@
\begin{titlepage} \begin{titlepage}
\newgeometry{margin = 0in} \newgeometry{margin = 0in}
\parindent=0pt \parindent=0pt
\@cover \ifdefstring{\ELEGANT@device}{normal}{
\ifcsname @cover\endcsname
\includegraphics[width=\linewidth]{\@cover}
\else
\includegraphics[width=\linewidth]{example-image}
\fi
}{\relax}
\ifdefstring{\ELEGANT@device}{pad}{
\ifcsname @cover\endcsname
\includegraphics[trim=0 26bp 0 26bp,clip=true, width=\linewidth]{\@cover}
\else
\includegraphics[trim=0 26bp 0 26bp,clip=true, width=\linewidth]{example-image}
\fi
}{\relax}
\setlength{\fboxsep}{0pt} \setlength{\fboxsep}{0pt}
\colorbox{second}{\makebox[\linewidth][c]{\shortstack[c]{\vspace{0.5in}}}} \colorbox{second}{\makebox[\linewidth][c]{\shortstack[c]{\vspace{0.5in}}}}
\vfill \vfill
\vskip-2ex \vskip-2ex
\hspace{2em} \hspace{2em}
\parbox{0.8\textwidth}{ \parbox{0.8\textwidth}{
\bfseries\Huge \@title\par \bfseries\Huge
} \ifcsname @title\endcsname \@title \fi
\par}
\vfill \vfill
\vspace{-1.0cm} \vspace{-1.0cm}
\setstretch{2.5} \setstretch{2.5}
\hspace{2.5em} \hspace{2.5em}
\begin{minipage}[c]{0.67\linewidth} \begin{minipage}[c]{0.67\linewidth}
{\color{darkgray}\bfseries\Large \the\subtitle\\[2ex]} {\color{darkgray}\bfseries\Large
\ifcsname @subtitle\endcsname\@subtitle\\[2ex]\fi}
\color{gray}\normalsize \color{gray}\normalsize
{\renewcommand{\arraystretch}{0.618} {\renewcommand{\arraystretch}{0.618}
\begin{tabular}{l} \begin{tabular}{l}
\authorname \@author \\ % \ifcsname @author\endcsname \authorname \@author\\\fi
\institutename \the\institute\\ \ifx\@author\empty\else\authorname\@author\\ \fi
\datename \@date\\ \ifcsname @institute\endcsname \institutename \@institute\\ \fi
\versionname \the\version\\ % \ifcsname @date\endcsname \@date\\\fi
\ifx\@date\empty\else\datename\@date \\ \fi
\ifcsname @version\endcsname \versionname \@version\\ \fi
\ifcsname @bioinfo\endcsname \@bioinfo\\ \fi
\end{tabular}} \end{tabular}}
\end{minipage} \end{minipage}
\begin{minipage}[c]{0.27\linewidth} \begin{minipage}[c]{0.27\linewidth}
\begin{tikzpicture}[remember picture,overlay] \begin{tikzpicture}[remember picture,overlay]
\begin{pgfonlayer}{background} \begin{pgfonlayer}{background}
\node[opacity=0.8,anchor=south east,outer sep=0pt,inner sep=0pt] at ($(current page.south east) +(-0.8in,1.5in)$) {\@logo}; \node[opacity=0.8,
anchor=south east,
outer sep=0pt,
inner sep=0pt] at ($(current page.south east) +(-0.8in,1.5in)$) {
\ifcsname @logo\endcsname\includegraphics[width=4.2cm]{\@logo}\fi};
\end{pgfonlayer} \end{pgfonlayer}
\end{tikzpicture} \end{tikzpicture}
\end{minipage} \end{minipage}
\vfill \vfill
\begin{center} \begin{center}
\setstretch{1.3} \setstretch{1.3}
\parbox[t]{0.7\textwidth}{\centering \itshape \@extrainfo} \parbox[t]{0.7\textwidth}{\centering \itshape
\ifcsname @extrainfo\endcsname\@extrainfo\fi}
\end{center} \end{center}
\vfill \vfill
\end{titlepage} \end{titlepage}
\restoregeometry \restoregeometry
\thispagestyle{empty} \thispagestyle{empty}}
}