dev/tex/tables/tables2.tex

149 lines
7.7 KiB
TeX
Raw Normal View History

2011-05-27 10:19:37 +04:00
%% LyX 1.6.8 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,a4paper,russian]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{array}
\usepackage{longtable}
\usepackage{textcomp}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\special{papersize=\the\paperwidth,\the\paperheight}
\DeclareRobustCommand{\cyrtext}{%
\fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
\AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{array}\usepackage{longtable}\usepackage{rotating}\usepackage{float}%~ \usepackage{setspace,supertabular}
\title{Temporary Report =)}
\author{Kolan Sh.}
\date{\today}
%~ \setlongtables % obsolete
\setlength{\LTleft}{\parindent}
\setlength{\LTright}{\fill}
\setcounter{LTchunksize}{4}
\makeatother
\usepackage{babel}
\begin{document}
Кое-кто из комментаторов распалялся по поводу того, что, дескать,
{}``всё уже давно написано, читайте книжки''. Я ещё раз уточню свою
позицию по этому поводу: время тыкания людей в пудовые талмуды и дурно
написанные маны прошло. Документация, как и программы, должны быть
повёрнуты к пользователю лицом, а не задницей. Специализированные
методические пособия типа этого помогут людям начать разбираться с
предметом, подталкивая к изучению книг и делая кривую обучения более
пологой. Но это лирика и я не буду на ней задерживаться.
\begin{center}
\begin{longtable}{|p{0.1\linewidth}|p{0.1\linewidth}|p{0.1\linewidth}|p{0.1\linewidth}|p{0.1\linewidth}|p{0.1\linewidth}|p{0.1\linewidth}|p{0.1\linewidth}|}
\caption[SuperPuperMyTable]{Заголовок таблицы =)}
\label{label_grid1} \tabularnewline
\caption[SuperPuperMyTable]{Заголовок таблицы =)}
\label{label_grid1} \tabularnewline
\hline
\multicolumn{1}{|p{0.1\linewidth}|}{\textbf{Канал(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Полином(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Минимум / Максимум(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Замер №34(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Замер №42(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Замер №65(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Единицы измерения(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Приведённые единицы измерения(1)}}\tabularnewline
\multicolumn{1}{|p{0.1\linewidth}|}{\textbf{Время(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{15:54:32.65(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{НЕ ОПР.(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{2011.05.26 15:54:32.65(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Поле3(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Поле3(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Поле3(1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Поле4(1)}}\tabularnewline
\endfirsthead
\hline
% подпись и заголовки при переносе
\multicolumn{8}{c}{{\bfseries \tablename\ \thetable{} -- продолжение}} & & & & & & & \tabularnewline
\hline
\multicolumn{1}{|p{0.1\linewidth}|}{\textbf{Канал(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Полином(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Минимум / Максимум(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Замер №34(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Замер №42(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Замер №65(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Единицы измерения(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Приведённые единицы измерения(!1)}}\tabularnewline
\multicolumn{1}{|p{0.1\linewidth}|}{\textbf{Время(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{15:54:32.65(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{НЕ ОПР.(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{2011.05.26 15:54:32.65(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Поле3(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Поле3(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Поле3(!1)}} & \multicolumn{1}{p{0.1\linewidth}|}{\textbf{Поле4(!1)}}\tabularnewline
\hline
\endhead
\hline
\multicolumn{8}{|r|}{{Продолжение на следующей странице}}\tabularnewline
\hline
\endfoot
\hline
t{*}вх & 2.5500000E-5;2.5500000E-5;2.5500000E-5; & 18.00 / 19.00 & 21.32 & 19.11 & 18.33 & Град.$\,^{\circ}\mbox{C}$ & Град.$\,^{\circ}\mbox{C}$ \tabularnewline
t{*}вх & 2.5500000E-5;2.5500000E-5;2.5500000E-5; & 18.00 / 19.00 & 21.32 & 19.11 & 18.33 & Град.$\,^{\circ}\mbox{C}$ & Град.$\,^{\circ}\mbox{C}$ \tabularnewline
t{*}вх & 2.5500000E-5;2.5500000E-5;2.5500000E-5; & 18.00 / 19.00 & 21.32 & 19.11 & 18.33 & Град.$\,^{\circ}\mbox{C}$ & Град.$\,^{\circ}\mbox{C}$ \tabularnewline
t{*}вх & 2.5500000E-5;2.5500000E-5;2.5500000E-5; & 18.00 / 19.00 & 21.32 & 19.11 & 18.33 & Град.$\,^{\circ}\mbox{C}$ & Град.$\,^{\circ}\mbox{C}$ \tabularnewline
t{*}вх & 2.5500000E-5;2.5500000E-5;2.5500000E-5; & 18.00 / 19.00 & 21.32 & 19.11 & 18.33 & Град.$\,^{\circ}\mbox{C}$ & Град.$\,^{\circ}\mbox{C}$ \tabularnewline
t{*}вх & 2.5500000E-5;2.5500000E-5;2.5500000E-5; & 18.00 / 19.00 & 21.32 & 19.11 & 18.33 & Град.$\,^{\circ}\mbox{C}$ & Град.$\,^{\circ}\mbox{C}$ \tabularnewline
t{*}вх & 2.5500000E-5;2.5500000E-5;2.5500000E-5; & 18.00 / 19.00 & 21.32 & 19.11 & 18.33 & Град.$\,^{\circ}\mbox{C}$ & Град.$\,^{\circ}\mbox{C}$ \tabularnewline
\end{longtable}
\par\end{center}
\begin{tabular}{|p{0.1\linewidth}|p{0.1\linewidth}|p{0.1\linewidth}||}
\hline
longlong text & longl-ongtext & longlon-glongtext \tabularnewline
\hline
lsajf;slkfa-slk;jflsdjf;ls & lskdjf;lsd-jf;ldskjf & sldkf-j;lsdjfsds \tabularnewline
\hline
\end{tabular}
\begin{longtable}{@{*}r||p{1in}@{*}}
\caption[]{(continued)}
\tabularnewline
KILLED & LINE!!!! \kill \caption[An optional table caption ...]{A long table\label{long}}
\tabularnewline
\hline
\hline
\multicolumn{2}{@{*}c@{*}}{}\tabularnewline
\textsc{First} & \textsc{Second}\tabularnewline
\hline
\endfirsthead
\caption[]{(continued)}
\tabularnewline
\hline
\multicolumn{2}{@{*}c@{*}}{}\tabularnewline
\textbf{First} & \textbf{Second}\tabularnewline
\hline
\endhead
\hline
This goes at the & bottom.\tabularnewline
\hline
\endfoot
\hline
These lines will & appear\tabularnewline
in place of the & usual foot\tabularnewline
at the end & of the table\tabularnewline
\endlastfoot
\hline
%~ \env{longtable} columns are specified& in the \\
%~ same way as in the \env{tabular}& environment.\\
%~ ...
\multicolumn{2}{||c||}{This is a ...} & \tabularnewline
%~ ...
Some lines may take... & \raggedleft This last column is a p column... \tabularnewline
%~ ...
Lots of lines & like this.\tabularnewline
\hline
%~ ...
Lots%
\footnote{...%
} of lines & like this.\tabularnewline
Lots of lines & like this%
\footnote{...%
}\tabularnewline
\hline
Lots of lines & like this.\tabularnewline
%~ ...
& \tabularnewline
\end{longtable}
\end{document}