SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
Indian TEX Users Group

URL: http://www.river-valley.com/tug

Table
Table style pa . . .
Example

6

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 8

2000
Prof. (Dr.) K. S. S. Nambooripad, Director, Center for Mathematical Sciences, Trivandrum, (Editor); Dr. E. Krishnan,
Reader in Mathematics, University College, Trivandrum; 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

Go Back

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

Full Screen

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

Close

Quit
6 Floats
Table
Table style pa . . .
Example

6.1.

Table

Exercise

With the box elements already explained in the previous chapter, it would be possible to
A
produce all sorts of framed and unframed tables. However, LTEX offers the user far more
convenient ways to build such complicated structures.

6.1.1.

Title Page

Constructing tables
The environments tabular and tabular* are the basic tools with which tables can be
constructed. The syntax for these environments is:
begin{tabular}[pos]{cols} rows end{tabular}
begin{tabular*}{width}[pos]{cols} rows end{tabular*}

Page 2 of 8

Go Back

Full Screen

Both the above environments actually create a minipage. The meaning of the above
arguments is as follows:
Close

pos

Vertical positioning arguments (see also the explanation of this argument for
parboxes). It can take on the values.

Quit
the top line of the table is aligned with the baseline of the current external
line of text
b the bottom line of the table is aligned with the external baseline
t

with no positioning argument given, the table is centered on the external baseline.
width This argument applies to only the tabular* environment and determines its overall
width. In this case, the cols argument must contain the @-expression (see below)
@{extracolsep{fill}} somewhere after the first entry. For the other two
environments, the total width is fixed by the textual content.
cols

The column formatting argument. There must be an entry for every column, as
well as possible extra entries for the left and right borders of the table or for the
inter-column spacings.
The possible column formatting symbols are:
l
c
r

Table
Table style pa . . .
Example
Exercise

Title Page

the column contents are left justified
the column contents are centered
the column contents are right justified

the text in this column is set into lines of width wd and the top line
is aligned with the other columns. In fact, the text is set in a parbox
with the command parbox[t]{wd}{column text}
*{num}{cols} the column format contained in cols is reproduced num times, so
that *{3}{|c}| is the same as |c|c|c|.

p{wd}

The available formatting symbols for right and left borders and for the inter-column
spacing are:
|

draws a vertical line
draws two vertical lines next to each other

@{text} this entry is referred to as an @-expression, and inserts text in every line
of the table between the two columns where it appears.

Page 3 of 8

Go Back

Full Screen

Close

Quit
@-expression removes the inter-column spacing that is automatically put between each

pair of columns. If white space is needed between the inserted text and the next column,
this must be explicitly included with hspace{ } within the text of the @-expression.
If the inter-column spacing between two particular columns is to be something other
than the standard, this may be easily achieved by placing @{hspace{wd}} between the
appropriate columns in the formatting argument. This replaces the standard inter-column
spacing with the width wd.

Table
Table style pa . . .

An extracolsep{ wd } within an @-expression will put extra spacing of amount wd
between all the following columns, until countermanded by another extracolsep
command. In contrast to the standard spacing, this additional spacing is not removed
by later @-expression. In the tabular* environment, there must be a command
@{extracolsepfill} somewhere in the column format so that all the subsequent
inter-column spacings can stretch out to fill the predefined table width.

Example
Exercise

Title Page

If the left or right borders of the table do not consist of a vertical line, spacing is added
there of an amount equal to half the normal inter-column spacing. If this spacing is not
required, it may be suppressed by including an empty @-expression @{} at the beginning
or end of the column format.
rows contain the actual entries in the table, each horizontal row being terminated with
. These rows consist of a sequence of column entries separated from each other
by the & symbol. Thus each row in the table contains the same number of column
entries as in the column definition cols. Some entries may be empty. The individual
A
column entries are treated by LTEX as though they were enclosed in braces { }, so
that any changes in type style or size are restricted to that one column.
hline This command may only appear before the first row or immediately after a row
termination . It draws a horizontal line the full width of the table below the row
that was just ended, or at the top of the table if it comes at the beginning. Two
hline commands together draw two horizontal lines with a little space between
them.

