Last active
December 4, 2017 08:24
-
-
Save astronasutarou/5783252205cfac87dadb09a563cb8f52 to your computer and use it in GitHub Desktop.
IDP 2018 http://www.perc.it-chiba.ac.jp/meetings/IDP2018 のアブストラクト用の LaTeX スタイルファイル試作
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[10pt,a4paper,pdftex]{article} | |
\usepackage{idp2018} | |
\title{Template and Instructions for Abstract Submission to IDP 2018} | |
\author{A. B. Author$^1$} | |
\affil{$^1$Affiliation for A. B. Author} | |
\email{author.a.b@example.com} | |
\begin{document} | |
\section{Introduction} | |
\lipsum[1] | |
\section{File size and file format} | |
\lipsum[2] | |
\section{Style, Font and font size} | |
\lipsum[3] | |
\section{Figures, Tables and Pictures} | |
\lipsum[4] | |
\section{Equations} | |
\lipsum[5] | |
\begin{equation} | |
a^2 + b^2 = c^2 | |
\label{eq:1} | |
\end{equation} | |
\begin{equation} | |
E = m \cdot c^2 | |
\label{eq:2} | |
\end{equation} | |
\lipsum[6] | |
\section{Acknowledgments} | |
\lipsum[6] | |
\section{References} | |
\lipsum[7] | |
\section{Additional Information} | |
\lipsum[8-9] | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage[a4paper,twocolumn]{geometry} | |
\usepackage{lipsum,etoolbox,calc} | |
\usepackage{color,graphicx} | |
\usepackage{hyperref} | |
\usepackage{natbib} | |
\setlength{\parindent}{5.1mm} | |
\newgeometry{margin=19mm,columnsep=8mm} | |
\usepackage{times,tgheros,inconsolata,mathptmx} | |
\renewcommand{\bfdefault}{bx} | |
\renewcommand{\section}[1]{{\bfseries\sffamily #1:} } | |
\renewcommand{\subsection}[1]{{\itshape #1} } | |
\definecolor{link}{rgb}{0.2,0.2,1.0} | |
\hypersetup{% | |
pdfnewwindow=true,% | |
bookmarksnumbered=true,% | |
colorlinks=true,% | |
linkcolor=link,% | |
citecolor=link,% | |
urlcolor=link,% | |
filecolor=link,% | |
setpagesize=false,% | |
final=true | |
} | |
\makeatletter | |
\let\@affil\@empty | |
\let\@email\@empty | |
\newcommand{\affil}[1]{\renewcommand{\@affil}{#1}} | |
\newcommand{\email}[1]{\renewcommand{\@email}{\href{mailto:#1}{#1}}} | |
\AfterEndPreamble{% | |
\pagestyle{empty} | |
\twocolumn[{% | |
\noindent{\large\bfseries\sffamily \@title}\\ | |
\noindent{\@author}\\ | |
\noindent{\@affil~ | |
\ifdefempty{\@email} | |
{[email address should be specified]}{(\@email)}}\\[1\baselineskip]}]} | |
\AtEndDocument{% | |
\ifnum\value{page}>1 | |
\onecolumn% | |
{\huge\textcolor{red}{Error: Exceeding the Maximum Number of Pages.}}% | |
\PackageWarningNoLine{IDP2018}{Error: Exceeding the Maximum Number of Pages} | |
\else{\relax}\fi} | |
\makeatother |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment