Skip to content

Instantly share code, notes, and snippets.

View read_bmp.c
// vim: syntax=c++
void read_bmp(uint8_t * bmp) {
// skip 14-byte header
}
View XeTeX template.tex
% 以下模板适用于XeLaTex
\documentclass[11pt]{article}
% 导宏包
\usepackage[BoldFont, SlantFont, CJKchecksingle]{xeCJK}
% 设置默认中文字体(以及相应的加粗字体)
\setCJKmainfont[BoldFont=SimHei]{SimSun}