Page 4 of 8

Go Back

Full Screen

Close

Quit
cline{n − m}
This command draws a horizontal line from the left side of column n to the right
side of column m. Like hline, it may only be given just after a row termination
, and there may be more than one after another. The command cline{1-3}
cline{5-7} draws two horizontal lines from column 1 to 3 and from column 5
to 7, below the row that was just ended. In each case, the full column widths are
underlined.
vline This command draws a vertical line with the height of the row at the location
where it appears. In this way, vertical lines that do not extend the whole height of
the table may be inserted with a column.
multicolumn{num}{col}{text}
This command combines the following num columns into a single column with
their total width including inter-column spacing. The argument col contains exactly
one of the positioning symbols l, r, c, with possible @-expressions and vertical
lines |. A value of 1 may begiven for num when the positioning argument is to be
changed for that column in one particular row.
In this context, a ‘column’ starts with a positioning symbol l, r, or c and includes
everything upto but excluding the next one. The first column also includes
everything before the first positioning symbol. Thus c@{}rl| contains three
columns: the first is |c@{}, the second r, and the third r|.

Table
Table style pa . . .
Example
Exercise

Title Page

Page 5 of 8

Go Back

6.2.

Table style parameters
Full Screen
A
There are a number of style parameters used in generating tables which LTEX sets to
standard values. These may be altered by the user, either globally within the preamble
or locally inside an environment. They should not be changed within the tabular
environment.

Close

Quit
tabcolsep is half the width of the spacing that is inserted between columns in the
tabular and tabular* environments.
arrayrulewidth is the thickness of the vertical and horizontal lines within a table.
doublerulesep is the separation between the lines of a double rule.
arraystretch can be used to change the distance between the rows of a table.
This is a multiplying factor, with a standard value of 1. A value of 1.5 means that

the inter-row spacing is increased by 50%. A new value is set by redefining the
parameters with the command:

Table
Table style pa . . .
Example
Exercise

renewcommand{ arraystrech}{ factor }
Title Page

Following are the commands for changing the table style parameters that relate to
dimensions:
setlengthtabcolsep{ dimen }
setlengtharrayrulewidth{ dimen }
setlengthdoublerulesep{ dimen }
Page 6 of 8

Go Back

6.3.

Example
Full Screen

Creating tables is much easier in practice than it would seem from the above list of
formatting possibilities. This is best illustrated with an example.

Close

The simplest table consists of a row of columns in which the text entries are either
Quit
centered or justified to one side. The column widths, the spacing between the columns,
and thus the entire width of the table are automatically calculated.
Sample Tabular
col head

col head

col head

Left

centered

right

aligned
items
Left items

items
items
centered

aligned
items
right aligned

See the code that generated the table above.
begin{tabular}{|l|c|r|}
hline
multicolumn{3}{|c|}{Sample Tabular}
hline
col head
& col head & col head
hline Left
& centered & right
cline{1-2}
aligned
& items
& aligned cline{2-3}
items
& items
& items
cline{1-2}
Left items & centered & right aligned 
hline
end{tabular}

Table
Table style pa . . .
Example
Exercise

Title Page

Page 7 of 8

Go Back

Full Screen

The discussion on tables doesn’t conclude with this chapter, instead more bells and
whistles are to be discussed, that includes long tables (table that spans multiple pages),
how to repeat the column headings and special footlines in all multipaged tables, color
tables and also few other embellishments, which the scientific community at large might
require in their document preparation. So watch out for the next chapter.

Close

Quit
6.4.

Exercise
Here is an exercise you can try. If you encounter any problems, please get back to the list.
Table

Plan for TEX Users Group 2001–2003

Table style pa . . .
Example

