888

「888」の編集履歴(バックアップ)一覧はこちら

888」(2007/11/20 (火) 21:23:37) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

\documentclass[a4j,titlepage]{jarticle} \usepackage{graphicx} \title{技術文書作成No8 課題} \author{情報工学科\\07D8101032B\\石田拓弥} \date{} \begin{document} \maketitle \section{table 環境} \subsection{multicolumn コマンドを使わない場合} \begin{table}[htbp] \begin{center} \caption{tabular 環境の出力例1} \label{tab:ex1} \begin{tabular}{|l||l|c|r|} \hline & グー& チョキ& パー\\ \hline \hline グー& あいこ& グー& パー\\ \hline チョキ& グー& あいこ& チョキ\\ \hline パー& パー& チョキ& あいこ\\ \hline \end{tabular} \end{center} \end{table} \subsection{multicolumn コマンドを使う場合} \begin{table}[htbp] \begin{center} \caption{tabular 環境の出力例2} \label{tab:ex2} \begin{tabular}{|c|l||l|c|r|} \hline \multicolumn{2}{|c||}{} & \multicolumn{3}{c|}{A さん} \\ \cline{3-5} \multicolumn{2}{|c||}{} & グー& チョキ& パー\\ \hline \hline B & グー& あいこ& B & A \\ \cline{2-5} さ& チョキ& A & あいこ& B \\ \cline{2-5} ん& パー& B & A & あいこ\\ \hline \end{tabular} \end{center} \end{table} \clearpage   \section{minipage 環境} \subsection{minipage 環境の使い方} \noindent \begin{minipage}{3.5cm} minipage 環境では, 標準ではこのように ボックスの高さの中央 \end{minipage} がセンターラインに一致します. オプション引数をつけると\\ \begin{minipage}[t]{3.5cm} ボックスの最初の行のベースラインが一致する \end{minipage} 様になったり, \begin{minipage}[b]{3.5cm} ボックスの最後の行のベースラインが一致する \end{minipage} 様にすることができます \subsection{minipage 環境の応用} \begin{figure}[htbp] \begin{minipage}[t]{8cm} \begin{center} \includegraphics[scale=1.0]{and.eps} \end{center} \caption{AND の境界線} \label{fig:ex3} \end{minipage} \begin{minipage}[t]{8cm} \begin{center} \includegraphics[scale=1.0]{or.eps} \end{center} \caption{OR の境界線} \label{fig:ex4} \end{minipage} \end{figure} \clearpage   \section{verb コマンド} \noindent \verb-# $ % & _ { } < > \ ^ | ~ - \\ \verb*-# $ % & _ { } < > \ ^ | ~ - \section{verbatim 環境} \begin{verbatim} #include <stdio.h> #include <math.h> #include <stdlib.h>   void func_a( double *xx , double *yy , double *cc );   main( int argc , char *argv[] ) { int i , j , k , sw, iteral; :: \end{verbatim}   \begin{verbatim*} #include <stdio.h> #include <math.h> #include <stdlib.h>   void func_a( double *xx , double *yy , double *cc );   main( int argc , char *argv[] ) { int i , j , k , sw, iteral; :: \end{verbatim*} \newpage \begin{table}[htbp] \begin{minipage}[t]{9cm} \begin{center} \caption{tabular 後楽園から高幡不動までの経路と所要時間} \begin{tabular}{|l|c|r|} \hline 区間&交通手段&所要時間\\ \hline \hline 後楽園〜池袋&東京メトロ丸の内線&8分\\ \cline{1-3} 池袋〜新宿&JR山手線&8分\\ \cline{1-3} 新宿〜高幡不動&京王線&27分\\ \hline \multicolumn{2}{|c|}{合計所要時間} &43分\\ \cline{1-3} \end{tabular} \end{center} \end{minipage} \begin{minipage}[t]{9cm} \begin{center} \caption{tabular 水道橋から台場までの経路所要時間} \begin{tabular}{|l|c|r|} \hline 区間&交通手段&所要時間\\ \hline \hline 水道橋〜秋葉原&JR総武線&4分\\ \cline{1-3} 秋葉原〜新橋&JR山手線&7分\\ \cline{1-3} 新橋〜台場&ゆりかもめ&15分\\ \hline \multicolumn{2}{|c|}{合計所要時間} &26分\\ \cline{1-3} \end{tabular} \end{center} \end{minipage} \end{table} \newpage \begin{verbatim} \documentclass[a4j,titlepage]{jarticle} \usepackage{graphicx} \title{技術文書作成No8 課題} \author{情報工学科\\07D8101032B\\石田拓弥} \date{} \begin{document} \maketitle \section{table 環境} \subsection{multicolumn コマンドを使わない場合} \begin{table}[htbp] \begin{center} \caption{tabular 環境の出力例1} \label{tab:ex1} \begin{tabular}{|l||l|c|r|} \hline & グー& チョキ& パー\\ \hline \hline グー& あいこ& グー& パー\\ \hline チョキ& グー& あいこ& チョキ\\ \hline パー& パー& チョキ& あいこ\\ \hline \end{tabular} \end{center} \end{table} \subsection{multicolumn コマンドを使う場合} \begin{table}[htbp] \begin{center} \caption{tabular 環境の出力例2} \label{tab:ex2} \begin{tabular}{|c|l||l|c|r|} \hline \multicolumn{2}{|c||}{} & \multicolumn{3}{c|}{A さん} \\ \cline{3-5} \multicolumn{2}{|c||}{} & グー& チョキ& パー\\ \hline \hline B & グー& あいこ& B & A \\ \cline{2-5} さ& チョキ& A & あいこ& B \\ \cline{2-5} ん& パー& B & A & あいこ\\ \hline \end{tabular} \end{center} \end{table} \clearpage   \section{minipage 環境} \subsection{minipage 環境の使い方} \noindent \begin{minipage}{3.5cm} minipage 環境では, 標準ではこのように ボックスの高さの中央 \end{minipage} がセンターラインに一致します. オプション引数をつけると\\ \begin{minipage}[t]{3.5cm} ボックスの最初の行のベースラインが一致する \end{minipage} 様になったり, \begin{minipage}[b]{3.5cm} ボックスの最後の行のベースラインが一致する \end{minipage} 様にすることができます \subsection{minipage 環境の応用} \begin{figure}[htbp] \begin{minipage}[t]{8cm} \begin{center} \includegraphics[scale=1.0]{and.eps} \end{center} \caption{AND の境界線} \label{fig:ex3} \end{minipage} \begin{minipage}[t]{8cm} \begin{center} \includegraphics[scale=1.0]{or.eps} \end{center} \caption{OR の境界線} \label{fig:ex4} \end{minipage} \end{figure} \clearpage   \section{verb コマンド} \noindent \verb-# $ % & _ { } < > \ ^ | ~ - \\ \verb*-# $ % & _ { } < > \ ^ | ~ - \section{verbatim 環境} \end{verbatim} \begin{verbatim} #include <stdio.h> #include <math.h> #include <stdlib.h>   void func_a( double *xx , double *yy , double *cc );   main( int argc , char *argv[] ) { int i , j , k , sw, iteral; :: \end{verbatim} \begin{verbatim}  \begin{verbatim*} #include <stdio.h> #include <math.h> #include <stdlib.h>   void func_a( double *xx , double *yy , double *cc );   main( int argc , char *argv[] ) { int i , j , k , sw, iteral; :: \end{verbatim*} \newpage \begin{table}[htbp] \begin{minipage}[t]{9cm} \begin{center} \caption{tabular 後楽園から高幡不動までの経路と所要時間} \begin{tabular}{|l|c|r|} \hline 区間&交通手段&所要時間\\ \hline \hline 後楽園〜池袋&東京メトロ丸の内線&8分\\ \cline{1-3} 池袋〜新宿&JR山手線&8分\\ \cline{1-3} 新宿〜高幡不動&京王線&27分\\ \hline \multicolumn{2}{|c|}{合計所要時間} &43分\\ \cline{1-3} \end{tabular} \end{center} \end{minipage} \begin{minipage}[t]{9cm} \begin{center} \caption{tabular 水道橋から台場までの経路所要時間} \begin{tabular}{|l|c|r|} \hline 区間&交通手段&所要時間\\ \hline \hline 水道橋〜秋葉原&JR総武線&4分\\ \cline{1-3} 秋葉原〜新橋&JR山手線&7分\\ \cline{1-3} 新橋〜台場&ゆりかもめ&15分\\ \hline \multicolumn{2}{|c|}{合計所要時間} &26分\\ \cline{1-3} \end{tabular} \end{center} \end{minipage} \end{table} \newpage \end{verbatim} \end{document}

表示オプション

横に並べて表示:
変化行の前後のみ表示: