TEX 1 TEX 3 1.1 TEX... 3 1.2 TEX... 3 1.2.1... 3 1.2.2... 3 1.2.3... 3 1.2.4... 3 1.2.5... 3 1.3... 3 1.3.1... 3 1.3.2... 4 1.4 TEX... 4 1.4.1... 4 1.4.2... 4 1.5 TEX... 5 1.5.1... 5 1.5.2... 5 1.5.3... 6 1.5.4... 7 1.5.5... 7 1.6 Ydocumentclass... 7 1.6.1... 7 1.6.2... 8 1.7... 9 1.7.1... 9 1.7.2... 9 1.7.3 Yusepackage... 9 1.8... 10 1.9 TEX... 10 2 12 2.1... 12 2.2... 12 2.3 (itemize).. 12 2.3.1... 13 2.4 (enumerate)... 14 2.4.1... 14 2.5 (description).. 15 2.6... 16 2.6.1... 16 2.6.2... 16 2.6.3... 16 2.7 (verbatim)... 16 2.8... 16 2.9... 17 2.10 2 17 2.11... 17 2.11.1... 18 3 20 3.1... 20 3.2... 20 3.3... 21 3.3.1... 21 3.3.2 1:... 21 3.3.3 21 3.4... 21 3.4.1 2... 21 3.4.2 minipage... 21 3.4.3 2.. 22 3.4.4 2 2... 22 3.4.5 3.. 23 3.5... 23 3.5.1 1 23 3.5.2... 24 1
3.6... 26 4 30 4.1... 30 4.1.1... 30 7 PDF 40 7.1 PDF... 40 7.2... 40 7.3 PDF.. 40 4.1.2... 31 4.2... 31 4.2.1... 31 4.2.2... 31 4.2.3... 31 4.2.4... 32 4.3... 32 4.3.1... 32 4.3.2... 33 4.4... 33 5 34 5.1... 34 5.1.1... 34 5.1.2... 34 5.2... 34 5.3... 34 5.4... 34 5.5... 34 5.6... 35 5.7... 35 5.8... 36 5.9... 36 5.10... 37 5.10.1... 37 5.10.2 cases... 37 5.11... 37 5.12... 37 5.13... 38 6 EPS 39 6.1 EPS... 39 6.1.1 Illustrator... 39 6.1.2 WMF2EPS... 39 2
1 TEX 1.1 TEX TEX Donald E. Knuth Knuth 1968 The Art of Computer Programming 2 Knuth Knuth 4 TEX 1.2 TEX TEX TEX 1.2.1 (kerning) To Ye AV 2 TEX 1.2.2 ff fi (ligature) TEX 1.2.3 1 1983 Franklin Mark Liang 90% TEX 1.2.4 TEX (1 = 5.4 10 6 mm) \raisebox{0.75ex}[0pt][0pt]{ } 1.2.5 Word TEX TEX f(x) = g(t) dt + 1 T 1 0 T k=0 y 1 = y 2 a 11 a 12 a 21 a 22 1.3 1.3.1 ( x 2 k h(k) (x) k! x 2 ) x 1 What You See Is What You Get() ( WYSIWYG ) 3
(?? ) 2 (8) WYSIWYG What You See Is All You ve Got( 1.4 TEX 1.4.1 TEX.tex ~ ( ) TEX 1.4.2 (1) TEX Y ) ( ) TEX \ 1.3.2 HTML(Hyper Text Markup Language) Web HTML HTML Web TEX TEX TEX TEX TEX () αx \alpha x \alphax TEX alphax! Undefined Control Sequence (2) 1 \TeX \TeX ( ) (3) 2 ( ) 4
\documentclass{jarticle} 1.5 TEX \begin{document} It s fine today. \end{document} It s fine today. \end{document} 1.5.1 TEX \documentclass{jarticle} \begin{document} 1 \documentclass{jarticle} \begin{document} \end{document} \end{document} (4) \begin{document} 1.1 TEX TEX (5) TEX Windows DVIOUT PDF (6) % % (7) TEX TEX \documentclass \begin{document}... \end{document} 1.5.2 TEX TEX \begin{} \end{} itemize \begin{itemize} \item 1 \item 2 \end{itemize} 5
1.1: TEX # \# # $ \$ $ % \% % & \& & _ \_ { \{ { } \} } < < \textless < > > \textgreater > \ $\backslash$ \ \textbar ^ \textasciicircum ˆ ~ \textasciitilde 1 2 I read Dr. Knuth s book. I read Dr.\ Knuth s book. I read Dr.~Knuth s book. I read Dr. Knuth s book. \ []{ } I read Dr. Knuth s book. [ ] I read Dr. Knuth s book. 1.4.2 (1) 1.5.3 TEX TEX.,?,!, ; ;,, etc. Dr. Knuth. \ ~ TEX TEX (1) \TeX for Windows (2) \TeX\ for Windows (3) \TeX~for Windows (4) \TeX\@ for Windows (5) \TeX{} for Windows (6) {\TeX} for Windows 6
(1) TEXfor Windows (2) TEX for Windows (3) TEX for Windows (4) TEX for Windows (5) TEX for Windows (6) TEX for Windows (1) (2) \ (3) ~ (4) \@ (5) {} TEX (6) {} TEX 1.5.4 TEX 1 \newline \\ ( 2 ) \\ 1.5.5 Ynewpage \newpage 2 Yclraepage \clearpage \newpage \clearpage 2 1.6 Ydocumentclass TEX \documentclass[ ]{ } \begin{document} \end{document} TEX 1 ( ) ( ) 1.6.1.cls 7
TEX article, jarticle, tarticle article 1.2: 10 10pt 11 11pt 12 12pt article jarticle tarticle ( 1.3) 1.3: report, jreport, treport report A4 a4paper pl A TEX report jreport treport (\section) (\chapter) A5 B4 B5 a5paper b4paper b5paper book, jbook, tbook book ( ) book jbook tbook (\chapter) report ( 1.4) 1.4: landscape 1.6.2, 2 ( 1.5) 1.5: 2 1 onecolumn 2 twocolumn \documentclass[b4paper,11pt]{jarticle} B4 11pt ( 1.6) (\normalsize) ( 1.2) (equation ) ( 1.7) 8
1.6: oneside twoside book \documentclass{jarticle} \title{\tex } \author{ } \date{2006 1 1 } \begin{document} 1.7: \maketitle fleqn \mathindent \end{document} \\ \and ( 1.8) 1.8: leqno 1.7 1.7.2 \pagestyle{ } plain empty headings 1.9: \documentclass \begin{document} 1.7.1 TEX \maketitle (\title) (\author) (\date) 1 \setcounter{page}{0} 0 \pagenumbering{ } 1.10 1.7.3 Yusepackage TEX (.sty) 9
1.10: arabic (1, 2, 3, ) roman (i, ii, iii, ) Roman (I, II, III, ) alph (a, b, c, ) Alph (A, B, C, ) foo.sty! Too many unprocessed floats. TEX \usepackage{foo} figure table 1 figure table 1.8 TEX ( )! Undefined control sequence.! Missing $ inserted. ( ) $ ( $a_x_y$) a xy $a_{x_y}$!ybegin{...} ended by Yend{...}. \end{flushleft} \begin \end!extra}, or forgotten $. { \[ \( $ } ] ) $! Missing { } inserted. TEX! Something s wrong perhaps a missing Yitem. (itemize enumerate ) \item! Double superscript. ( $a^i^j$) a ij $a^{i^j}$! Double subscript. 1.9 TEX TeX 1.11 TEX 1.12 1em 10
1.11: TEX pt 1[pt] = 65536[sp] = 0.3514[mm] sp 1[sp] = 0.54 10-5[mm] in 1[in] = 72[bp] = 72.27[pt] = 25.4[mm] bp 1[bp] = 1.004[pt] = 0.3527[mm] cm 1[cm] = 10[mm] = 28.34[pt] mm 1[mm] = 0.1[cm] = 2.83[pt] pc 1[pc] = 12[pt] = 4.2[mm] cc 1[cc] = 12[dd] = 12.835[pt] = 4.511[mm] dd 1[dd] = 0.376[mm] (1157[dd] = 1238[pt]) Q 1[Q] = 1[H] = 0.25[mm] H 1[Q] = 1[H] = 0.25[mm] 1.12: em ex zw zh M x ( ) ( ) 11
2 2.3 (itemize) 2.1 2.1 TEX \textrm{ } 2.2 TEX 2.2 (\normalsize) 10pt 11pt 12pt itemize \begin{itemize} \item \item \item \end{itemize} \item 4 \begin{itemize} \item 1 1 \item 1 2 \begin{itemize} \item 2 1 \begin{itemize} \item 3 1 \item 3 2 \begin{itemize} \item 4 1 \end{itemize} \item 3 3 \end{itemize} \item 2 2 \end{itemize} \item 1 3 \end{itemize} 12
2.1: \textrm 123abcABC \textsf 123abcABC \texttt 123abcABC \textmd 123abcABC \textit 123abcABC \textsl 123abcABC \textsc 123abcABC \textbf 123abcABC \textmc 123abcABC \textgt 123abcABC 2.2: 10pt 11pt 12pt \tiny 5pt 6pt 6pt \scriptsize 7pt 8pt 8pt \footnotesize 8pt 9pt 10pt \small 9pt 10pt 11pt \normalsize 10pt 11pt 12pt \large 12pt 12pt 14pt \Large 14pt 14pt 17pt \LARGE 17pt 17pt 20pt \huge 20pt 20pt 25pt \Huge 25pt 25pt 25pt 1 1 1 2 2 1 3 1 3 2 4 1 3 3 2 2 1 3 2.3.1 itemize 2.3 itemize 1 \renewcommand{\labelitemi}{ } 1 \item 13
2.3: itemize 1 \labelitemi (\textbullet) 2 \labelitemii ({\bfseries\textendash}) 3 \labelitemiii (\textasteriskcentered) 4 \labelitemiv (\textperiodcentered) [ ] \begin{enumerate} \item 1 1 \begin{itemize} \item \item[ ] \end{itemize} \item 1 2 \begin{enumerate} \item 2 1 \begin{enumerate} \item 3 1 \item 3 2 \begin{enumerate} \item 4 1 \end{enumerate} \item 3 3 \end{enumerate} \item 2 2 2.4 (enumerate) \end{enumerate} \item 1 3 enumerate \end{enumerate} \begin{enumerate} \item \item \item \end{enumerate} 1. 1 1 2. 1 2 (a) 2 1 i. 3 1 ii. 3 2 A. 4 1 iii. 3 3 1. 2. 3. (b) 2 2 3. 1 3 \item 2.4.1 4 enumerate ( ) ( 14
2.4: enumerate 1 enumi \theenumi \labelenumi enumi ) \renewcommand{\theenumi}{\arabic{enumi}} \renewcommand{\labelenumi} 2.4 1 2 {\textit{step \theenumi}:} 4 enumi enumii enumiii enumiv (2 \renewcommand ) \renewcommand{\theenumi}{\roman{enumi}} Step 1 : 1 2.5 2.5: \arabic (1, 2, 3, ) \roman (i, ii, iii, ) \Roman (I, II, III, ) \alph (a, b, c, ) \Alph (A, B, C, ) Step 1 : Step 2 : Step 3 : 2.5 (description) description description \begin{description} \renewcommand{\labelenumi}{(\theenumi)} \item[] Japanese \item[ ] English \item[ ] French 1 \end{description} Japanese English French \item 15
2.6 2.6.1 center center \begin{flushleft} \end{flushleft} center 2.7 (verbatim) ($ % TEX ) \begin{verbatim} ( TEX ) 2.8 1 footnote \footnote{} center flushleft \footnote[]{} [ ] 2.6.3 5 flushright 2.1 \footnote[0]{} \begin{flushright} \\ \makeatletter \makeatother ($\dag$ \end{flushright} 1 verbatim 2.6.2 flushleft \end{verbatim} 5 2 [5] 0 ( 16
\def\thefootnote{\ifnum\c@footnote>\z@\textasteriskcentered\@arabic\c@footnote\fi} \makeatletter \renewcommand{\footnoterule}{% \kern-3\p@ \hrule width 0.4\columnwidth \kern 2.6\p@} \def\thefootnote{\ifnum\c@footnote>\z@\@arabic\c@footnote\fi} \makeatother ) ${}^\dag$ 2.9 \setcounter{ }{ } 2.1: 2.11 3 \setcounter{section}{2} 2.5 \setcounter{section}{2} \setcounter{subsection}{4} TEX 2.6 2.10 2 2 (twocolumn) balance balance.sty ) \usepackage{balance} \balance 1 TEX color color color.sty color.sty \usepackage{color} \color \textcolor \color{ } \textcolor{ }{} { } 2.7 17
2.6: TEX part \part chapter \chapter section \section subsection \subsection subsubsection \subsubsection paragraph \paragraph subparagraph \subparagraph page equation equation figure figure table table footnote \footnote enumi ( 1) enumerate enumii ( 2) enumerate enumiii ( 3) enumerate enumiv ( 4) enumerate mpfootnote minipage \footnote 2.7: black white red green blue cyan magenta yellow \color[named]{ } \textcolor[named]{ }{} 2.8 2.11.1 DVIPS 68 DVIPS DVIOUT \color \textcolor named 18
2.8: DVIPS GreenYellow Yellow Goldenrod Dandelion Apricot Peach Melon YellowOrange Orange BurntOrange Bittersweet RedOrange Mahogany Maroon BrickRed Red OrangeRed RubineRed WildStrawberry Salmon CarnationPink Magenta VioletRed Rhodamine Mulberry RedViolet Fuchsia Lavender Thistle Orchid DarkOrchid Purple Plum Violet RoyalPurple BlueViolet Periwinkle CadetBlue CornflowerBlue MidnightBlue NavyBlue RoyalBlue Blue Cerulean Cyan ProcessBlue SkyBlue Turquoise TealBlue Aquamarine BlueGreen Emerald JungleGreen SeaGreen Green ForestGreen PineGreen LimeGreen YellowGreen SpringGreen OliveGreen RawSienna Sepia Brown Tan Gray Black White GreenYellow Yellow Goldenrod Dandelion Apricot Peach Melon YellowOrange Orange BurntOrange Bittersweet RedOrange Mahogany Maroon BrickRed Red OrangeRed RubineRed WildStrawberry Salmon CarnationPink Magenta VioletRed Rhodamine Mulberry RedViolet Fuchsia Lavender Thistle Orchid DarkOrchid Purple Plum Violet RoyalPurple BlueViolet Periwinkle CadetBlue CornflowerBlue MidnightBlue NavyBlue RoyalBlue Blue Cerulean Cyan ProcessBlue SkyBlue Turquoise TealBlue Aquamarine BlueGreen Emerald JungleGreen SeaGreen Green ForestGreen PineGreen LimeGreen YellowGreen SpringGreen OliveGreen RawSienna Sepia Brown Tan Gray Black White 19
3 TEX (?) figure 3.2 figure ( figure ) 3.1 3.1 figure \begin{figure} \caption{ } \label{} \end{figure} figure \begin{figure}[htbp] \includegraphics graphicx \caption{ } \label{} \usepackage{graphicx} \end{figure} ( graphics x ) TEX (1) 1 h figure (2) 2 \includegraphics[]{} t (3) 3 [width=3cm] b (4) p TEX [width=0.4\textwidth] %( 40%) h t b p 3.1: (here) (top) (bottom) (page) 20
\begin{figure}[h!] \caption{ } \label{} \end{figure}! 3.3 ( ) (1) figure figure* 3.3.1 (4) 1 (a)(b) (2) minipage 5 minipage 1 (5) \renewcommand{\figurename}{fig.} 3.4.1 2 Fig.5 figure 1 3.3.2 1: 1: 3.1 \makeatletter \makeatother caption minipage TEX (2) minipage (3) 1 1 minipage 1 ( ) 2 3 1 figure* figure* 2 figure* 3.3.3 3.4.2 minipage 1 1 minipage ( ) \renewcommand{\thefigure}{ \thesection.\arabic{figure}} \@addtoreset{figure}{section} \begin{minipage}{ } minipage 1.1 1.2 \end{minipage} 2.1 3.4 figure \includegraphics \caption {5cm} {0.45\textwidth} 45% minipage minipage (0.02\textwidth ) minipage 21
\makeatletter \long\def\@makecaption#1#2{% \@makecaption \vskip\abovecaptionskip \iftdir\sbox\@tempboxa{#1\hskip1zw#2}% \else\sbox\@tempboxa{\textbf{#1:} #2} % \fi \ifdim \wd\@tempboxa >\hsize% \iftdir #1\hskip1zw#2\relax\par \else \textbf{#1:} #2\relax\par\fi% \else \global \@minipagefalse \hbox to\hsize{\hfil\box\@tempboxa\hfil} \fi \vskip\belowcaptionskip} \makeatother 3.1: minipage 3.4.3 2 2 (left.eps right.eps) 2 3.2 3.3 3.4 1 2 \textwidth (2 ) figure minipage 1/4 minipage 1 (a), (b) 2 (left.eps right.eps) 2 1 (a), (b) 3.5 3.6 左 の 図 右 の 図 (left.eps) (right.eps) (a) (b) 3.6: 左 の 図 (left.eps) 3.3: 右 の 図 (right.eps) 3.4: 3.4.4 2 2 2 2 TEX 1 3.7 3.8 3.10 22
\begin{figure}[htbp] \begin{minipage}{0.23\textwidth} \includegraphics[width=0.9\textwidth]{left.eps} \caption{} \end{minipage} \begin{minipage}{0.23\textwidth} \includegraphics[width=0.9\textwidth]{right.eps} \caption{} \end{minipage} \end{figure} 3.2: 2 1 左 の 図 右 の 図 (left.eps) (right.eps) 3.8: 3.9: 左 の 図 右 の 図 (left.eps) (right.eps) (a) (b) 3.10: 3.4.5 3 2 (figure* ) 3 3.11 3.12 3.14 3.15(a), (b), 3.16 3.17 \caption{ }{}~ 3 minipage 3.5 figure table 3.5.1 1 1 TEX 3.2 1 \setcounter \setcounter{topnumber}{8} \setcounter{bottomnumber}{8} \setcounter{totalnumber}{8} \setcounter{dbltopnumber}{8} 23
\begin{figure}[htbp] \begin{minipage}{0.48\textwidth} \begin{minipage}{0.45\textwidth} \includegraphics[width=0.95\textwidth]{left.eps}\\ (a) \end{minipage} \begin{minipage}{0.45\textwidth} \includegraphics[width=0.95\textwidth]{right.eps}\\ (b) \end{minipage} \end{minipage} \caption{} \end{figure} 3.5: 2 2 3.2: \topnumber 2 \bottomnumber 1 \totalnumber 3 \dbltopnumber 2 2 2 3.5.2 figure table TEX 3.3 \setcounter \renewcommand{\topfraction}{1.0} \renewcommand{\bottomfraction}{0.8} \renewcommand{\dbltopfraction}{1.0} \renewcommand{\textfraction}{0.0} \renewcommand{\floatpagefraction}{1.0} \renewcommand{\dblfloatpagefraction}{1.0} \topfraction 24
\begin{figure}[htbp] \begin{minipage}{0.23\textwidth} \includegraphics[width=0.9\textwidth]{left.eps} \caption{} \end{minipage} \begin{minipage}{0.23\textwidth} \includegraphics[width=0.9\textwidth]{right.eps} \caption{} \end{minipage} \begin{minipage}{0.48\textwidth} \begin{minipage}{0.45\textwidth} \includegraphics[width=0.9\textwidth]{left.eps}\\ (a) \end{minipage} \begin{minipage}{0.45\textwidth} \includegraphics[width=0.9\textwidth]{right.eps}\\ (b) \end{minipage} \end{minipage} \caption{} \end{figure} 3.7: 2 3 0.8 80% 2 82% 2 \textfraction 25
\begin{figure*} \begin{minipage}{0.32\textwidth} \includegraphics[width=0.95\textwidth]{left.eps} \caption{} \end{minipage} \begin{minipage}{0.32\textwidth} \includegraphics[width=0.95\textwidth]{center.eps} \caption{ } \end{minipage} \begin{minipage}{0.32\textwidth} \includegraphics[width=0.95\textwidth]{right.eps} \end{minipage} \end{figure*} \caption{} 3.11: 3 1 左 の 図 (left.eps) 真 ん 中 の 図 (center.eps) 右 の 図 (right.eps) 3.12: 3.13: 3.14: 8% 3.6 figure table 1 figure \caption 1:table 1: 26
左 の 図 (left.eps) 真 ん 中 の 図 (center.eps) 右 の 図 (right.eps) (a) (b) 3.15: 3.16: \begin{figure*} \begin{minipage}{0.63\textwidth} \begin{minipage}{0.48\textwidth} \includegraphics[width=0.95\textwidth]{left.eps}\\ (a) \end{minipage} \begin{minipage}{0.48\textwidth} \includegraphics[width=0.95\textwidth]{center.eps}\\ (b) \end{minipage} \caption{ } \end{minipage} \begin{minipage}{0.3024\textwidth} \includegraphics[width=0.95\textwidth]{right.eps}\\ \caption{ } {}~ \end{minipage} \end{figure*} 3.17: 3 2 27
3.3: \topfraction 0.7 \bottomfraction 0.3 \textfraction \floatpagefraction \dbltopfraction \dblfloatpagefraction 2 2 2 0.2 0.5 0.7 0.5 3.18 figure \caption \tblcaption ( table \figcaption ) \makeatletter \makeatother 3.19 左 の 図 (left.eps) 3.20: 3.4: A Q =5 10 Q =10 20 28
\makeatletter \newcommand{\figcaption}[1]{\def\@captype{figure}\caption{#1}} \newcommand{\tblcaption}[1]{\def\@captype{table}\caption{#1}} \makeatother 3.18: figure(table) ( ) \begin{figure}[htbp] \begin{minipage}{0.23\textwidth} \includegraphics[width=0.9\textwidth]{left.eps} \caption{ } \end{minipage} \begin{minipage}{0.23\textwidth} \tblcaption{ } \begin{tabular}{ c c }\hline & A \\\hline $Q=5$ & 10 \\\hline $Q=10$ & 20 \\\hline \end{tabular} \end{minipage} \end{figure} 3.19: figure(table) ( ) 29
4 TEX table 4.1 table \begin{table}[htbp] \caption{ } \label{} \end{table} table ([htbp]) figure 3.2 2 2 table table* 4.1.1 tabular \begin{tabular}{} \end{tabular} 4.1 4.1: l c r \begin{tabular}{lcr} & & \\ & 1 & 100 \\ & 30 & 15000 \end{tabular} 30
{lcr} 1 100 30 15000 l, c, r 1 2 3 () & () \\ \\ \begin{tabular}{ l c r } 2 4.1.2 \hline \hline 2 tabular TEX tabular l c 4.2.4 \begin{tabular}{ l c r } \hline r p{30zw} p & & \\ \hline\hline (Paragraph) & 1 & 100 \\ \hline 30zw 30 p & 30 \end{tabular} & 15000 \\ \hline 15 p{15zw} 1 100 30 15000 \\ 4.2 1 4.2.2 1 100 30 15000 4.2.1 tabular 2 4.2.3 \hline 3 2 3 \hline \cline 31
\cline{m-n} m n 1 100 30 15000 4.2.4 TEX tabular hhline \hline \hhline tabular \hhline \hhline \begin{tabular}{ l c r \hhline{ = # = = \usepackage{hhline} hhline \hline 4.3 \hhline{ } 4.3.1 tabular (c ) 4.2 tabular \multicolumn 4.2: hhline \multicolumn 3 = \multicolumn{ }{ - }{ } ~ : 3 # 1 3 t () b () \begin{tabular}{ l c r } \hline \multicolumn{3}{ c }{}\\ \hline \begin{tabular}{ l c r } \hline & & \\ \hhline{ =#= = } & & \\ \hhline{ =#= = } & 1 & 100 \\ \hline & 1 & 100 \\ \hline & 30 & 15000 \\ \hline & 30 & 15000 \\ \hline \end{tabular} \end{tabular} 32
1 100 30 15000 4.3.2 TEX \raisebox{}[][ ]{ } 4.4 \cellcolor 3 3 (Cyan) \begin{tabular}{ c c c } \hline A B \cellcolor{cyan}{c }{1} & 2 & 3\\ \hline C 1.5 2.5 a & b & c\\ \hline 2.0 3.0 A & B & C\\ \hline \end{tabular} \begin{tabular}{ c c c }\hline & A & B\\ \hline 1 2 3 \raisebox{-1.75ex}[0pt][0pt]{ a b c C} & 1.5 & 2.5\\ \cline{2-3} A B C & 2.0 & 3.0\\ \hline \end{tabular} 2.8 C 1.5 1.75ex colortbl ( colortbl.sty ) \usepackage{colortbl} (1) \cline (2) \raisebox \cellcolor \newcommand{\cellcolor}[3]{\multicolumn {1}{ >{\columncolor[named]{#1}}#2}{#3}} () \cellcolor 3 \raisebox ( ) \cellcolor{ }{}{ } 33
5 TEX Knuth TEX 5.1 TEX 2 5.1: TEX \ \quad () \qquad 2 \, 1/6 \> 2/9 \; 5/18 \! -1/6 5.1.1 $2x^2+3x-1$ $ 2x 2 +3x 1 5.1.2 5.3 x 0 _$x_0$ x 2 ^$x^2$ $a^i_j$ a i j 2 { } x 10 $x^10$ x 1 0 2x 2 +3x 1 1 equation eqnarray eqnarray* \begin{eqnarray*} 2x^2+3x-1 \end{eqnarray*} 5.2 TEX $x+1$ $x + 1$ $ x+ 1$ x +1 5.1 5.4 \sum \sum^{3}_{k=1}a_k = a_1 + a_2 + a_3 3 a k = a 1 + a 2 + a 3 k=1 \sum $\sum^{3}_{k=1}a_k$ 3 k=1 a k 3 a k k=1 5.11 5.5 \frac 34
\frac{ }{ } \frac{1-x}{1+x} 1 x 1+x \frac{2}{1+\frac{x}{3}} \! ( 3 ) 5.7 ( ) \frac eqnarray 2 \\ 1+ x 3 \begin{eqnarray} $\frac{1-x}{1+x}$ 1 x 1+x y=\sin x \\ y=\log _2 x \\ 1 x 5.11 y=a_n x^n + \cdots + a_1 x + a_0 1+x \end{eqnarray} 5.6 \int \int^{b}_{a}f(x)dx = F(b) - F(a) \int^{b}_{a}f(x)\,dx = F(b) - F(a) b D D f(x, y)dxdy f(x, y) dx dy y =sinx (1) y =log 2 x (2) y = a n x n + + a 1 x + a 0 (3) f(x)dx = F (b) F (a) a & b f(x) dx = F (b) F (a) a \begin{eqnarray} y&=&\sin x \\ 2 dx \, 2 \int y&=&\log _2 x \\ y&=&a_n x^n + \cdots + a_1 x + a_0 \end{eqnarray} \int\int _D f(x,y)dxdy \int\!\!\!\int _D f(x,y)\,dx\,dy y y y = = = sinx log 2 x a n x n + + a 1 x + a 0 (4) (5) (6) 35
5.8 2 1 & \begin{eqnarray*} \lefteqn{u(x+h,y+k) + iv(x+h,y+k)} \hspace{1cm}\\ &=& u(x,y)+iv(x,y)+(a+bi)(h+ik) \\ & & {}+(\alpha (h,k)+i\beta(h,k)) \sqrt{h^2+k^2} \end{eqnarray*} \lefteqn ( ) 0 1 \lefteqn 2 \begin{eqnarray} w &=&x+y+z\\ w^2&=&x^2+2xy+2xz \nonumber \\ 2 ( 1cm) 1 & &{}+y^2+2yz+z^2 \end{eqnarray} 5.9 TEX array w = x + y + z (7) array tabular w 2 = x 2 +2xy +2xz + y 2 +2yz + z 2 (8) \begin{eqnarray} \left( 3 + {} \begin{array}{ccc} TEX a_{11} & a_{12} & a_{13}\\ + + TEX a_{21} & a_{22} & a_{23} \end{array} eqnarray \right) \nonumber u(x + h, y + k)+iv(x + h, y + k) \end{eqnarray} a 11 a 12 a 13 (9) a 21 a 22 a 23 = u(x, y)+iv(x, y)+(a + Bi)(h + ik) +(α(h, k)+iβ(h, k)) h 2 + k 2 array \begin{array}{ } c l r & \\ array 36
\left \right 5.10 (x =0) δ(x) = 0 (x 0) (11) TEX cases & \\cases amsmath \usepackage{amsmath} 5.10.1 \begin{eqnarray} \delta (x)= \left\{ \begin{array}{ll} \infty & (x=0) \\ 0 & (x\neq 0) \end{array} \right. \end{eqnarray} (x =0) δ(x) = 0 (x 0) (10) 5.11 \displaystyle $\frac{1-x}{1+x}$ 1 x 1+x $\displaystyle $\displaystyle \frac{1-x}{1+x}$ 1 x 1+x 5.10.2 cases \begin{eqnarray} \delta (x)= \begin{cases} \infty & (x=0) \\ 0 & (x\neq 0) \end{cases} \end{eqnarray} (\frac{x}{2})^2=\frac{x^2}{4} 5.12 ( x 2 )2 = x2 4 \left \right 37
\left(\frac{x}{2}\right)^2=\frac{x^2}{4} ( x 2 ) 2 = x 2 \left \right \left(\frac{x}{2}\right.^2=\frac{x^2}{4} ( x 2 x 2 = 2 4 (.) 4 5.13 \makeatletter \renewcommand{\theequation}{% \thesection.\arabic{equation}} \@addtoreset{equation}{section} \makeatother (1) (2) 1 (1.1) (1.2) 2 (2.1) (2.2) \makeatletter \makeatother (x + y) 2 = x 2 +2xy + y 2 (12) (x + y) 2 = x 2 +2xy + y 2 (5.13) 38
6 EPS BMP JPEG EPS PostScript PostScript 6.1: Illustrator 6.1 EPS 6.1.1 Illustrator EPS EPS Illustrator EPS (*.EPS) 6.1 EPS (O) EPS 6.2: 6.1.2 WMF2EPS Plot32 PowerPoint ( (Ctrl+C) ) EPS-ConversionCurrent EPS WMF2EPS 6.2 Select graph to paste WMF(Windows Meta File) EMF(Extended Meta File) EMF 39
7 PDF PDF Adobe Systems (sty ) PDF 7.1 PDF PDF Adobe Acrobat Acrobat Distiller( Distiller) DVI PDF TEX PS PDF dvipsk DVI PS PS 7.1 Distiller & PS PDF 7.2 A4 (215.9mm 279.4mm = 8.5 11 ) TEX (\paperheight \paperwidth) PS A4 Acrobat Distiller A4 DVI PS -t letter TEX M s TeX Helper2 7.2 M s TeX Helper2 TeX DVI PS 7.2: dvips (M s TeX Helper2 ) 7.1: Acrobat Distiller 7.3 PDF (S) (J) PDF Windows 40
TEX DVI TEX I, II,, V 41