SlideShare a Scribd company logo
Indian TEX Users Group

URL: http://www.river-valley.com/tug
Longtable
Another example

7

Exercise

Title Page

A
On-line Tutorial on LTEX
The Tutorial Team
Indian TEX Users Group, SJP Buildings, Cotton Hills
Trivandrum 695014, INDIA

Page 1 of 10

2000
Prof. (Dr.) K. S. S. Nambooripad, Director, Center for Mathematical Sciences, Trivandrum, (Editor); Dr. E. Krishnan,
Reader in Mathematics, University College, Trivandrum; Mohit Agarwal, Department of Aerospace Engineering,
Indian Institute of Science, Bangalore; T. Rishi, Focal Image (India) Pvt. Ltd., Trivandrum; L. A. Ajith, Focal Image
(India) Pvt. Ltd., Trivandrum; A. M. Shan, Focal Image (India) Pvt. Ltd., Trivandrum; C. V. Radhakrishnan, River
Valley Technologies, Software Technology Park, Trivandrum constitute the Tutorial team
A
A
This document is generated from LTEX sources compiled with pdfLTEX v. 14e in an
INTEL Pentium III 700 MHz system running Linux kernel version 2.2.14-12. The
packages used are hyperref.sty and pdfscreen.sty

c 2000, Indian TEX Users Group. This document may be distributed under the terms of the
A
A
LTEX Project Public License, as described in lppl.txt in the base LTEX distribution, either
version 1.0 or, at your option, any later version

Go Back

Full Screen

Close

Quit
7 Tables Continued
Longtable
Another example
Exercise

7.1.

Longtable
Title Page

The tabular and tabularx environments explained in the previous chapter provide a convenient way of making tables. These environments, however, fail if a table exceeds one page.
One easy trick that might do the job would be to break the tables manually but the longtable
package enables automatic page breaks by the TEX compiler.

7.1.1.

Constructing longtables
The longtable environment shares most of the features with the tabular environment. We
begin with the following example that uses most of the features of the longtable environment.

Go Back

Table 7.1: A long table
This part appears at the top of the table
FIRST1

This table is only slightly different from the
This goes at the
1

SECOND

one in the
bottom.

Page 2 of 10

*
*
*

Full Screen

THIRD

1
0.00

You can also have a footnote in the table head by using footnotemark and footnotetext.

Close

Quit
Table 7.1: (continued)
This part appears at the top of every other page
First
Second
*
guide to the longtable
package.
*
Columns 1 & 2 here have fixed widths.
*
2.5in
1in
*
longtable columns are specified
in the
*
same way as in the tabular
environment.
*
|p{2.5in}||p{1in}@{*}c|
in this case.
*
Each line ends with a
 command.
*
The  command has an
optional
*
argument, just as
in the
*
tabular
environment.
*
See the effect of [10pt] below:
*

Third
2
3
5
6
7
8
9
10
11
12

The tabularnewline command is an alternative to  for use in the scope of
raggedleft and similar commands that redefine .
Notice tabularnewline[10pt] below:

*

14

Some lines can be really long: This column
is a “p” column so that this row of the table
can take up several lines. But TEX will never
break a page within such a row.
* has the same effect as 
disallows a page break after

This is also a “p”*
column.

Another example
Exercise

Title Page

13

*

Longtable

This is not.

but it
the row.
command in

*
*
*

16
17
18

bottom.

*

Page 3 of 10

Go Back

Full Screen

0.00

Close

setlongtables is an obsolete

This goes at the

Quit
Table 7.1: (continued)
This part appears at the top of every other page
First
Second
*
v4.09 of longtable and does
nothing.
*
Center aligned text
*
These lines will
appear
*
in place of the
usual foot
*
at the end
of the table.
*

Third
19
20
1.00
2.00
3.00

Longtable
Another example
Exercise

Title Page

7.1.2.

Optional arguments
The optional arguments to begin{longtable} are:
c
l

The table is set center aligned.
The table is set flush left.

r

The table is set flush right.
If no arguments are specified, the position of the table is set according to the values of
LTleft and LTright.

Page 4 of 10

Go Back

7.1.3.

Commands and parameters
Full Screen

This section contains a brief description of the commands and other parameters that may be
used in the longtable environment.
Close

LTchunksize

This corresponds to the number of rows that TEX has to keep in memory at
one time. By default this value is set to 20, but it can be set by the user; for

