Katex Boxed Equations

Goal To render a bordered box with multiple equations. Background My previous article about dot products contains some boxed math expressions: some are inline and some take up the whole line. For inline math, that’s simple: either $\fbox{text}$ or $\boxed{a=1}$ will do. For displayed math, these two KaTeX commands will ignore the newline command \\. Solution A simple Google search ‘“katex” AND “box”’ saved the day. It led me to this relevant Stack Overflow question, whose accepted answer suggested the use of custom CSS. [Read More]

Functions for Arts

Summary of my two-day work

my HTML slides You may view the source code of this blog to see the source files. Goal To provide an introduction to the formal definition of functions for arts stream students. I aim to minimize the calculations use daily-life examples favor pictures over text. IT skills used Inkscape C-S-a for alignment. C-S-f for boundary and colors, and line patterns (i.e. arrows). C-S-d for document size. clipping process: prepare the object to be clipped. [Read More]