One can use nice matrix to draw annotated matrix with ease: \[ P=\begin{bNiceArray}{cccc|cccc}[first-row,first-col] & 0 & 1 & \cdots & M-1 & M & M+1 & \cdots & N \\ 0 & \Block{4-4}{Q} & & & & \Block{4-4}{R} \\ ... Read more 01 Jan 2022 - less than 1 minute read

Based on the framework previously, some significant changes have been applied. Here are some highlights. Cover page The cover page, or the title page is from latextemplate. Moreover, as the curly braces do not scale as the title, I change a bit to make it “responsive”: % Set the width of the curly brackets above and below the titles \setlength{... Read more 31 Dec 2021 - 4 minute read

Below are a set of techniques. Picture in tabular src: https://tex.stackexchange.com/a/19083 \begin{tabular}{lll} \raisebox{-.5\height}{\includegraphics[scale=0.25]{example-image}} & text & text\\ \end{tabular} yields tikz baseline in math mode src: https://tex.stackexchange.com/a/58420 \begin{equation} n\cdot \tikz [anchor=ba... Read more 11 Oct 2021 - less than 1 minute read

Below are a set of useful quick links. General latex color 中国色 watermark wrap figure fancyhdr & extramarks Type sizes and changing type size in math mode tikzsymbols Problem with \printindex. No index created IPython Notebook input and output cells with listings array: set width for certain columns: w column type in arra... Read more 11 Oct 2021 - less than 1 minute read

After I changed to a new font for the whole document, it also affects math font. So now $j$ becomes extremely long, and when \sqrt wants to adapt to its size, the result is not that good… You can clearly see the difference for $i$ and $j$… After some search, I found this. However, this won’t directly solve my problem. Then I combined two of ... Read more 22 Feb 2021 - less than 1 minute read