-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtec.tex
166 lines (157 loc) · 4.62 KB
/
tec.tex
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
%------------------------------------------------------------------------------
%
% Tec 教科書
%
%------------------------------------------------------------------------------
\documentclass[a4paper,twocolumn,twoside]{ltjsbook} % lualatex の場合
%----------- 印刷版とPDF版の区別 ----------------------------------------------
\newif\ifPDF
%\PDFfalse %印刷版の場合(https://www.seichoku.com の表紙自動コースに対応)
\PDFtrue %PDF版の場合
%------------------------------------------------------------------------------
\ifPDF
\newcommand{\pdf}{(PDF版)}
\else
\newcommand{\pdf}{}
\fi
%------------------------------------------------------------------------------
\usepackage{tec}
\newcommand{\edition}{第4版}
\newcommand{\ver}{Ver. 4.2.1}
%------------------------------------------------------------------------------
% はじまり
\begin{document}
%------------------------------------------------------------------------------
% カバー
\setcounter{page}{0}
\thispagestyle{empty}
\onecolumn
~
\vfill
\vfill
{\noindent
\fontsize{34pt}{50pt}\selectfont\textbf{TeC教科書}
}
\vfill
\vfill
\centerline{
\includegraphics[scale=0.38]{Img/TeC7c.jpg}
}
\vfill
\vfill
\centerline{\Large 徳山工業高等専門学校 情報電子工学科}
%\centerline{\Large 重村研究室}
\centerline{\Large\ttfamily https://github.com/tctsigemura/TeC7}
\vfill
%------------------------------------------------------------------------------
\ifPDF
\newpage
\setcounter{page}{0}
\thispagestyle{empty}
\onecolumn
~
\fi
%------------------------------------------------------------------------------
% 表紙
\frontmatter
\title{TeC 教科書\\\ver}
\author{徳山工業高等専門学校\\情報電子工学科\\TeCプロジェクト\\
\url{https://github.com/tctsigemura/TeC7}}
\date{}
\maketitle
%------------------------------------------------------------------------------
% 著作権表示
\thispagestyle{empty}
\onecolumn
~
\vfill
\begin{flushleft}
Copyright \copyright ~~ 2017 - 2021 by \\
Dept. of Computer Science and Electronic Engineering, \\
Tokuyama College of Technology, JAPAN
\end{flushleft}
\vspace{0.4cm}
\begin{flushleft}
本書の一部は,JSPS 科研費 22500833 および 16K0099 の
助成を受けて作成しました.\\
本書の最新版は,以下からダウンロード可能です.\\
\url{https://github.com/tctsigemura/TecTextBook/blob/master/tec.pdf}\\
本書の講義用スライドは,以下からダウンロード可能です.\\
\url{https://github.com/tctsigemura/TecTextBook/tree/master/Sld}
\end{flushleft}
\vspace{0.4cm}
\begin{flushleft}
本書はCC-BY-SAライセンスによって許諾されています.
ライセンスの全文は,以下で確認できます.\\
\url{http://creativecommons.org/licenses/by-sa/4.0/deed.ja}
\end{flushleft}
\begin{flushleft}
本書を授業などにご使用の節は,次のアドレスにご連絡いただければ幸いです.\\
\end{flushleft}
%------------------------------------------------------------------------------
% 目次
\setcounter{tocdepth}{2}
\tableofcontents
% 本文
\twocolumn
\mainmatter
\include{chap1} % はじめに
\include{chap2} % 情報の表現
\include{chap3} % マイコンの組立て
\include{chap4} % マイコンの操作
\include{chap5} % マイコンのプログラミング
\include{chap6/chap6} % マイコンの高度なプログラミング
\appendix
%%\include{appA/appA} % 付録A
\include{appB/appB} % 付録B
\include{appC/appC} % 付録C
\include{appD/appD} % 付録D
%------------------------------------------------------------------------------
% 発行元
\backmatter
\pagestyle{empty}
\onecolumn
~
\newpage
~
\vfill\vfill\vfill
\begin{center}
\fbox{\parbox{10cm}{ \vspace{0.3cm}
{\Large\emph{TeC教科書{\pdf}}} \\
\\
発行日 2017年6月 9日 {\edition}\\
2021年3月10日 {\ver}\\
著 者 重村 哲至 \\
発 行 徳山工業高等専門学校 情報電子工学科 \\
〒745-8585 山口県周南市学園台3538 \\
0834-29-6304 \\
\\
\ifPDF
\texttt{ISBN978-4-9910528-3-5 C3055}
\else
\texttt{ISBN978-4-9910528-2-8 C3055}
\fi
\vspace{0.3cm}}}
\end{center}
\vfill
%------------------------------------------------------------------------------
% 裏表紙
%------------------------------------------------------------------------------
\ifPDF
\newpage
\setcounter{page}{0}
\thispagestyle{empty}
\onecolumn
~
\fi
\newpage
~
\vfill
\parbox{7cm}{
\centerline{\includegraphics[width=6.5cm]{Img/Neko.png}}
\centerline{\Large({\ver})}
}
\vfil
\end{document}