Closed joao-guilherme closed 3 years ago
@joao-guilherme, Thanks. That's a great idea. I've added a comment to the PR so as soon as you make the requested changes I can close this.
@joao-guilherme, I was thinking that maybe we can reuse the options parameter. Just so we don't break existing code, we can check if it's a string or an object. If it's a string, proceed as usual. If it's an object we can look for the matrix_type
key. What do you think?
@jiggzson, I'm new here, but looking at the code, I prefer your first idea, because making the option an object adds more complexity than moving the type to the second parameter.
I didn't see where we can break the code, since passing a single parameter, option will have the correct value and type will be undefined
Closing. No response given and PR breaks test cases. Added for consideration in #358.
LaTeX has many ways to display an matrix, let's use.