加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

LaTeX技巧125:常用表格的输入代码示例

(2009-12-06 15:48:45)
标签:

latex

代码

示例

常见表格

table

分类: 表格制作

QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载

\begin{table}
  \begin{center}
    \begin{tabular}{||c|c|c||} \hline
      \emph{ACCESS MODE} & \multicolumn{2}{c||}{\emph{MEDIUM}} \\ \cline{2-3}
      & \emph{Disk} & \emph{Tape} \\ \hline
      \emph{Sequential} & -- & BLOCKSIZE \\
      & & FILENUMBER \\ \hline
      \emph{Direct} & NRECORDS & -- \\
      & KEYFIELD & \\ \hline
    \end{tabular}
    \caption{Parameters required for access mode and medium}
  \end{center}
\end{table}

LaTeX技巧125:常用表格的输入代码示例

\begin{table}
  \begin{center}
    \begin{tabular}{||l|l|l||}
      \hline
      Primitive data type & VAX FORTRAN type  & HDS type \\
      \hline
      Integer   & \texttt{ INTEGER}   & \texttt{ `\_INTEGER'} \\
      Single floating point & \texttt{ REAL}   & \texttt{ `\_REAL'} \\
      Double floating point & \texttt{ DOUBLE PRECISION} & \texttt{ `\_DOUBLE'} \\
      Logical   & \texttt{ LOGICAL}   & \texttt{ `\_LOGICAL'} \\
      Character  & \texttt{ CHARACTER[*n]}  & \texttt{ `\_CHAR[*n]'} \\
      \hline
    \end{tabular}
    \caption{Standard Primitive Data Types}
  \end{center}
\end{table}

LaTeX技巧125:常用表格的输入代码示例

\begin{table}
  \begin{center}
    \begin{tabular}{|ll|ll|} \hline
      \multicolumn{2}{|c|}{\textbf{R.A.}}&\multicolumn{2}{c|}{\textbf{DEC.}} \\
      Accuracy used &Window size&Accuracy used &Window size\\ \hline
      Hours only&$\pm$30 mins&Degrees Only&$\pm$4 Degs\\
      Hours \& minutes&$\pm$10 mins&Degrees \& minutes &$\pm$25 mins\\
      Hours, mins \& secs&$\pm$30 Secs&Degrees, mins \& secs&$\pm$1 min\\ \hline
    \end{tabular}
  \end{center}
\end{table}

LaTeX技巧125:常用表格的输入代码示例

\begin{center}
  \begin{tabular}{c|p{33em}}
    \textbf{$<$fac$>$} & \textbf{Facility provides\ldots } \\
    \hline
    \\
    VAL & Arithmetic, mathematical functions and type conversion on single
    (scalar) \emph{values}.
    Handling of numerical errors and \emph{bad value} propagation are
    incorporated.\\
    \\
    VEC & Arithmetic, mathematical functions and type conversion on {\em
    vectorised arrays}, allowing more efficient processing of large numbers of
    data.
    Handling of numerical errors and \emph{bad value} propagation are
    incorporated.\\
    \\
  \end{tabular}
\end{center}

LaTeX技巧125:常用表格的输入代码示例

\begin{tabular}{|r|l|rrr|r@{:}l|r@{:}l||c|}
\hline
\multicolumn{10}{|c|}
{\bfseries 1st Regional Scoccer League---Final Results 1995/1995} \\ \hline
&\itshape Club &\itshape W &\itshape T &\itshape L
&\multicolumn{2}{c|}{\itshape Goal}
&\multicolumn{2}{c||}{\itshape points}
&{\itshape Remarks} \\ \hline\hline
1 & Amesville Rockets & 19 & 13& 1 &66&31 &51&15& League Champs\\ \hline
2 & Borden Comets & 18 & 9 & 6 &65&37 &45&21& Trophy Winners\\ \hline
3 & Clarkson Chargers & 17 & 7 & 9 &70&44 &41&25& Condidates \\ \cline{1-9}
4 & Daysdon Bombers & 14 & 10& 9 &66&50 &38&28& for \\ \cline{1-9}
5 & Edbartown Devils & 16 & 6 & 11&63&53 &38&28& National\\ \cline{1-9}
6 & Freeburg Fighters & 15 & 7 & 11&64&47 &37&29& League\\ \hline
7 & Gadsby Tigers & 15 & 7 & 11&52&37 &37&29& \\ \cline{1-9}
8 & Harrisville Hotshots & 12 & 11& 10&62&58 &35&31& \\ \cline{1-9}
9 & Idleton Shoves & 13 & 9 & 11&49&51 &35&31& \\\cline{1-9}
10& Jamestown Hornets & 11 & 11& 11&48&47 &33&33&\\ \cline{1-9}
11& Kingstom Sowboys & 13 & 6 & 14&54&45 &32&34 & Medium Teams\\ \cline{1-9}
12& Lonsdale Stompers & 12 & 8 & 13&50&42 &32&34&\\ \cline{1-9}
13& Marsdon Heros & 9 & 13& 11&50&42 &31&35&\\ \cline{1-9}
14& Norburg flames & 10 & 8 & 15&50&68 &28&38&\\ \hline
15& Ollison champions & 6 & 8 & 19&31&77 &20&46& \\ \hline
16& Petersville Lancers & 7 & 5 & 21&40&89 &19&47& Disbanding\\ \hline
17& Quincy Giants & 7 & 5 & 21&40&89 &19&47&\\
18& Arlson Regulars & 3 & 11& 19& 37&74 &17&49&\raisebox{2.3ex}[0pt]{Demoted}
\\ \hline
\end{tabular}

LaTeX技巧125:常用表格的输入代码示例

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有