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=q$-9~$`;~!"$I$N%l%$%d$K=q$/$+$r;XDj$G$-$kB>!"$I$N%l%$%d$rI=<($9(B
$B$k$+$r;XDj$G$-$^$9!#(B
$B$^$?!"%l%$%d$r=E$M$k=gHV$b;XDj$G$-$^$9!#(B
$B%3%s%T%e!<%?$N3($r:n?^$7!"(B EPS $B%U%!%$%k$H$7$F!"(B c:\work\computer.eps $B$H$$(B
$B$&%U%!%$%kL>$G=PNO$7$J$5$$!#(B
$B%Y%8%(6J@~(B$B$OFsE@4V$rDL$k6J@~$N0z$-J}$G!"@)8fE@$r;XDj$9$k$@(B
$B$1$GJ#;($J6J@~$r=q$/$3$H$,$G$-$^$9!#(B
n$Bx0,y0)$B!"(B
$B@)8fE@(B1 (x1,y1)$B!"(B
...$B!"(B
$B@)8fE@(Bn-1 (xn-1,yn-1)$B!"(B
$B=*E@(B (xn,yn)
$B$H$7$?;~!"6J@~$N50@W$O
$B:84s$;!"Cf1{B7$(!"1&4s$;$O
LaTeX $B$O(B section $B$d(B enumerate $B$J$I$GHV9f$r<+F0@8@.$7$^$9$,!"$3$NCM$r;2>H$G$-$^$9!#(B
section $B$d(B item $B$ND>8e$K(B \label{$B%i%Y%kL>(B} $B$rCV$/$H!"(B\ref{$B%i%Y%kL>(B} $B$G(B
$B%i%Y%k$NCM$r;2>H$G$-$^$9!#(B
$B<0$KHV9f$rIU$1$k$K$O(B \begin{equation} \end{equation} $B$r;H$$$^$9!#Cf$K(B
$BF~$l$?<0$O(B display $B%b!<%I$GI=<($5$l$^$9!#(B
\end{equation} $B$N
$B$3$N$h$&$K$9$k$HEy9f$rB7$($?<0JQ7A$J$I$r@bL@$70W$/$J$j$^$9!#(B
$BC"$7!"$3$l$G$O$9$Y$F$N<0$KHV9f$,$D$$$F$7$^$$$^$9!#(B
$BFCDj$N9T$@$1HV9f$rIU$1$J$$$h$&$K$9$k$K$O2~9T$N
$B?^$r;2>H$9$k;~$O(B \begin{figure}[hbtp] \caption{}\end{figure}$B$r;HMQ$7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$F$*$$$F2<$5$$!#(B
$B$^$?!"6=L#$,$"$l$P!"(B$B2CF#$?$@$7!V(BCD-ROM$BIUEE;R2sO)%7%_%e%l!<%?F~Lg!W(B
$B%V%k!<%P%C%/%9(B B-1344$B!"9VCL$B%I%m!<%=%U%H$NMxMQK!(B
$B%0%j%C%I(B
$B?^7A(B
$BA*Br(B
$BJ8;z(B
$B%0%k!<%W(B
$B@0Ns(B
$B%l%$%d(B
EPS $B%U%!%$%k$N=PNO(B
$B1i=,(B8-1
$B;29M(B
$BC"$7!"(B
8-2. $B@6=q(B(3)TeX, pLateX(2)
$B%;%s%?%j%s%0(B
\begin{flushleft}
abc\\
def
\end{flushleft}
\begin{center}
abc\\
def
\end{center}
\begin{flushright}
abc\\
def
\end{flushright}
$B;2>H(B
$B:8JU(B & $BEy9f(B & $B1&JU(B \\
$B:8JU(B & $BEy9f(B & $B1&JU(B \\
\end{eqnarray}
$B?^$NA^F~(B
$BNc(B8-1
$B0J2<$K%3%s%T%e!<%?$N?^(B ($B?^(B \ref{comp}) $B$r<($9!#(B
\begin{figure}[hbt]
\begin{center}
\epsfig{file=computer.eps,width=6cm}
\end{center}
\caption{$B%3%s%T%e!<%?(B}
\label{comp}
\end{figure}
$B%W%m%0%i%`$NA^F~(B
\lstset{language=C,numbers=left,numberstyle=\tiny}
\begin{lstlisting}
#include <stdio.h>
main(){
printf("Hello World!");
}
\end{lstlisting}
$BJ8;z(B
$BL\
\begin{thebibliography}{9}
\bibitem{$B;2>HL>(B1}$B;29MJ88%(B1$B$N=PE8(B
\bibitem{$B;2>HL>(B2}$B;29MJ88%(B2$B$N=PE8(B
\end{thebibliography}
$BNc(B8-2
C $B8@8l$N4pK\9=J8(B
\begin{thebibliography}{9}
\bibitem{KandR}
B.W.$B%+!<%K%O%s!"(BD.M.$B%j%C%A!
$B1i=,(B8-2
\documentclass[12pt]{jarticle}
\usepackage{epsfig}
\usepackage{listings}
\usepackage{vmargin}
\setpapersize{A4}
\setmargnohfrb{20mm}{20mm}{20mm}{20mm}
\begin{document}
\begin{center}
\begin{LARGE}
\LaTeX\ $B$N$5$i$J$k9bEY$J;H$$J}(B
\end{LARGE}
\end{center}
\begin{flushright}
03kc999\\
$BL>L5$7$N8"J<1R(B
\end{flushright}
\section{$B?t<0$N;2>H(B}
$B?t<0$KHV9f$r$D$1$F;2>H$9$k$K$OO$G$O!"?^7A$NA^F~$NNc$r<($7$^$9!#(B \begin{figure}[hbt] \begin{center} \epsfig{file=computer.eps,width=6cm} \end{center} \caption{$B%3%s%T%e!<%?(B} \label{comp} \end{figure} \section{$B%W%m%0%i%`$NA^F~(B} \label{sansho} \ref{sansho} $B>O$G$O%W%m%0%i%`$NI=<($r$7$^$9!#(B $B;29MJ88%(B \cite{KandR} $B$K$O(B C $B8@8l$NJ8K!$,=q$+$l$F$$$^$9!#(B \lstset{language=C,numbers=left,numberstyle=\tiny} \begin{lstlisting} #include <stdio.h>
main(){
printf("Hello World!");
}
\end{lstlisting}
\nocite{masuda}
\begin{thebibliography}{9}
\bibitem{KandR}
B.W.$B%+!<%K%O%s!"(BD.M.$B%j%C%A!
8-3. if$BJ8(B
if $BJ8$N4pAC(B
if($B>r7o<0(B){
$B>r7o$,@5$7$$;~$NF0:n(B
}else{
$B>r7o$,@5$7$/$J$$;~$NF0:n(B
}
if( a $B$,(B 0 $B$G$"$k(B){
a $B$,(B 0 $B$N;~$N2rK!(B
}else{
a $B$,(B 0 $B$G$J$$;~$N2rK!(B
}
a==0
$B1i=,(B8-3
#include <stdio.h>
main(){
int a,b,x;
a=2;
b=-4;
if(a=0){
if(b=0){
printf("x $B$OG$0U$N?t(B\n");
}else{
printf("$B2r$J$7(B\n");
}
}else{
x=b/a;
printf("x = %d\n",x);
}
}
$B%R%s%H(B
$B1i=,(B8-4
$BO@M}1i;;(B
if(A){
if(B){
X;
}
}
if(A){
X;
}else{
if(B){
X;
}
}
A NOT A
[email protected])(B [email protected])(B
[email protected])(B [email protected])(B
if((A)&&(B)){ X; }
if((A)||(B)){ X; }
$B1i=,(B8-5
#include <stdio.h>
main(){
float a,b;
float x;
a=10;
b=20;
printf("%fx+%f=0 $B$N2r$O(B",a,b);
if(/* a $B$b(B b $B$b(B 0 */){
printf("$BG$0U$NCM(B\n");
}
if(/* a $B$O(B 0 $B$@$,!"(B b $B$O(B 0 $B$G$J$$(B*/){
printf("$B$J$$(B\n");
}
if(/* a $B$O(B 0 $B$G$J$$(B */){
/* x $B$N7W;;(B */
printf("%f\n",x);
}
}
$B1i=,(B8-6
# include <stdio.h>
main(){
int n,d2,d3;
n = 100;
d2 = n % 2;
d3 = n % 3;
printf("%d $B$O(B",n);
if((d2!=0)&&(d3!=0)){
printf("2 $B$G$b(B 3 $B$G$b3d$l$J$$(B\n");
}else{
if(/* 2 $B$NG\?t$NH=Dj(B */){
printf("2 $B$NG\?t(B\n");
}else{
if(/* 3 $B$NG\?t$NH=Dj(B */){
printf("3 $B$NG\?t(B\n");
}else{if(/* 6 $B$NG\?t$NH=Dj(B){
printf("6 $B$NG\?t(B\n");
}else{
/*$B$=$NB>(B*/
}
}
}
}
}
8-4. $B=IBj(B
$B:dK\D>;V(B <[email protected]>
$BEl5~EE5!Bg3X9)3XIt>pJsDL?.9)3X2J(B