HiTeXでgraphicxパッケージしたいやつ
これらのファイルをTeXから見える場所に置く。
HiTeXでgraphics/xパッケージを読み込むと自動的にzrhitex.defが適用される。
注意
あまり期待しないように
- 現状のHINTフォーマットではカラーは未サポートのため、カラー指定は無視される。
\input sclatex | |
\dump |
%#!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 |
\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 | |
{ |
local ffi = require("ffi") | |
ffi.cdef[[ | |
int GetLocaleInfoEx( | |
const wchar_t *lpLocaleName, | |
unsigned long LCType, | |
wchar_t *lpLCData, | |
int cchData | |
); | |
]] | |
function to_wstr(str) |
これらのファイルをTeXから見える場所に置く。
HiTeXでgraphics/xパッケージを読み込むと自動的にzrhitex.defが適用される。
あまり期待しないように
%% | |
%% 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 |
\countdef\QN=255 \QN=0 | |
\def\TEST#1{\advance\QN1 \immediate\write16 | |
{\the\QN. #1True\else False\fi}} | |
% preconditions | |
\let\a=a | |
\let\b=a | |
\def\c{c} | |
\chardef\d=`d | |
\let\primA\indent |