Skip to content

Instantly share code, notes, and snippets.

View aminophen's full-sized avatar
☃️
☃️⛄️🍣🦆🐦🤯🤮😱🤔🙃

Hironobu Yamashita aminophen

☃️
☃️⛄️🍣🦆🐦🤯🤮😱🤔🙃
View GitHub Profile
@zr-tex8r
zr-tex8r / badwidth.zvp
Created August 21, 2019 09:59
upTeX:「和文VFの参照先の和文TFMが幅異常」なやつ
(VTITLE BADWIDTH)
(FAMILY BADWIDTH)
(FACE F MRR)
(CODINGSCHEME TEX KANJI TEXT)
(DESIGNSIZE R 10.0)
(CHECKSUM O 2152613461)
(FONTDIMEN
(SLANT R 0.0)
(SPACE R 0.0)
(STRETCH R 0.1)
@zr-tex8r
zr-tex8r / pxxspace.sty
Created April 30, 2019 12:56
LaTeX: (u)pLaTeXでxspaceするためのやつ
%%
%% This is file 'pxxspace.sty'.
%%
%% Copyright (c) 2019 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
%% This package is distributed under the MIT License.
%%
@zr-tex8r
zr-tex8r / zrlistttc.lua
Created September 1, 2019 09:27
Lua: To list the font names (and other information) of all the fonts in a TTC/OTC file
-- zrdecompttc.lua
prog_name = 'zrlistttc'
version = '0.2'
mod_date = '2019/08/31'
----------------------------------------
verbose = false
content = { 6 }
langid = nil
ttc_file = nil
----------------------------------------
@zr-tex8r
zr-tex8r / ptexguide.md
Created October 4, 2019 15:35
「日本語にサッパリ興味のない開発者のためのpTeXガイド」の構想

概略

この文書の目的

  • 日本語機能でないパッケージのため。
  • 日本語(の組版・の文字コード)の知識はいらない。
  • その話もできる限り避ける。
  • e-の方がメイン。

pTeXとその仲間

@trueroad
trueroad / haranoaji-tlpost.pl
Last active April 18, 2020 14:08
Post action for haranoaji to link or copy files for TeX Live tlgs
#
# haranoaji-tlpost.pl:
# Post action for haranoaji to link or copy files for TeX Live tlgs
# https://gist.github.com/trueroad/f83f2fbf68aa49ea7f3ab0708bf5fb9e
#
# Copyright (C) 2020 Masamichi Hosoda.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@k16shikano
k16shikano / jackpodsc.tex
Last active May 22, 2020 10:01
TeXでスロットマシン
% inspired by https://tex.stackexchange.com/questions/524022/switch-string-commands-based-on-random-values-to-produce-random-cards
\documentclass{article}
\usepackage{xparse}
\usepackage{scsnowman}
\usepackage{multicol}
\ExplSyntaxOn
\NewDocumentCommand{\jackpodsc}{}
{\three_snowmen:}
@wtsnjp
wtsnjp / sctexdoc.lua
Last active August 10, 2020 13:12
画期的な Texdoc
#!/usr/bin/env texlua
--
-- This is file 'sctexdoc.lua'.
--
-- Copyright 2017-2020 Takuto ASAKURA (wtsnjp)
-- GitHub: https://github.com/wtsnjp
-- Twitter: @wtsnjp
--
-- This package is distributed under the MIT License.
@h20y6m
h20y6m / l3str-ptex-utf8.tex
Last active May 6, 2022 11:56
l3str-convert with (u)pLaTeX
%#!platex -no-guess-input-enc -kanji=utf8
% -*- coding: utf-8 -*-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% l3names
%
\ExplSyntaxOn
% \tex_toucs:D already part of expl3 <2022-04-10>
%\tex_global:D \tex_let:D \tex_toucs:D \toucs
\ExplSyntaxOff
@munepi
munepi / README.txt
Last active May 28, 2022 03:39
\futureletのお勉強で作った漢文訓点スタイル https://qiita.com/munepi/items/5e6ac49fa5c025123305
We have moved this project to https://github.com/munepi/gckanbun.
@h20y6m
h20y6m / platex-lab.sty
Last active May 31, 2022 14:20
(u)pLaTeX で latex-lab するためのなにか
\ExplSyntaxOn
% (u)pLaTeXでなければ何もしない
\bool_lazy_or:nnF
{ \sys_if_engine_ptex_p: }
{ \sys_if_engine_uptex_p: }
{
\ExplSyntaxOff
\file_input_stop:
}