| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package LaTeX::Table::Themes::Classic; |
|
2
|
1
|
|
|
1
|
|
1645
|
use Moose; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
with 'LaTeX::Table::Themes::ThemeI'; |
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use version; our $VERSION = qv('1.0.6'); |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub _definition { |
|
9
|
|
|
|
|
|
|
my $themes = { |
|
10
|
|
|
|
|
|
|
'Dresden' => { |
|
11
|
|
|
|
|
|
|
'HEADER_FONT_STYLE' => 'bf', |
|
12
|
|
|
|
|
|
|
'HEADER_CENTERED' => 1, |
|
13
|
|
|
|
|
|
|
'CAPTION_FONT_STYLE' => 'bf', |
|
14
|
|
|
|
|
|
|
'VERTICAL_RULES' => [ 1, 2, 1 ], |
|
15
|
|
|
|
|
|
|
'HORIZONTAL_RULES' => [ 1, 2, 0 ], |
|
16
|
|
|
|
|
|
|
'BOOKTABS' => 0, |
|
17
|
|
|
|
|
|
|
}, |
|
18
|
|
|
|
|
|
|
'Houston' => { |
|
19
|
|
|
|
|
|
|
'HEADER_FONT_STYLE' => 'bf', |
|
20
|
|
|
|
|
|
|
'HEADER_CENTERED' => 1, |
|
21
|
|
|
|
|
|
|
'CAPTION_FONT_STYLE' => 'bf', |
|
22
|
|
|
|
|
|
|
'VERTICAL_RULES' => [ 1, 2, 1 ], |
|
23
|
|
|
|
|
|
|
'HORIZONTAL_RULES' => [ 1, 2, 1 ], |
|
24
|
|
|
|
|
|
|
'EXTRA_ROW_HEIGHT' => '1pt', |
|
25
|
|
|
|
|
|
|
'BOOKTABS' => 0, |
|
26
|
|
|
|
|
|
|
}, |
|
27
|
|
|
|
|
|
|
'Berlin' => { |
|
28
|
|
|
|
|
|
|
'HEADER_FONT_STYLE' => 'bf', |
|
29
|
|
|
|
|
|
|
'HEADER_CENTERED' => 1, |
|
30
|
|
|
|
|
|
|
'CAPTION_FONT_STYLE' => 'bf', |
|
31
|
|
|
|
|
|
|
'VERTICAL_RULES' => [ 1, 1, 1 ], |
|
32
|
|
|
|
|
|
|
'HORIZONTAL_RULES' => [ 1, 2, 0 ], |
|
33
|
|
|
|
|
|
|
'BOOKTABS' => 0, |
|
34
|
|
|
|
|
|
|
}, |
|
35
|
|
|
|
|
|
|
'Miami' => { |
|
36
|
|
|
|
|
|
|
'HEADER_FONT_STYLE' => 'bf', |
|
37
|
|
|
|
|
|
|
'HEADER_CENTERED' => 1, |
|
38
|
|
|
|
|
|
|
'CAPTION_FONT_STYLE' => 'bf', |
|
39
|
|
|
|
|
|
|
'STUB_ALIGN' => 'l', |
|
40
|
|
|
|
|
|
|
'VERTICAL_RULES' => [ 0, 0, 0 ], |
|
41
|
|
|
|
|
|
|
'HORIZONTAL_RULES' => [ 0, 1, 0 ], |
|
42
|
|
|
|
|
|
|
'BOOKTABS' => 0, |
|
43
|
|
|
|
|
|
|
}, |
|
44
|
|
|
|
|
|
|
'plain' => { |
|
45
|
|
|
|
|
|
|
'STUB_ALIGN' => 'l', |
|
46
|
|
|
|
|
|
|
'VERTICAL_RULES' => [ 0, 0, 0 ], |
|
47
|
|
|
|
|
|
|
'HORIZONTAL_RULES' => [ 0, 0, 0 ], |
|
48
|
|
|
|
|
|
|
'BOOKTABS' => 0, |
|
49
|
|
|
|
|
|
|
}, |
|
50
|
|
|
|
|
|
|
}; |
|
51
|
|
|
|
|
|
|
return $themes; |
|
52
|
|
|
|
|
|
|
} |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
1; |
|
55
|
|
|
|
|
|
|
__END__ |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 NAME |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
LaTeX::Table::Themes::Classic - Classic LaTeX table themes. |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 PROVIDES |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This module provides following themes: |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=over |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item plain |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Animal Description Price |
|
70
|
|
|
|
|
|
|
Gnu stuffed 92.59 |
|
71
|
|
|
|
|
|
|
Emu stuffed 33.33 |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=item Miami |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Animal Description Price |
|
76
|
|
|
|
|
|
|
---------------------------------- |
|
77
|
|
|
|
|
|
|
Gnu stuffed 92.59 |
|
78
|
|
|
|
|
|
|
Emu stuffed 33.33 |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=item Berlin |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
+--------+-------------+--------+ |
|
84
|
|
|
|
|
|
|
| Animal | Description | Price | |
|
85
|
|
|
|
|
|
|
+========+=============+========+ |
|
86
|
|
|
|
|
|
|
| Gnu | stuffed | 92.59 | |
|
87
|
|
|
|
|
|
|
| Emu | stuffed | 33.33 | |
|
88
|
|
|
|
|
|
|
+--------+-------------+--------+ |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=item Dresden |
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
+--------++-------------+--------+ |
|
93
|
|
|
|
|
|
|
| Animal || Description | Price | |
|
94
|
|
|
|
|
|
|
+========++=============+========+ |
|
95
|
|
|
|
|
|
|
| Gnu || stuffed | 92.59 | |
|
96
|
|
|
|
|
|
|
| Emu || stuffed | 33.33 | |
|
97
|
|
|
|
|
|
|
+--------++-------------+--------+ |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=item Houston |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
+--------++-------------+--------+ |
|
102
|
|
|
|
|
|
|
| Animal || Description | Price | |
|
103
|
|
|
|
|
|
|
+========++=============+========+ |
|
104
|
|
|
|
|
|
|
| Gnu || stuffed | 92.59 | |
|
105
|
|
|
|
|
|
|
+--------++-------------+--------+ |
|
106
|
|
|
|
|
|
|
| Emu || stuffed | 33.33 | |
|
107
|
|
|
|
|
|
|
+--------++-------------+--------+ |
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=back |
|
110
|
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Except for C<plain>, headers are printed in bold font. |
|
112
|
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head1 REQUIRES |
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
The themes defined in this module require no additional LaTeX packages. |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=head1 NOTES |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
These are the classic themes you know from the famous books and tutorials. |
|
120
|
|
|
|
|
|
|
However, they have flaws. Read the C<booktabs> documentation for a discussion |
|
121
|
|
|
|
|
|
|
of this. |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
The C<plain> theme might be useful in combination with the I<ltpretty> script. |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
126
|
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
L<LaTeX::Table>, L<LaTeX::Table::Themes::ThemeI> |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
Copyright (c) 2006-2010 C<< <limaone@cpan.org> >> |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
This module is free software; you can redistribute it and/or |
|
134
|
|
|
|
|
|
|
modify it under the same terms as Perl itself. See L<perlartistic>. |
|
135
|
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=cut |
|
137
|
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
# vim: ft=perl sw=4 ts=4 expandtab |