Project
Year

Exercise

Name

No.
2001
Rs.

US$

2002
Rs.

2003

US$

Rs.

US$

Title Page

Internet costs
Journal costs
TEXLive production costs
Signature

Authorization
Page 8 of 8

Go Back

Full Screen

Close

Quit

Más contenido relacionado

La actualidad más candente

La actualidad más candente (19)

How to live easily with excel skills
How to live easily with excel skillsHow to live easily with excel skills
How to live easily with excel skills
 
Squirrel do more_with_less_code_light_cheatsheet
Squirrel do more_with_less_code_light_cheatsheetSquirrel do more_with_less_code_light_cheatsheet
Squirrel do more_with_less_code_light_cheatsheet
 
Squirrel do more_with_less_code_cheat_sheet_1
Squirrel do more_with_less_code_cheat_sheet_1Squirrel do more_with_less_code_cheat_sheet_1
Squirrel do more_with_less_code_cheat_sheet_1
 
Excel11
Excel11Excel11
Excel11
 
Advance database system(part 8)
Advance database system(part 8)Advance database system(part 8)
Advance database system(part 8)
 
stats
statsstats
stats
 
Ba accounting skills lecture 1
Ba accounting skills lecture 1Ba accounting skills lecture 1
Ba accounting skills lecture 1
 
GPP Spreadsheets
GPP SpreadsheetsGPP Spreadsheets
GPP Spreadsheets
 
Advanced Spreadsheet Skills - Empowerment Technologies
Advanced Spreadsheet Skills - Empowerment TechnologiesAdvanced Spreadsheet Skills - Empowerment Technologies
Advanced Spreadsheet Skills - Empowerment Technologies
 
Lesson
LessonLesson
Lesson
 
Mastering Excel Formulas and Functions
Mastering Excel Formulas and FunctionsMastering Excel Formulas and Functions
Mastering Excel Formulas and Functions
 
Excel spreadsheet
Excel spreadsheetExcel spreadsheet
Excel spreadsheet
 
Manual for Troubleshooting Formulas & Functions in Excel
Manual for Troubleshooting Formulas & Functions in ExcelManual for Troubleshooting Formulas & Functions in Excel
Manual for Troubleshooting Formulas & Functions in Excel
 
Excel.useful fns
Excel.useful fnsExcel.useful fns
Excel.useful fns
 
Spreadhsheets 1
Spreadhsheets 1Spreadhsheets 1
Spreadhsheets 1
 
Chapter.05
Chapter.05Chapter.05
Chapter.05
 
Relational model
Relational modelRelational model
Relational model
 
VLOOKUP HLOOKUP INDEX MATCH
VLOOKUP HLOOKUP INDEX MATCHVLOOKUP HLOOKUP INDEX MATCH
VLOOKUP HLOOKUP INDEX MATCH
 
Modulo 1 de diapo..
Modulo  1 de diapo..Modulo  1 de diapo..
Modulo 1 de diapo..
 

Destacado

Tuzoltok
TuzoltokTuzoltok
Tuzoltokkrizma
 
Discrete time prey predator model with generalized holling type interaction
Discrete time prey predator model with generalized holling type interactionDiscrete time prey predator model with generalized holling type interaction
Discrete time prey predator model with generalized holling type interactionZac Darcy
 
Kaligrafi and math font
Kaligrafi and math fontKaligrafi and math font
Kaligrafi and math fontHirwanto Iwan
 
Zidanci
ZidanciZidanci
Zidancikrizma
 
SISTEMA DE SALUD DE BRASIL
SISTEMA DE SALUD DE BRASIL SISTEMA DE SALUD DE BRASIL
SISTEMA DE SALUD DE BRASIL printzip
 
Holy Trinity_Infinite bounce 2
Holy Trinity_Infinite bounce 2Holy Trinity_Infinite bounce 2
Holy Trinity_Infinite bounce 2shillecce
 
