これらのファイルをTeXから見える場所に置く。
HiTeXでgraphics/xパッケージを読み込むと自動的にzrhitex.defが適用される。
あまり期待しないように🙃
- 現状のHINTフォーマットではカラーは未サポートのため、カラー指定は無視される。
%#!latex | |
% 0-2-4-6-8 | |
% 0######### How many moves are | |
% :# # # # needed to go | |
% 2# ## ## from (1,1) to (7,1) ? | |
% :### # # | |
% 4# # # | |
% :######### | |
\makeatletter | |
\newcount\my@x \newcount\my@y \newcount\my@m |
% | |
% bxhanoi.sty : The "Tower of Hanoi" puzzle shown in graphics | |
% | |
%% package declaration | |
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{bxhanoi}[2012/02/01] | |
%% variables | |
\newcount\bxhp@step |
local ffi = require("ffi") | |
ffi.cdef[[ | |
int GetLocaleInfoEx( | |
const wchar_t *lpLocaleName, | |
unsigned long LCType, | |
wchar_t *lpLCData, | |
int cchData | |
); | |
]] | |
function to_wstr(str) |
% LuaLaTeX文書,UTF-8 | |
% jlreqクラス・縦組の例 | |
\documentclass[lualatex,tate,paper=a6,twocolumn]{jlreq} | |
\usepackage{luatexja-fontspec} | |
\setmainjfont[ | |
YokoFeatures={JFM=jlreq}, %jlreqのJFMを | |
TateFeatures={JFM=jlreqv}, %維持する | |
AltFont={% 代替フォント設定 | |
{Range="3040-"30FF, Font=IPAexMincho}, | |
{Range={`☃,`⛄}, Font=SourceHanSans}}, |
\documentclass{article} | |
\usepackage[papersize={100mm,148mm},margin=0cm, | |
noheadfoot]{geometry} | |
\usepackage{luatexja-fontspec} | |
\newfontfamily{\fPagella}{TeX Gyre Pagella} | |
\newfontfamily{\fHeros}{TeX Gyre Heros} | |
\newfontface{\fNalnia}{nalnia.ttf} % nalnia | |
% http://www9.atwiki.jp/hrain/m/pages/79.html | |
\newfontface{\fComfortaa}{Comfortaa-Bold.ttf} % Comfortaa | |
\newfontface{\fAoyagi}{AoyagiKouzanFontT.ttf} % 青柳衡山フォントT |
%% | |
%% This is file 'scluamessages.sty'. | |
%% | |
%% Copyright (c) 2022 Takayuki YATO (aka. "ZR") | |
%% GitHub: https://github.com/zr-tex8r | |
%% Twitter: @zr_tex8r | |
%% | |
%% This package is distributed under the MIT License. | |
%% |
% tcspingif -e pdflatex -t 256 -i 20 --alternate | |
\documentclass{standalone} | |
\usepackage[T1]{fontenc} | |
\usepackage{lmodern} | |
\newcommand*{\cLobs}[1]{% | |
\fontfamily{Lbstr-LF}\fontsize{#1}{0}\selectfont} | |
\usepackage{xcolor} | |
\usepackage{tikz,pgfmath,scsnowman} | |
\colorlet{mybase}{green!70!blue} | |
\colorlet{mytext}{mybase!60!black} |
%#!lualatex | |
\documentclass{article} | |
\usepackage[papersize={100mm,148mm},margin=0cm, | |
noheadfoot]{geometry} | |
\usepackage{luatexja-fontspec} | |
\usepackage{amsmath,tikz,graphicx,xcolor,xparse,pgfmath} | |
\usetikzlibrary{calc,positioning} | |
\newcommand{\cLet}{\pgfmathsetmacro} | |
\newfontface{\fEthi}{NotoSerifEthiopic-Black.ttf}[FakeSlant=0.1] | |
\newfontface{\fAleg}{Alegreya-ExtraBoldItalic.otf} |
\expandafter \let \expandafter \ехраndаftеr \let \let \nоехраnd \expandafter \ехраndаftеr \nоеxраnd | |
\ехраndаftеr \ехраndаftеr \еxраndаftеr \noexpand \expandafter \ехраndаftеr \expandafter \ехpаndаftеr | |
\chardef \noexpand \nоеxраnd \ехраndаfter \advance \nоеxраnd \eхраndаftеr \escapechar \ехраndаftеr | |
\ехрandаftеr \endcsname \nоеxраnd \ехраndaftеr \toks \ехраndаftеr \сsnаmе \ехраndаftеr \expandafter | |
\сsnаmе \expandafter \еxpаndаftеr \csname \string \string \ехрandаftеr \ехраndаftеr \exраndаftеr | |
\csname \сsnаmе \еxраndаfter \string \nоеxраnd \еxрandаftеr \catcode \noexpand \сsnаmе \еxраndaftеr | |
\the \сsnаmе \eхpаndаftеr \meaning \ехpаndаftеr \ехpаndаfter \deadcycles \countdef \ехpandаftеr | |
\ехpаndаfter \ехpаndаftеr \ехpаndaftеr \ехpandаftеr \ехpаndаftеr \eхраndаfter \eхраndаftеr \eхраndаftеr | |
\ехpаndaftеr \ехраndаfter \eхраndаftеr \ехpаndaftеr \ехpаndаftеr \eхрandаftеr \eхраndаftеr \eхраndаftеr | |
\еxрandаftеr \еxрandаftеr \eхрandаftеr \еxpаndаftеr \ехpаndаftеr \eхраndaftеr \еxрandаft |