Quit
LTleft

LTright

instance, by setcounter{LTchunksize}{10} or LTchunksize=10 to
a value of 10. Changing the default does not affect page breaking. However,
TEX will run faster with a large LTchunksize, and, on the other hand, will
require more memory. The minimum value of LTchunksize can be set equal
to 1; however, it must be at least as large as the number of rows in each of the
head or foot sections (if the table head and foot need to be set).
The defaults in the longtable package are such that the tables are set flush
left, but are indented by the usual paragraph indentation. LTleft controls the amount of glue to the left of the table. By default this is set to
parindent, but can be changed according to the requirements; for instance,
by setlength LTleft{0pt}.
This parameter determines the glue to the right of the table. The default for
this is fill.

LTpre
LTpost

This controls the width of the parbox containing the caption. The default
width is set to 4in, but changed be changed, for instance, to a value of 2in
by using setlengthLTcapwidth{2in}.
At the start of the table, one may specify the lines that are to appear at the top
of every page. This command is used in place of the last .
If the head on the first page needs to be different than on the others, then one
may specify the lines to appear in a normal way followed by endfirsthead
(in place of the last ).
Specifies rows to appear at the bottom of every page.

Another example
Exercise

Title Page

Denotes the glue before the table. The default is set to bigskipamount.
Denotes the glue after the table. The default is again bigskipamount.

LTcapwidth

Longtable

endhead
endfirsthead

endfoot
endfirstfoot



Specifies rows to appear at the bottom of the last page. The commands endfirsthead
and endlastfoot are useful when one wants to specify something that
should logically appear in the table at the end of the firsthead, of at the
beginning of the lastfoot.

Page 5 of 10

Go Back

Full Screen

Close

This is similar to the tabular environment and specifies the end of the row.
Quit
[ dim ]

This is also similar as in the tabular environment and marks the end of the
row, and then adds vertical space (as shown in Table (7.1)).
*
It is the same as , but disallows a page break after the row.
tabularnewlineIt is an alternative to  for use in the scope of raggedright and similar
commands that redefine . It can also be used with an optional argument,
tabularnewline[ dim ], so as to specify the end of the row, and then add
a vertical space.
kill
If a line is killed, by using kill rather than  at the end of the line, it is
used in calculating column widths, but removed from the final table.
pagebreak
Forces a page break.
pagebreak[ val ]
A ‘hint’ between 0 and 4 of the desirability of a page break. A high value
indicates more desirability.
nopagebreak Prohibits a page break.
nopagebreak[ val ]
A ‘hint’ between 0 and 4 of the undesirability of a page break.
newpage
Forces a page break.
caption{ caption }
Caption ‘Table ?: caption ’, and a ‘ caption ’ entry in the list of tables.
caption[ lot ]{ caption }
Caption ‘Table ?: caption ’, and a ‘ lot ’ entry in the list of tables.
caption[]{ caption }
Caption ‘Table ?: caption ’, but no entry in the list of tables.
caption*{ caption }
Caption ‘ caption ’, but no entry in the list of tables.
footnote
Used for having footnotes, but it cannot be used in the table head and foot.
footnotemark Footnotemark, can be used only in the table head and foot.
footnotetext Footnote text: for use in the table body after a footnotemark has been set
(should appear on the page on which the footnote is desired).

Longtable
Another example
Exercise

Title Page

Page 6 of 10

Go Back

Full Screen

Close

Quit
setlongtables
multicolumn

setlongtables is an obsolete command in v4.09 of longtable and does
nothing.
The multicolumn command works in the same way as in the tabular
environment. Please refer to Chapter 6 for details about this.

Longtable

7.2.

Another example

Another example

Exercise

We will show another simple example using the longtable environment.
Title Page

Table 7.2: A simple example

p column
Lots of line like
Lots of line like
Lots of line like
Lots of line like
Lots of line like
Lots of line like
Lots of line like
Lots of line like
Lots of line like
Lots of line like
Lots of line like
Lots of line like

Another long table example
First two columns
p-type
another one
this
this
this
this
this
this
this
this
this
this
this
this
Continued . . .

Third column
1
2
2
2
2
2
2
2
2
2
2
2
2

Page 7 of 10

Go Back

Full Screen

Close

Quit
Table 7.2: (continued)
Another long table example (continued)
First two columns
Third column
Lots of line like this
2
Lots of line like this
2
Lots of line like this
2
Lots of line like this
2
Lots of line like this
2
Lots of line like this
2
Lots of line like this
2
Lots of line like this
2
Lots of line like this
2
The End