Brazil- A Narrow Escape from Recession
Brazil- A Narrow Escape from RecessionBrazil- A Narrow Escape from Recession
Brazil- A Narrow Escape from RecessionDeena Zaidi
 
알짜뉴스6차
알짜뉴스6차알짜뉴스6차
알짜뉴스6차lhjw7
 
COSMOS: A CONTEXT SENSITIVE MODEL FOR DYNAMIC CONFIGURATION OF SMARTPHONES US...
COSMOS: A CONTEXT SENSITIVE MODEL FOR DYNAMIC CONFIGURATION OF SMARTPHONES US...COSMOS: A CONTEXT SENSITIVE MODEL FOR DYNAMIC CONFIGURATION OF SMARTPHONES US...
COSMOS: A CONTEXT SENSITIVE MODEL FOR DYNAMIC CONFIGURATION OF SMARTPHONES US...Zac Darcy
 
Mybility by posso
Mybility by possoMybility by posso
Mybility by possoFlora Frate
 
Control of new 3 d chaotic system
Control of new 3 d chaotic systemControl of new 3 d chaotic system
Control of new 3 d chaotic systemZac Darcy
 

Destacado (20)

Leading with Style-Understanding Your Members
Leading with Style-Understanding Your MembersLeading with Style-Understanding Your Members
Leading with Style-Understanding Your Members
 
Tuzoltok
TuzoltokTuzoltok
Tuzoltok
 
Xelatex
XelatexXelatex
Xelatex
 
Discrete time prey predator model with generalized holling type interaction
Discrete time prey predator model with generalized holling type interactionDiscrete time prey predator model with generalized holling type interaction
Discrete time prey predator model with generalized holling type interaction
 
Kaligrafi and math font
Kaligrafi and math fontKaligrafi and math font
Kaligrafi and math font
 
Zidanci
ZidanciZidanci
Zidanci
 
Supply and demand
Supply and demandSupply and demand
Supply and demand
 
Iwona
IwonaIwona
Iwona
 
SISTEMA DE SALUD DE BRASIL
SISTEMA DE SALUD DE BRASIL SISTEMA DE SALUD DE BRASIL
SISTEMA DE SALUD DE BRASIL
 
Weingarten Beamer
Weingarten BeamerWeingarten Beamer
Weingarten Beamer
 
Holy Trinity_Infinite bounce 2
Holy Trinity_Infinite bounce 2Holy Trinity_Infinite bounce 2
Holy Trinity_Infinite bounce 2
 
Brazil- A Narrow Escape from Recession
Brazil- A Narrow Escape from RecessionBrazil- A Narrow Escape from Recession
Brazil- A Narrow Escape from Recession
 
알짜뉴스6차
알짜뉴스6차알짜뉴스6차
알짜뉴스6차
 
COSMOS: A CONTEXT SENSITIVE MODEL FOR DYNAMIC CONFIGURATION OF SMARTPHONES US...
COSMOS: A CONTEXT SENSITIVE MODEL FOR DYNAMIC CONFIGURATION OF SMARTPHONES US...COSMOS: A CONTEXT SENSITIVE MODEL FOR DYNAMIC CONFIGURATION OF SMARTPHONES US...
COSMOS: A CONTEXT SENSITIVE MODEL FOR DYNAMIC CONFIGURATION OF SMARTPHONES US...
 
Tribute to Yogi Berra
Tribute to Yogi BerraTribute to Yogi Berra
Tribute to Yogi Berra
 
Charter bt
Charter btCharter bt
Charter bt
 
Charter bt
Charter btCharter bt
Charter bt
 
Mybility by posso
Mybility by possoMybility by posso
Mybility by posso
 
Control of new 3 d chaotic system
Control of new 3 d chaotic systemControl of new 3 d chaotic system
Control of new 3 d chaotic system
 
Dinero entre-el-amor-y-el-odio
Dinero entre-el-amor-y-el-odioDinero entre-el-amor-y-el-odio
Dinero entre-el-amor-y-el-odio
 

