Compile with:
pdftex --translate-file ./texmas texmas.tex
| %#!lualatex | |
| \documentclass{article} | |
| \usepackage[a6paper, scale=0.88]{geometry} | |
| \usepackage{fontspec} | |
| % Font available at https://github.com/zr-tex8r/SCVarSnowman | |
| \newfontface\fSCVS{SCVarSnowman.ttf}[Renderer=HarfBuzz] | |
| \newcommand*{\cItem}[1]{% | |
| \item \makebox[5em][l]{\ttfamily MOOD=#1}% | |
| % 'MOOD' axis: +100=smiling .. 0=neutral .. -100=frowning | |
| {\fSCVS\addfontfeatures{RawFeature={+axis={MOOD=#1}}}% |
Compile with:
pdftex --translate-file ./texmas texmas.tex
| %#!uplatex | |
| %% upLaTeX で min10 してみる | |
| %% TeX Live 2023 以降の uplatex が必要 | |
| % ---------------------------------------------------------------------- | |
| % どうして uplatex じゃないの? | |
| \ifnum\jis"2121="3000 \else | |
| \typeout{Why not run `uplatex'?} |
| \ExplSyntaxOn | |
| %--------------------------------------- | |
| %% \token_if_jachar:N <token> | |
| % Tests if <token> is a jachar token or not. | |
| \bool_lazy_or:nnTF | |
| { \sys_if_engine_ptex_p: } | |
| { \sys_if_engine_uptex_p: } | |
| { | |
| \use:x | |
| { |
| \ExplSyntaxOn | |
| % (u)pLaTeXでなければ何もしない | |
| \bool_lazy_or:nnF | |
| { \sys_if_engine_ptex_p: } | |
| { \sys_if_engine_uptex_p: } | |
| { | |
| \ExplSyntaxOff | |
| \file_input_stop: | |
| } |
| %#!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 |
| % 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:} |
| # | |
| # 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 |
| -- zrdecompttc.lua | |
| prog_name = 'zrlistttc' | |
| version = '0.2' | |
| mod_date = '2019/08/31' | |
| ---------------------------------------- | |
| verbose = false | |
| content = { 6 } | |
| langid = nil | |
| ttc_file = nil | |
| ---------------------------------------- |