LaTeX
Blog
SubscribeLaTeX
LaTeX, TikZ, Beamer
Reuse TikZ Figures in Both Articles and Slides
I use LaTeX a lot. I found it an effective tool to write articles, slides (using beamer), and posters (using tikzposter). Further more, I use TikZ/PGF to draw all the figures. Not only the source code of the figure can be easily managed by version control software like git, TikZ is also well-integrated in beamer to create beautiful animations for slides.
Ruby
Send Email in the Batch using Ruby
Sometimes, you may find the need to send a large number of emails in batch. For example, you may be a TA of a course and are required to notify all the students of their grades. In this case, sending email in the batch would save lots of time and effort. In the following are my notes on how to achieve this using Ruby.
LaTeX, R
Typesetting with LaTeX and R
Sometimes, it is desirable to run R codes directly in your LaTeX document. For example, you may wish typeset your course assignment in LaTeX, in which the experiment results as well as figures can be computed by R. And the knitr package is one of the most elegant ways to fulfill such need.
Homebrew
Pry in Interactive Homebrew Shell
Recently, I have been heavily involved to Homebrew’s development. Homebrew itself offers an interactive
ruby shell, which can be handy for the development. You can use such tool by invoking brew irb
in the shell. And as what its
name sounds, this tool is based on irb.
LaTeX, Jekyll
Rendering LaTeX using KaTeX and Jekyll
So as a Ph.D. student who studies in Computer Science, using LaTeX to render the equations in my blog is inevitable. In general, I hope the render can support the following features:
Hello World
This is my new blog and my personal academic web site.