Similar a Chap06 scr

A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...Jim Webb
 
Introduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.pptIntroduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.pptdejene3
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdfNitish Nagar
 
SQL select statement and functions
SQL select statement and functionsSQL select statement and functions
SQL select statement and functionsVikas Gupta
 
Bt0075 rdbms with mysql 2
Bt0075 rdbms with mysql 2Bt0075 rdbms with mysql 2
Bt0075 rdbms with mysql 2Techglyphs
 
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSAL
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSALMIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSAL
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSALRishabh Bansal
 

Similar a Chap06 scr (20)

Chap07 scr
Chap07 scrChap07 scr
Chap07 scr
 
Chap05 scr
Chap05 scrChap05 scr
Chap05 scr
 
Chap08 scr
Chap08 scrChap08 scr
Chap08 scr
 
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
 
Introduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.pptIntroduction to micro soft Training ms Excel.ppt
Introduction to micro soft Training ms Excel.ppt
 
Advanced Excel ppt
Advanced Excel pptAdvanced Excel ppt
Advanced Excel ppt
 
Latex Tutorial
Latex TutorialLatex Tutorial
Latex Tutorial
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
 
Chap13 scr
Chap13 scrChap13 scr
Chap13 scr
 
Advance excel
Advance excelAdvance excel
Advance excel
 
Pandas csv
Pandas csvPandas csv
Pandas csv
 
SQL select statement and functions
SQL select statement and functionsSQL select statement and functions
SQL select statement and functions
 
SQL
SQLSQL
SQL
 
Sql join
Sql  joinSql  join
Sql join
 
Bt0075 rdbms with mysql 2
Bt0075 rdbms with mysql 2Bt0075 rdbms with mysql 2
Bt0075 rdbms with mysql 2
 
SQL report
SQL reportSQL report
SQL report
 
Chapter9 more on database and sql
Chapter9 more on database and sqlChapter9 more on database and sql
Chapter9 more on database and sql
 
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSAL
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSALMIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSAL
MIRCROSOFT EXCEL- brief and useful for beginners by RISHABH BANSAL
 
Excel training
Excel trainingExcel training
Excel training
 
Join sql
Join sqlJoin sql
Join sql
 

Más de Hirwanto Iwan

01. integral fungsi aljabar
01. integral fungsi aljabar01. integral fungsi aljabar
01. integral fungsi aljabarHirwanto Iwan
 
Analisis Butir Soal PG Matematika Wajib Kelas XII IPA-IPS NFBS Serang
Analisis Butir Soal PG Matematika Wajib Kelas XII IPA-IPS NFBS SerangAnalisis Butir Soal PG Matematika Wajib Kelas XII IPA-IPS NFBS Serang
Analisis Butir Soal PG Matematika Wajib Kelas XII IPA-IPS NFBS SerangHirwanto Iwan
 
Analisis Butir Soal Pilihan Ganda Matematika Wajib Kelas XII IPA
Analisis Butir Soal Pilihan Ganda Matematika Wajib Kelas XII IPAAnalisis Butir Soal Pilihan Ganda Matematika Wajib Kelas XII IPA
Analisis Butir Soal Pilihan Ganda Matematika Wajib Kelas XII IPAHirwanto Iwan
 
Materi Limit Aljabar dan Turunan Aljabar
Materi Limit Aljabar dan Turunan Aljabar Materi Limit Aljabar dan Turunan Aljabar
Materi Limit Aljabar dan Turunan Aljabar Hirwanto Iwan
 
Pembahasan Soal Matematika Wajib PTS Kelas XI IPS
Pembahasan Soal Matematika Wajib PTS Kelas XI IPSPembahasan Soal Matematika Wajib PTS Kelas XI IPS
Pembahasan Soal Matematika Wajib PTS Kelas XI IPSHirwanto Iwan
 
