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 / saizeriya-test.saty
Created May 28, 2019
SATySFi:「サイゼリヤで1000円あれば最大何kcal摂れるのか」を解くパッケージ
View saizeriya-test.saty
@require: stdja
@require: saizeriya
%@import: saizeriya
%------------------------------------------------- メニューデータ
let the-menu = [
(|calorie=130;cost=299;name=`彩りガーデンサラダ`|);
(|calorie=115;cost=349;name=`小エビのサラダ`|);
(|calorie=134;cost=299;name=`やわらかチキンのサラダ`|);
(|calorie=92;cost=299;name=`わかめサラダ`|);
@zr-tex8r
zr-tex8r / menu.csv
Created May 25, 2019
Pandoc:「サイゼリヤで1000円あれば最大何kcal摂れるのか」を解くLuaフィルタ
View menu.csv
彩りガーデンサラダ 130 299
小エビのサラダ 115 349
やわらかチキンのサラダ 134 299
わかめサラダ 92 299
イタリアンサラダ 196 299
シーフードサラダ 229 599
半熟卵とポークのサラダ 433 599
コーンクリームスープ 142 149
冷たいパンプキンスープ(季節限定) 105 149
たっぷり野菜のミネストローネ(季節限定) 222 299
@zr-tex8r
zr-tex8r / bxpgfcurpage.sty
Last active May 18, 2019
LaTeX:とにかくTikZでcurrent pageしたいときに使うやつ
View bxpgfcurpage.sty
%%
%% This is file 'bxpgfcurpage.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 / pxxspace.sty
Created Apr 30, 2019
LaTeX: (u)pLaTeXでxspaceするためのやつ
View pxxspace.sty
%%
%% 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 / test-directunicode-full.tex
Created Apr 8, 2017
LaTeX: pLaTeX+pxchfonで源のアレしてみる件
View test-directunicode-full.tex
% upLaTeX文書, 文字コードはUTF-8
\documentclass[uplatex,a4paper]{jsarticle}
% 源ノアレはアレなので 'directunicode*' が必要
\usepackage[directunicode*,noalphabet]{pxchfon}[2017/04/08]% v0.9
\usepackage[english]{babel}
\usepackage[main=japanese]{pxbabel}
% TTC版の源ノアレを使う
\setminchofont [0]{SourceHanSerif-Regular.ttc}
\setkoreanminchofont [1]{SourceHanSerif-Regular.ttc}
\setschineseminchofont[2]{SourceHanSerif-Regular.ttc}
@zr-tex8r
zr-tex8r / kana-mix-tate.tex
Created Apr 16, 2017
LaTeX:LuaLaTeXだとかな混植が簡単にできて最高だという件
View kana-mix-tate.tex
% 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}},
@zr-tex8r
zr-tex8r / README.md
Last active Mar 27, 2019
LaTeX: To make blinking text (if you dare)
View README.md

bxblink Package

LaTeX: To make blinking text (if you dare)

System requirement

  • TeX format: LaTeX.
  • TeX engine: Anything.
  • DVI driver: dvips / dvipdfmx / pdfTeX / XeTeX.
@zr-tex8r
zr-tex8r / newera.tex
Created Mar 26, 2019
LaTeX:BXglyphwikiで新元号するかもしれないやつ
View newera.tex
%#!lualatex
\documentclass[margin=2bp]{standalone}
\usepackage[svgnames]{xcolor}
\usepackage{tikz,tikzducks,luatexja}
\usepackage[cache=5]{bxglyphwiki}
\definecolor{myframe}{rgb}{0.65,0.50,0.35}
\begin{document}
\begin{tikzpicture}[x=1bp,y=1bp]
\useasboundingbox (0,0) rectangle (140,140);
\draw[myframe, line width=6pt, rounded corners=2pt]
@zr-tex8r
zr-tex8r / reviewbreakall.tex
Last active Mar 15, 2019
LaTeX: \reviewbreakall のようなナニカ
View reviewbreakall.tex
\documentclass{article}
\makeatletter %!!!!!!!!!!!!!!!!!!!!!!!!! TeX code BEGIN
\newif\ifreview@ba@break
\def\review@ba@end{\review@ba@end@}
\DeclareRobustCommand{\reviewbreakall}[1]{%
\begingroup
\review@ba@breakfalse
\review@break@all@a#1\review@ba@end
\endgroup
}
@zr-tex8r
zr-tex8r / test.enc
Created Feb 21, 2019
TeX: IPAex明朝で欧文TFMしてdvipdfmxするとアレ
View test.enc
/test [
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/zero /one /two /three /four /five /six /seven
/eight /nine /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
You can’t perform that action at this time.