LaTeX::Table::Themes::Booktabs - Publication quality LaTeX table themes.


LaTeX-Table documentation Contained in the LaTeX-Table distribution.

Index


Code Index:

NAME

Top

LaTeX::Table::Themes::Booktabs - Publication quality LaTeX table themes.

PROVIDES

Top

This module provides following themes:

  Meyrin   # as described in the booktabs documentation
  Zurich   # header centered and in bold font
  Evanston # as described in Lapo Filippo Mori's tutorial

REQUIRES

Top

The themes defined in this module require following LaTeX packages:

  \usepackage{booktabs}

SEE ALSO

Top

LaTeX::Table, LaTeX::Table::Themes::ThemeI

LICENSE AND COPYRIGHT

Top


LaTeX-Table documentation Contained in the LaTeX-Table distribution.

package LaTeX::Table::Themes::Booktabs;
use Moose;

with 'LaTeX::Table::Themes::ThemeI';

use version; our $VERSION = qv('1.0.6');

sub _definition {
    my $themes = {
        'Zurich' => {
            'HEADER_FONT_STYLE' => 'bf',
            'HEADER_CENTERED'   => 1,
            'STUB_ALIGN'        => 'l',
            'VERTICAL_RULES'    => [ 0, 0, 0 ],
            'HORIZONTAL_RULES'  => [ 1, 1, 0 ],
            'BOOKTABS'          => 1,
        },
        'Meyrin' => {
            'STUB_ALIGN'       => 'l',
            'VERTICAL_RULES'   => [ 0, 0, 0 ],
            'HORIZONTAL_RULES' => [ 1, 1, 0 ],
            'BOOKTABS'         => 1,
        },
        'Evanston' => {
            'HEADER_FONT_STYLE' => 'bf',
            'STUB_ALIGN'        => 'l',
            'VERTICAL_RULES'    => [ 0, 0, 0 ],
            'HORIZONTAL_RULES'  => [ 1, 1, 0 ],
            'RULES_CMD'         => [
                '\toprule', '\midrule[\heavyrulewidth]',
                '\midrule', '\bottomrule'
            ],
        },
    };
    return $themes;
}

1;
__END__

# vim: ft=perl sw=4 ts=4 expandtab