Category Archives: LaTeX

Creating Multiple-Choice Exams with Answering Boxes Using LaTeX

For a multiple-choice exam, to ease the grading procedure, it is often preferred to ask students to write their answers collectively in an answer sheet with their choices of answers filled in boxes. However, LaTeX, in particular the exam document class, does not directly provide the feature to automatically generate such boxes. In this post, we will let LaTeX to automatically generate these answering boxes, and with correct answers filled in when the answers document class option is turned on. The effects are displayed below, with correct answers shown and not shown, respectively. Their respective PDF files are also available: Without answers; with answers.

Continue reading

A Collection of Issues about the LaTeX Output in Sphinx and the Solutions

Last updated on October 1, 2016

Sphinx is a powerful documentation generation tool, as well as a powerful book writing tool. It can generate multiple output formats, including LaTeX for printable PDF versions. However, the LaTeX output is often more problematic than the html output. In this post, a collection of common issues and their solutions are listed.

Continue reading

Live Preview of LaTeX in Vim

Last updated on October 1, 2016

Vim, as a highly configurable and customizable editor, already has a powerful Vim-LaTeX plugin. However, I don’t like the lack of live preview feature. For this reason, I developed a plugin called vim-latex-live-preview last year. Although it currently can’t handle complex situations such as multiple tex files, it could basically handle single tex file project well (with or without BibTeX, thanks to Asis Hallab).

Note: This plugin currently doesn’t work on Windows.

Continue reading