Created
February 23, 2016 10:57
-
-
Save elliptic-shiho/8dae177a9ed2d0893f36 to your computer and use it in GitHub Desktop.
My LaTeX Template
This file contains hidden or 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
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{report} | |
\usepackage{amsmath} | |
\usepackage{amssymb} | |
\usepackage{amsthm} | |
\usepackage{amscd} | |
\usepackage{xypic} | |
\usepackage{ascmac} | |
\let\keytop\undefined | |
\let\return\undefined | |
\usepackage{okumacro} | |
\def\Im{\mathrm{Im}} | |
\def\Ker{\mathrm{Ker}} | |
\def\Hom{\mathrm{Hom}} | |
\def\Ext{\mathrm{Ext}} | |
\theoremstyle{definition} | |
\newtheorem{theorem}{定理} | |
\newtheorem*{theorem*}{定理} | |
\newtheorem{lemma}{補題} | |
\newtheorem*{lemma*}{補題} | |
\newtheorem{definition}[theorem]{定義} | |
\newtheorem*{definition*}{定義} | |
\numberwithin{theorem}{section} | |
\makeatletter | |
\renewenvironment{proof}[1][\proofname]{\par | |
\normalfont | |
\topsep6\p@\@plus6\p@ \trivlist | |
\item[\hskip\labelsep{\bfseries #1}\@addpunct{\bfseries}]\ignorespaces | |
}{ | |
\endtrivlist | |
} | |
\renewcommand{\proofname}{[証明]} | |
\makeatother |
This file contains hidden or 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
METAPOST := pmpost | |
TEX := platex | |
DVIPDF := dvipdfmx | |
TARGETS:= foo.pdf bar.pdf | |
all: $(TARGETS) | |
%.pdf: %.tex | |
$(METAPOST) -tex=$(TEX) *.mp | |
$(TEX) $*.tex --file-line-error-style | |
$(DVIPDF) "$*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment