Support \hdashline (#1407)

* Support \hdashline

Support `\hdashline` from package `arydshln`. This PR acts as a complement to PR #1395.

Similarly to #1395, the dashed line is rendered as `border-bottom-style: dashed;`. That does not exactly match the `dashsegment` and `dashgap` lengths in `arydshln`, but it does render black lines with sharp edges.

* Fixed top line position

* Add screenshots

* Fix lint error

* Fix another lint error

* Deleted HLine screenshots

* Pick up comments
This commit is contained in:
Ron Kok
2018-06-06 18:30:29 -07:00
committed by Erik Demaine
parent 89e180c5a6
commit 93904c51ab
9 changed files with 59 additions and 37 deletions

View File

@@ -1137,6 +1137,7 @@ describe("A begin/end parser", function() {
it("should parse an environment with hlines", function() {
expect("\\begin{matrix}\\hline a&b\\\\ \\hline c&d\\end{matrix}").toParse();
expect("\\begin{matrix}\\hdashline a&b\\\\ \\hdashline c&d\\end{matrix}").toParse();
});
it("should error when name is mismatched", function() {