Longtable
Another example
Exercise

Title Page

Page 8 of 10

Go Back

Full Screen

Close

Quit
7.2.1.

Verbatim highlights from Table (7.2):
begin{longtable}{|p{0.9in}|p{2in}|c|}
xxxxx & xxxxx & xxxxxxxxxxxxx kill
caption{A simple examplelabel{simple}} hlinehline
multicolumn{3}{|c|}{bf Another long table example} hlinehline
multicolumn{2}{|c|}{First two columns} & {Third column} hline
multicolumn{2}{|c|}{p-type} &  hlinehline
endfirsthead
caption[]{(continued)} hlinehline
multicolumn{3}{|c|}{bf Another long table example (continued)}
hlinehline
multicolumn{2}{|c|}{First two columns} & {Third column}
hline
endhead
hline
multicolumn{3}{|c|}{bf Continued $ldots$}
hline
endfoot
hline
multicolumn{3}{|c|}{bf The End}
hline
endlastfoot
p column & another one & 1 
hline
Lots of line like & this & 2 

Longtable
Another example
Exercise

Title Page

Page 9 of 10

Go Back

Full Screen

...
end{longtable}

Close

Quit
7.3.

Exercise
Try making Table (7.1); it seems to be quite strange, but it contains most of the features one
would need in order to get thoroughly acquainted with the longtable environment. It should
be quite easy if one actually reads the table itself. Look at the spaces carefully.

Longtable
Another example
Exercise

Title Page

Page 10 of 10

Go Back

Full Screen

Close

Quit

More Related Content

PDF
Ltxcrib
PDF
Migration
PDF
Chap17 scr
PDF
Better Layouts with Flexbox + CSS Grids
PPTX
PLSQL Practices
PDF
La tex basics
PPTX
Computational Assignment Help
PDF
Advanced latex
Ltxcrib
Migration
Chap17 scr
Better Layouts with Flexbox + CSS Grids
PLSQL Practices
La tex basics
Computational Assignment Help
Advanced latex

Viewers also liked (19)

PDF
IMF Overview
ODP
Storefront Social Media Step 1
PDF
Chap03 scr
PDF
Daniel Fleming
DOCX
Audience feedback
PPTX
Sz cell
PPTX
Flat plans
PDF
عصر العقل
PPTX
ODIS in het PID-traject
PDF
Tekerlekli Sandalyede Yaşama Kılavuzu
PPTX
PHP Günleri 2013 Emlak Jet Sunumu
PPS
Mult1
PDF
Discover India With Tailor Made Tours | Easy India Trip | Increadible India H...
PPTX
Comic reciclaje de tic
PDF
The religion teacher by sabry shaheen - summary
PPTX
Working to a brief pro forma
PDF
PDF
quy_trinh_ky_thuat_cay_cao_su
PDF
Main principles of Fiscal policy in Latvia
IMF Overview
Storefront Social Media Step 1
Chap03 scr
Daniel Fleming
Audience feedback
Sz cell
Flat plans
عصر العقل
ODIS in het PID-traject
Tekerlekli Sandalyede Yaşama Kılavuzu
PHP Günleri 2013 Emlak Jet Sunumu
Mult1
Discover India With Tailor Made Tours | Easy India Trip | Increadible India H...
Comic reciclaje de tic
The religion teacher by sabry shaheen - summary
Working to a brief pro forma
quy_trinh_ky_thuat_cay_cao_su
Main principles of Fiscal policy in Latvia
Ad

Similar to Chap07 scr (20)

PDF
Chap06 scr
PDF
Chap08 scr
PDF
Latex tables and figures
PDF
Chap13 scr
PPTX
Latex Tuitorial
PPTX
Rajeev ranjan
PDF
Chap12 scr
PDF
Chap09 scr
DOCX
Interview Preparation
PDF
Chap14 scr
PPT
Sql dml & tcl 2
PDF
Chap05 scr
PDF
Lecture_Notes_Unit4_Chapter_8_9_10_RDBMS for the students affiliated by alaga...
PDF
Latex Tutorial
PDF
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
PPT
Oracle naveen Sql
PPT
Oracle naveen Sql
PDF
Data Definition Language (DDL)
PPTX
Introduction to Command Line & Batch files
PDF
Chap04 scr
Chap06 scr
Chap08 scr
Latex tables and figures
Chap13 scr
Latex Tuitorial
Rajeev ranjan
Chap12 scr
Chap09 scr
Interview Preparation
Chap14 scr
Sql dml & tcl 2
Chap05 scr
Lecture_Notes_Unit4_Chapter_8_9_10_RDBMS for the students affiliated by alaga...
Latex Tutorial
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
Oracle naveen Sql
Oracle naveen Sql
Data Definition Language (DDL)
Introduction to Command Line & Batch files
Chap04 scr
Ad