Pembahasan Soal Matematika Wajib PTS Kelas XI IPA
Pembahasan Soal Matematika Wajib PTS Kelas XI IPAPembahasan Soal Matematika Wajib PTS Kelas XI IPA
Pembahasan Soal Matematika Wajib PTS Kelas XI IPAHirwanto Iwan
 
Membuat Dokumen LaTeX Edisi ke - 33
Membuat Dokumen LaTeX Edisi ke - 33Membuat Dokumen LaTeX Edisi ke - 33
Membuat Dokumen LaTeX Edisi ke - 33Hirwanto Iwan
 

Más de Hirwanto Iwan (20)

01. integral fungsi aljabar
01. integral fungsi aljabar01. integral fungsi aljabar
01. integral fungsi aljabar
 
Analisis Butir Soal PG Matematika Wajib Kelas XII IPA-IPS NFBS Serang
Analisis Butir Soal PG Matematika Wajib Kelas XII IPA-IPS NFBS SerangAnalisis Butir Soal PG Matematika Wajib Kelas XII IPA-IPS NFBS Serang
Analisis Butir Soal PG Matematika Wajib Kelas XII IPA-IPS NFBS Serang
 
Analisis Butir Soal Pilihan Ganda Matematika Wajib Kelas XII IPA
Analisis Butir Soal Pilihan Ganda Matematika Wajib Kelas XII IPAAnalisis Butir Soal Pilihan Ganda Matematika Wajib Kelas XII IPA
Analisis Butir Soal Pilihan Ganda Matematika Wajib Kelas XII IPA
 
Materi Limit Aljabar dan Turunan Aljabar
Materi Limit Aljabar dan Turunan Aljabar Materi Limit Aljabar dan Turunan Aljabar
Materi Limit Aljabar dan Turunan Aljabar
 
Pembahasan Soal Matematika Wajib PTS Kelas XI IPS
Pembahasan Soal Matematika Wajib PTS Kelas XI IPSPembahasan Soal Matematika Wajib PTS Kelas XI IPS
Pembahasan Soal Matematika Wajib PTS Kelas XI IPS
 
Pembahasan Soal Matematika Wajib PTS Kelas XI IPA
Pembahasan Soal Matematika Wajib PTS Kelas XI IPAPembahasan Soal Matematika Wajib PTS Kelas XI IPA
Pembahasan Soal Matematika Wajib PTS Kelas XI IPA
 
Fitur Baru WinEdt 9.1
Fitur Baru WinEdt 9.1Fitur Baru WinEdt 9.1
Fitur Baru WinEdt 9.1
 
Pemasangan WinEdt 9.1
Pemasangan WinEdt 9.1Pemasangan WinEdt 9.1
Pemasangan WinEdt 9.1
 
Kumpulan Soal UM UGM
Kumpulan Soal UM UGMKumpulan Soal UM UGM
Kumpulan Soal UM UGM
 
Membuat Dokumen LaTeX Edisi ke - 33
Membuat Dokumen LaTeX Edisi ke - 33Membuat Dokumen LaTeX Edisi ke - 33
Membuat Dokumen LaTeX Edisi ke - 33
 
LATEX OR INDESIGN
LATEX OR INDESIGN LATEX OR INDESIGN
LATEX OR INDESIGN
 
AGH Beamer
AGH BeamerAGH Beamer
AGH Beamer
 
AFIT Beamer
AFIT BeamerAFIT Beamer
AFIT Beamer
 
Hackd Beamer
Hackd BeamerHackd Beamer
Hackd Beamer
 
LUH Beamer
LUH BeamerLUH Beamer
LUH Beamer
 
Cambridge Beamer
Cambridge BeamerCambridge Beamer
Cambridge Beamer
 
ESOP Beamer
ESOP BeamerESOP Beamer
ESOP Beamer
 
AP Beamer
AP BeamerAP Beamer
AP Beamer
 
