Skip to content

Instantly share code, notes, and snippets.

💭
🍣🦆🍣

Takayuki YATO zr-tex8r

💭
🍣🦆🍣
Block or report user

Report or block zr-tex8r

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zr-tex8r
zr-tex8r / nyc2019.tex
Created Jan 3, 2019
LaTeX:2019年の年賀状
View nyc2019.tex
\documentclass{article}
\usepackage[papersize={100mm,148mm},margin=0cm,
noheadfoot]{geometry}
\usepackage{luatexja-fontspec}
\usepackage{amsmath,tikz,graphicx,xcolor,xparse}
\usetikzlibrary{calc}
\newfontface{\fSegoe}{segoeuiz.ttf}
\newfontface{\fUniv}{UniversalisADFStd-BoldCond.otf}
\newfontface{\fNishiki}{Nishiki-teki.ttf}
\newjfontface{\jNishiki}{Nishiki-teki.ttf}
@zr-tex8r
zr-tex8r / scternoidal.sty
Last active Aug 10, 2019
LaTeX: カウンタの出力書式を☃の“変態3進法”にする
View scternoidal.sty
%%
%% This is file 'scternoidal.sty'.
%%
%% Copyright (c) 2018 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 / scsnowman-zrsymmetric.def
Created Aug 8, 2019
LaTeX:scsnowmanで対称なゆきだるま☃
View scsnowman-zrsymmetric.def
%%
%% This is file 'scsnowman-zrsymmetric.def'.
%%
%% Copyright (c) 2019 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
%% This package is distributed under the MIT License.
%%
\NeedsTeXFormat{LaTeX2e}
@zr-tex8r
zr-tex8r / biggggg.lua
Created Jul 31, 2019
Pandoc:“Markdownはデカイ文字を書くのに便利”的なフィルタ
View biggggg.lua
-- biggggg.lua
--
-- @copyright 2019 Takayuki YATO (aka. "ZR")
-- GitHub: https://github.com/zr-tex8r
-- Twitter: @zr_tex8r
-- This program is distributed under the MIT License.
--
local filter_name = 'biggggg'
---------------------------------------- 設定
@zr-tex8r
zr-tex8r / hello.tex
Last active Jul 21, 2019
LaTeX: Which kind of “LaTeX” am I using?
View hello.tex
%%
%% This is file 'hello.tex'.
%%
%% Copyright (c) 2018,2019 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
%% This file is distributed under the MIT License.
%%
\documentclass[a4paper]{article}
@zr-tex8r
zr-tex8r / japara.lua
Created Jul 20, 2019
Pandoc:Markdownを「ワープロ式」の段落表現で書きたい人のためのLuaフィルタ
View japara.lua
-- japara.lua
--
-- @copyright 2019 Takayuki YATO (aka. "ZR")
-- GitHub: https://github.com/zr-tex8r
-- Twitter: @zr_tex8r
-- This program is distributed under the MIT License.
--
local filter_name = 'japara'
---------------------------------------- 設定
@zr-tex8r
zr-tex8r / dotest.lua
Created Jul 15, 2019
Incompatibility result on use of LuaFFI on LuaTeX, between version 1.10 and 1.07
View dotest.lua
ffi = require "ffi"
ffitest = ffi.load("ffitest")
ffi.cdef[[
void test1(unsigned long);
]]
ffitest.test1(42) -->I got 42.
ffitest.test1(42.0) -->I got 42.
ffitest.test1(42.195) -->I got 0. (LuaTeX 1.10.0 / Lua 5.3)
-->I got 42. (LuaTeX 1.07.0 / Lua 5.2)
@zr-tex8r
zr-tex8r / readme-song.md
Last active Jul 15, 2019
LaTeX: 素敵☃な楽曲を組版する
View readme-song.md

注意:このLaTeX文書はWindows専用です。

比較的新しいLuaTeXエンジンが必要です。

コンパイル方法:

lualatex -shell-escape song
@zr-tex8r
zr-tex8r / bxhanoi.sty
Created Feb 6, 2012
The Tower of Hanoi with graphics, in LaTeX
View bxhanoi.sty
%
% bxhanoi.sty : The "Tower of Hanoi" puzzle shown in graphics
%
%% package declaration
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bxhanoi}[2012/02/01]
%% variables
\newcount\bxhp@step
@zr-tex8r
zr-tex8r / bxamstext.sty
Last active Jun 23, 2019
LaTeX: ヤバくない \text の実装
View bxamstext.sty
%% bxamstext.sty
%% package declaration
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bxamstext}[2015/12/19 v0.2]
%% preparation
\def\bxtt@pkgname{bxamstext}
%% load packages
You can’t perform that action at this time.