1
# -*- CPERL -*-
2
# /=====================================================================\ #
3
# | booktabs | #
4
# | Implementation for LaTeXML | #
5
# |=====================================================================| #
6
# | Part of LaTeXML: | #
7
# | Public domain software not subject to copyright in the US. | #
8
# |---------------------------------------------------------------------| #
9
# | Tim Vismor #_# | #
10
# | https://vismor.com/ (o o) | #
11
# \=========================================================ooo==U==ooo=/ #
12
use LaTeXML::Package;
13
use strict;
14
15
# For now, skip the variable length mid rules.
16
DefMacro('\cmidrule{}','\noalign{\smallskip}\cline{#1}\noalign{\smallskip}');
17
18
# Implement the other rules as horizontal rules.
19
DefMacro('\toprule','\noalign{\smallskip}\hline\noalign{\smallskip}');
20
DefMacro('\midrule','\noalign{\smallskip}\hline\noalign{\smallskip}');
21
DefMacro('\bottomrule','\noalign{\smallskip}\hline\noalign{\smallskip}');
22
23
# Don't forget this, so perl knows the package was processed.
24
1;
25