Skip to content

Instantly share code, notes, and snippets.

@trueroad
trueroad / zrmakecmap.lua
Created February 18, 2019 12:06 — forked from zr-tex8r/zrmakecmap.lua
To make CMap files from OpenType font files using texlua
-- zrmakecmap.lua
prog_name = "zrmakecmap"
version = "0.3"
mod_date = "2015/10/09"
verbose = false
sort = false
inencoding = "utf16"
fwid = true
---------------------------------------- preparations
filename, fontname, outname, jis_map = nil
@trueroad
trueroad / gist:80630e95df5af0234e36270b019e6458
Created April 12, 2018 10:50 — forked from yuw/gist:48764995abf8ed7ab3525fb34fec107f
参考文献の行長を字幅の整数倍にする
\documentclass[twocolumn]{jlreq}
\makeatletter
\renewenvironment{thebibliography}[1]{%
\jlreq@oldfontcommand@enable
\section*{\refname}%
\@mkboth{\refname}{\refname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\@tempdima\linewidth