More from Hirwanto Iwan (20)

PDF
Analisis Butir Soal PAS Matematika Wajib Kelas 12 IPA/IPS 2024-2025
PDF
01. integral fungsi aljabar
PDF
Analisis Butir Soal PG Matematika Wajib Kelas XII IPA-IPS NFBS Serang
PDF
Analisis Butir Soal Pilihan Ganda Matematika Wajib Kelas XII IPA
PDF
Materi Limit Aljabar dan Turunan Aljabar
PDF
Pembahasan Soal Matematika Wajib PTS Kelas XI IPS
PDF
Pembahasan Soal Matematika Wajib PTS Kelas XI IPA
PDF
Fitur Baru WinEdt 9.1
PDF
Pemasangan WinEdt 9.1
PDF
Kumpulan Soal UM UGM
PDF
Membuat Dokumen LaTeX Edisi ke - 33
PDF
LATEX OR INDESIGN
PDF
AGH Beamer
PDF
AFIT Beamer
PDF
Hackd Beamer
PDF
LUH Beamer
PDF
Cambridge Beamer
PDF
ESOP Beamer
PDF
AP Beamer
PDF
Naked Beamer
Analisis Butir Soal PAS Matematika Wajib Kelas 12 IPA/IPS 2024-2025
01. integral fungsi aljabar
Analisis Butir Soal PG Matematika Wajib Kelas XII IPA-IPS NFBS Serang
Analisis Butir Soal Pilihan Ganda Matematika Wajib Kelas XII IPA
Materi Limit Aljabar dan Turunan Aljabar
Pembahasan Soal Matematika Wajib PTS Kelas XI IPS
Pembahasan Soal Matematika Wajib PTS Kelas XI IPA
Fitur Baru WinEdt 9.1
Pemasangan WinEdt 9.1
Kumpulan Soal UM UGM
Membuat Dokumen LaTeX Edisi ke - 33
LATEX OR INDESIGN
AGH Beamer
AFIT Beamer
Hackd Beamer
LUH Beamer
Cambridge Beamer
ESOP Beamer
AP Beamer
Naked Beamer

Recently uploaded (20)

PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Cloud computing and distributed systems.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
cuic standard and advanced reporting.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
“AI and Expert System Decision Support & Business Intelligence Systems”
Mobile App Security Testing_ A Comprehensive Guide.pdf
Cloud computing and distributed systems.
Advanced methodologies resolving dimensionality complications for autism neur...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Network Security Unit 5.pdf for BCA BBA.
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Diabetes mellitus diagnosis method based random forest with bat algorithm
Review of recent advances in non-invasive hemoglobin estimation
Encapsulation_ Review paper, used for researhc scholars
NewMind AI Monthly Chronicles - July 2025
cuic standard and advanced reporting.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Chapter 3 Spatial Domain Image Processing.pdf
20250228 LYD VKU AI Blended-Learning.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

