Skip to content

Instantly share code, notes, and snippets.

View volkancirik's full-sized avatar
🙃

volkan volkancirik

🙃
View GitHub Profile
@volkancirik
volkancirik / matrix_box_notation.tex
Created October 5, 2020 23:05 — forked from MilesCranmer/matrix_box_notation.tex
Draw boxes for matrices in equation
%Make sure to have \usepackage{tikz}
%https://tex.stackexchange.com/a/45815/140440 - for grid
%https://tex.stackexchange.com/a/381175/140440 - for alignment in equation
% This function draws a matrix.
\newcommand{\mat}[2]{% cols, rows
\vcenter{\hbox{ %Vertical alignment
\begin{tikzpicture}[scale=0.3, align=center]
@volkancirik
volkancirik / matrix_box_notation.tex
Created October 5, 2020 23:05 — forked from MilesCranmer/matrix_box_notation.tex
Draw boxes for matrices in equation
%Make sure to have \usepackage{tikz}
%https://tex.stackexchange.com/a/45815/140440 - for grid
%https://tex.stackexchange.com/a/381175/140440 - for alignment in equation
% This function draws a matrix.
\newcommand{\mat}[2]{% cols, rows
\vcenter{\hbox{ %Vertical alignment
\begin{tikzpicture}[scale=0.3, align=center]