nalgebra extension for LaTeX
The crate provides several robust formatters for nalgebra::Matrix as well as
several LaTeX environments for customization.
On top of that, the crate offers feature-gated support for nalgebra_linsys.
Example
use matrix;
use ;
let mut s = Stringnew;
let m = matrix!;
write_latex.unwrap;
assert_eq!;
What is nalgebra?
nalgebra is a general-purpose linear algebra library with transformations and statically-sized or dynamically-sized matrices.
What is LaTeX?
LaTeX is a language for typesetting documents, especially scientific papers, and a document preparation system.
Example of .tex code
% ...
\glossaryentry
\begin{adjustwidth}
: \\
: \\
:
\begin{adjustwidth} \leavevmode
\begin{framed}
For two \hyperlink and of the same \hyperlink , the \beingdefined (or ) is a \hyperlink of the same \hyperlink as the operands, with elements given by
\begin{equation*}\end{equation*}
Source: .
\end{framed}
\begin{framed}
Let and be \hyperlink with entries in . The \beingdefined is defined by for all , . \\ \vspace
Source: .
\end{framed}
\end{adjustwidth}
\end{adjustwidth} \vspace
% ...
Output