Chap07 scr

  • 1. Indian TEX Users Group URL: http://www.river-valley.com/tug Longtable Another example 7 Exercise Title Page A On-line Tutorial on LTEX The Tutorial Team Indian TEX Users Group, SJP Buildings, Cotton Hills Trivandrum 695014, INDIA Page 1 of 10 2000 Prof. (Dr.) K. S. S. Nambooripad, Director, Center for Mathematical Sciences, Trivandrum, (Editor); Dr. E. Krishnan, Reader in Mathematics, University College, Trivandrum; Mohit Agarwal, Department of Aerospace Engineering, Indian Institute of Science, Bangalore; T. Rishi, Focal Image (India) Pvt. Ltd., Trivandrum; L. A. Ajith, Focal Image (India) Pvt. Ltd., Trivandrum; A. M. Shan, Focal Image (India) Pvt. Ltd., Trivandrum; C. V. Radhakrishnan, River Valley Technologies, Software Technology Park, Trivandrum constitute the Tutorial team A A This document is generated from LTEX sources compiled with pdfLTEX v. 14e in an INTEL Pentium III 700 MHz system running Linux kernel version 2.2.14-12. The packages used are hyperref.sty and pdfscreen.sty c 2000, Indian TEX Users Group. This document may be distributed under the terms of the A A LTEX Project Public License, as described in lppl.txt in the base LTEX distribution, either version 1.0 or, at your option, any later version Go Back Full Screen Close Quit
  • 2. 7 Tables Continued Longtable Another example Exercise 7.1. Longtable Title Page The tabular and tabularx environments explained in the previous chapter provide a convenient way of making tables. These environments, however, fail if a table exceeds one page. One easy trick that might do the job would be to break the tables manually but the longtable package enables automatic page breaks by the TEX compiler. 7.1.1. Constructing longtables The longtable environment shares most of the features with the tabular environment. We begin with the following example that uses most of the features of the longtable environment. Go Back Table 7.1: A long table This part appears at the top of the table FIRST1 This table is only slightly different from the This goes at the 1 SECOND one in the bottom. Page 2 of 10 * * * Full Screen THIRD 1 0.00 You can also have a footnote in the table head by using footnotemark and footnotetext. Close Quit
  • 3. Table 7.1: (continued) This part appears at the top of every other page First Second * guide to the longtable package. * Columns 1 & 2 here have fixed widths. * 2.5in 1in * longtable columns are specified in the * same way as in the tabular environment. * |p{2.5in}||p{1in}@{*}c| in this case. * Each line ends with a command. * The command has an optional * argument, just as in the * tabular environment. * See the effect of [10pt] below: * Third 2 3 5 6 7 8 9 10 11 12 The tabularnewline command is an alternative to for use in the scope of raggedleft and similar commands that redefine . Notice tabularnewline[10pt] below: * 14 Some lines can be really long: This column is a “p” column so that this row of the table can take up several lines. But TEX will never break a page within such a row. * has the same effect as disallows a page break after This is also a “p”* column. Another example Exercise Title Page 13 * Longtable This is not. but it the row. command in * * * 16 17 18 bottom. * Page 3 of 10 Go Back Full Screen 0.00 Close setlongtables is an obsolete This goes at the Quit
  • 4. Table 7.1: (continued) This part appears at the top of every other page First Second * v4.09 of longtable and does nothing. * Center aligned text * These lines will appear * in place of the usual foot * at the end of the table. * Third 19 20 1.00 2.00 3.00 Longtable Another example Exercise Title Page 7.1.2. Optional arguments The optional arguments to begin{longtable} are: c l The table is set center aligned. The table is set flush left. r The table is set flush right. If no arguments are specified, the position of the table is set according to the values of LTleft and LTright. Page 4 of 10 Go Back 7.1.3. Commands and parameters Full Screen This section contains a brief description of the commands and other parameters that may be used in the longtable environment. Close LTchunksize This corresponds to the number of rows that TEX has to keep in memory at one time. By default this value is set to 20, but it can be set by the user; for Quit
  • 5. LTleft LTright instance, by setcounter{LTchunksize}{10} or LTchunksize=10 to a value of 10. Changing the default does not affect page breaking. However, TEX will run faster with a large LTchunksize, and, on the other hand, will require more memory. The minimum value of LTchunksize can be set equal to 1; however, it must be at least as large as the number of rows in each of the head or foot sections (if the table head and foot need to be set). The defaults in the longtable package are such that the tables are set flush left, but are indented by the usual paragraph indentation. LTleft controls the amount of glue to the left of the table. By default this is set to parindent, but can be changed according to the requirements; for instance, by setlength LTleft{0pt}. This parameter determines the glue to the right of the table. The default for this is fill. LTpre LTpost This controls the width of the parbox containing the caption. The default width is set to 4in, but changed be changed, for instance, to a value of 2in by using setlengthLTcapwidth{2in}. At the start of the table, one may specify the lines that are to appear at the top of every page. This command is used in place of the last . If the head on the first page needs to be different than on the others, then one may specify the lines to appear in a normal way followed by endfirsthead (in place of the last ). Specifies rows to appear at the bottom of every page. Another example Exercise Title Page Denotes the glue before the table. The default is set to bigskipamount. Denotes the glue after the table. The default is again bigskipamount. LTcapwidth Longtable endhead endfirsthead endfoot endfirstfoot Specifies rows to appear at the bottom of the last page. The commands endfirsthead and endlastfoot are useful when one wants to specify something that should logically appear in the table at the end of the firsthead, of at the beginning of the lastfoot. Page 5 of 10 Go Back Full Screen Close This is similar to the tabular environment and specifies the end of the row. Quit
  • 6. [ dim ] This is also similar as in the tabular environment and marks the end of the row, and then adds vertical space (as shown in Table (7.1)). * It is the same as , but disallows a page break after the row. tabularnewlineIt is an alternative to for use in the scope of raggedright and similar commands that redefine . It can also be used with an optional argument, tabularnewline[ dim ], so as to specify the end of the row, and then add a vertical space. kill If a line is killed, by using kill rather than at the end of the line, it is used in calculating column widths, but removed from the final table. pagebreak Forces a page break. pagebreak[ val ] A ‘hint’ between 0 and 4 of the desirability of a page break. A high value indicates more desirability. nopagebreak Prohibits a page break. nopagebreak[ val ] A ‘hint’ between 0 and 4 of the undesirability of a page break. newpage Forces a page break. caption{ caption } Caption ‘Table ?: caption ’, and a ‘ caption ’ entry in the list of tables. caption[ lot ]{ caption } Caption ‘Table ?: caption ’, and a ‘ lot ’ entry in the list of tables. caption[]{ caption } Caption ‘Table ?: caption ’, but no entry in the list of tables. caption*{ caption } Caption ‘ caption ’, but no entry in the list of tables. footnote Used for having footnotes, but it cannot be used in the table head and foot. footnotemark Footnotemark, can be used only in the table head and foot. footnotetext Footnote text: for use in the table body after a footnotemark has been set (should appear on the page on which the footnote is desired). Longtable Another example Exercise Title Page Page 6 of 10 Go Back Full Screen Close Quit
  • 7. setlongtables multicolumn setlongtables is an obsolete command in v4.09 of longtable and does nothing. The multicolumn command works in the same way as in the tabular environment. Please refer to Chapter 6 for details about this. Longtable 7.2. Another example Another example Exercise We will show another simple example using the longtable environment. Title Page Table 7.2: A simple example p column Lots of line like Lots of line like Lots of line like Lots of line like Lots of line like Lots of line like Lots of line like Lots of line like Lots of line like Lots of line like Lots of line like Lots of line like Another long table example First two columns p-type another one this this this this this this this this this this this this Continued . . . Third column 1 2 2 2 2 2 2 2 2 2 2 2 2 Page 7 of 10 Go Back Full Screen Close Quit
  • 8. Table 7.2: (continued) Another long table example (continued) First two columns Third column Lots of line like this 2 Lots of line like this 2 Lots of line like this 2 Lots of line like this 2 Lots of line like this 2 Lots of line like this 2 Lots of line like this 2 Lots of line like this 2 Lots of line like this 2 The End Longtable Another example Exercise Title Page Page 8 of 10 Go Back Full Screen Close Quit
  • 9. 7.2.1. Verbatim highlights from Table (7.2): begin{longtable}{|p{0.9in}|p{2in}|c|} xxxxx & xxxxx & xxxxxxxxxxxxx kill caption{A simple examplelabel{simple}} hlinehline multicolumn{3}{|c|}{bf Another long table example} hlinehline multicolumn{2}{|c|}{First two columns} & {Third column} hline multicolumn{2}{|c|}{p-type} & hlinehline endfirsthead caption[]{(continued)} hlinehline multicolumn{3}{|c|}{bf Another long table example (continued)} hlinehline multicolumn{2}{|c|}{First two columns} & {Third column} hline endhead hline multicolumn{3}{|c|}{bf Continued $ldots$} hline endfoot hline multicolumn{3}{|c|}{bf The End} hline endlastfoot p column & another one & 1 hline Lots of line like & this & 2 Longtable Another example Exercise Title Page Page 9 of 10 Go Back Full Screen ... end{longtable} Close Quit
  • 10. 7.3. Exercise Try making Table (7.1); it seems to be quite strange, but it contains most of the features one would need in order to get thoroughly acquainted with the longtable environment. It should be quite easy if one actually reads the table itself. Look at the spaces carefully. Longtable Another example Exercise Title Page Page 10 of 10 Go Back Full Screen Close Quit