Naked Beamer
Naked BeamerNaked Beamer
Naked Beamer
 
TUDelft Beamer
TUDelft BeamerTUDelft Beamer
TUDelft Beamer
 

Último

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Último (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Chap06 scr

  • 1. Indian TEX Users Group URL: http://www.river-valley.com/tug Table Table style pa . . . Example 6 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 8 2000 Prof. (Dr.) K. S. S. Nambooripad, Director, Center for Mathematical Sciences, Trivandrum, (Editor); Dr. E. Krishnan, Reader in Mathematics, University College, Trivandrum; 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 Go Back 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 Full Screen 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 Close Quit
  • 2. 6 Floats Table Table style pa . . . Example 6.1. Table Exercise With the box elements already explained in the previous chapter, it would be possible to A produce all sorts of framed and unframed tables. However, LTEX offers the user far more convenient ways to build such complicated structures. 6.1.1. Title Page Constructing tables The environments tabular and tabular* are the basic tools with which tables can be constructed. The syntax for these environments is: begin{tabular}[pos]{cols} rows end{tabular} begin{tabular*}{width}[pos]{cols} rows end{tabular*} Page 2 of 8 Go Back Full Screen Both the above environments actually create a minipage. The meaning of the above arguments is as follows: Close pos Vertical positioning arguments (see also the explanation of this argument for parboxes). It can take on the values. Quit
  • 3. the top line of the table is aligned with the baseline of the current external line of text b the bottom line of the table is aligned with the external baseline t with no positioning argument given, the table is centered on the external baseline. width This argument applies to only the tabular* environment and determines its overall width. In this case, the cols argument must contain the @-expression (see below) @{extracolsep{fill}} somewhere after the first entry. For the other two environments, the total width is fixed by the textual content. cols The column formatting argument. There must be an entry for every column, as well as possible extra entries for the left and right borders of the table or for the inter-column spacings. The possible column formatting symbols are: l c r Table Table style pa . . . Example Exercise Title Page the column contents are left justified the column contents are centered the column contents are right justified the text in this column is set into lines of width wd and the top line is aligned with the other columns. In fact, the text is set in a parbox with the command parbox[t]{wd}{column text} *{num}{cols} the column format contained in cols is reproduced num times, so that *{3}{|c}| is the same as |c|c|c|. p{wd} The available formatting symbols for right and left borders and for the inter-column spacing are: | draws a vertical line draws two vertical lines next to each other @{text} this entry is referred to as an @-expression, and inserts text in every line of the table between the two columns where it appears. Page 3 of 8 Go Back Full Screen Close Quit
  • 4. @-expression removes the inter-column spacing that is automatically put between each pair of columns. If white space is needed between the inserted text and the next column, this must be explicitly included with hspace{ } within the text of the @-expression. If the inter-column spacing between two particular columns is to be something other than the standard, this may be easily achieved by placing @{hspace{wd}} between the appropriate columns in the formatting argument. This replaces the standard inter-column spacing with the width wd. Table Table style pa . . . An extracolsep{ wd } within an @-expression will put extra spacing of amount wd between all the following columns, until countermanded by another extracolsep command. In contrast to the standard spacing, this additional spacing is not removed by later @-expression. In the tabular* environment, there must be a command @{extracolsepfill} somewhere in the column format so that all the subsequent inter-column spacings can stretch out to fill the predefined table width. Example Exercise Title Page If the left or right borders of the table do not consist of a vertical line, spacing is added there of an amount equal to half the normal inter-column spacing. If this spacing is not required, it may be suppressed by including an empty @-expression @{} at the beginning or end of the column format. rows contain the actual entries in the table, each horizontal row being terminated with . These rows consist of a sequence of column entries separated from each other by the & symbol. Thus each row in the table contains the same number of column entries as in the column definition cols. Some entries may be empty. The individual A column entries are treated by LTEX as though they were enclosed in braces { }, so that any changes in type style or size are restricted to that one column. hline This command may only appear before the first row or immediately after a row termination . It draws a horizontal line the full width of the table below the row that was just ended, or at the top of the table if it comes at the beginning. Two hline commands together draw two horizontal lines with a little space between them. Page 4 of 8 Go Back Full Screen Close Quit
  • 5. cline{n − m} This command draws a horizontal line from the left side of column n to the right side of column m. Like hline, it may only be given just after a row termination , and there may be more than one after another. The command cline{1-3} cline{5-7} draws two horizontal lines from column 1 to 3 and from column 5 to 7, below the row that was just ended. In each case, the full column widths are underlined. vline This command draws a vertical line with the height of the row at the location where it appears. In this way, vertical lines that do not extend the whole height of the table may be inserted with a column. multicolumn{num}{col}{text} This command combines the following num columns into a single column with their total width including inter-column spacing. The argument col contains exactly one of the positioning symbols l, r, c, with possible @-expressions and vertical lines |. A value of 1 may begiven for num when the positioning argument is to be changed for that column in one particular row. In this context, a ‘column’ starts with a positioning symbol l, r, or c and includes everything upto but excluding the next one. The first column also includes everything before the first positioning symbol. Thus c@{}rl| contains three columns: the first is |c@{}, the second r, and the third r|. Table Table style pa . . . Example Exercise Title Page Page 5 of 8 Go Back 6.2. Table style parameters Full Screen A There are a number of style parameters used in generating tables which LTEX sets to standard values. These may be altered by the user, either globally within the preamble or locally inside an environment. They should not be changed within the tabular environment. Close Quit
  • 6. tabcolsep is half the width of the spacing that is inserted between columns in the tabular and tabular* environments. arrayrulewidth is the thickness of the vertical and horizontal lines within a table. doublerulesep is the separation between the lines of a double rule. arraystretch can be used to change the distance between the rows of a table. This is a multiplying factor, with a standard value of 1. A value of 1.5 means that the inter-row spacing is increased by 50%. A new value is set by redefining the parameters with the command: Table Table style pa . . . Example Exercise renewcommand{ arraystrech}{ factor } Title Page Following are the commands for changing the table style parameters that relate to dimensions: setlengthtabcolsep{ dimen } setlengtharrayrulewidth{ dimen } setlengthdoublerulesep{ dimen } Page 6 of 8 Go Back 6.3. Example Full Screen Creating tables is much easier in practice than it would seem from the above list of formatting possibilities. This is best illustrated with an example. Close The simplest table consists of a row of columns in which the text entries are either Quit
  • 7. centered or justified to one side. The column widths, the spacing between the columns, and thus the entire width of the table are automatically calculated. Sample Tabular col head col head col head Left centered right aligned items Left items items items centered aligned items right aligned See the code that generated the table above. begin{tabular}{|l|c|r|} hline multicolumn{3}{|c|}{Sample Tabular} hline col head & col head & col head hline Left & centered & right cline{1-2} aligned & items & aligned cline{2-3} items & items & items cline{1-2} Left items & centered & right aligned hline end{tabular} Table Table style pa . . . Example Exercise Title Page Page 7 of 8 Go Back Full Screen The discussion on tables doesn’t conclude with this chapter, instead more bells and whistles are to be discussed, that includes long tables (table that spans multiple pages), how to repeat the column headings and special footlines in all multipaged tables, color tables and also few other embellishments, which the scientific community at large might require in their document preparation. So watch out for the next chapter. Close Quit
  • 8. 6.4. Exercise Here is an exercise you can try. If you encounter any problems, please get back to the list. Table Plan for TEX Users Group 2001–2003 Table style pa . . . Example Project Year Exercise Name No. 2001 Rs. US$ 2002 Rs. 2003 US$ Rs. US$ Title Page Internet costs Journal costs TEXLive production costs Signature Authorization Page 8 of 8 Go Back Full Screen Close Quit