Hello pricey customer to our community We will proffer you an answer to this query macros – How can I fullfil an arbitrarily sized matrix with asterisks? – TeX ,and the respond will breathe typical via documented data sources, We welcome you and proffer you fresh questions and solutions, Many customer are questioning in regards to the respond to this query.
macros – How can I fullfil an arbitrarily sized matrix with asterisks? – TeX
I’m writing a latex doc and am utilizing a number of examples of matrices the place each entry is ast
. I’d love to put in writing a macro that mechanically makes such a matrix for me. So, this could look one thing love
newcommand{myAsteriskMatrix}[2]{magic}
the place the 2 inputs would breathe the variety of rows and the variety of columns.
I befall to breathe utilizing the nicematrix
bundle, so a typical matrix appears one thing love this:
documentclass{standalone}
usepackage{nicematrix}
commence{doc}
$
commence{bNiceMatrix}[r]
ast & ast & ast
ast & ast & ast
aim{bNiceMatrix}
$
aim{doc}
This matrix may breathe generated by myAsteriskMatrix{2}{3}
, however I am unable to design out find out how to write this macro! Any concepts?
we are going to proffer you the answer to macros – How can I fullfil an arbitrarily sized matrix with asterisks? – TeX query through our community which brings all of the solutions from a number of dependable sources.
Add comment