-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypackage.sty
45 lines (42 loc) · 1.16 KB
/
mypackage.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
\usepackage[dvipdfmx]{color}
\usepackage[dvipdfmx]{graphicx}
\usepackage{fancyhdr}
\usepackage{here}
\usepackage{comment}
\usepackage{mathtools}
\usepackage{amsmath, amssymb, bm}
\usepackage{type1cm}
\usepackage{multirow}
\usepackage{enumerate}
\usepackage[dvipdfmx]{hyperref}
\usepackage{pxjahyper}
\setcounter{secnumdepth}{4}
\usepackage{titlesec}
\usepackage{siunitx}
\usepackage{booktabs}
% 上下に2.5cm、左右に20cmの余白を取る
\usepackage[top=30mm, bottom=30mm, left=20mm, right=20mm]{geometry}
\usepackage{listings} %,jlisting日本語のコメントアウトをする場合jlisting(もしくはjvlisting)が必要
\usepackage{xr}
% 式番号の設定
\numberwithin{equation}{section}
%ここからソースコードの表示に関する設定
\lstset{
basicstyle={\ttfamily},
identifierstyle={\small},
commentstyle={\smallitshape},
keywordstyle={\small\bfseries},
ndkeywordstyle={\small},
stringstyle={\small\ttfamily},
frame={tb},
breaklines=true,
columns=[l]{fullflexible},
numbers=left,
xrightmargin=0zw,
xleftmargin=3zw,
numberstyle={\scriptsize},
stepnumber=1,
numbersep=1zw,
lineskip=-0.5ex
}
\graphicspath{{./figure/}}