LaTeXのkey-value方式のオプション引数をイメージ
LaTeXでの例:
\scsnowman
\scsnowmanscsnowman[adjustbaseline,scale=1]
\includegraphics[width=100mm]{hoge.jpg}
@require: stdjabook | |
let-rec fact n = n * fact (n - 1) | |
in | |
document (| | |
title = {\SATySFi;概説}; | |
author = {Takashi SUWA}; |
% scarticle.satyh: An essential docuemnt class for SATySFi | |
% | |
% Copyright (c) 2018 Takayuki YATO (aka. "ZR") | |
% GitHub: https:%github.com/zr-tex8r | |
% Twitter: @zr_tex8r | |
% Distributed under the MIT License. | |
@require: pervasives | |
@require: list | |
@require: math |
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{demo-puzzle}[2018/09/05 v1.1]%イラロジ対応 | |
\RequirePackage{tikz} | |
\newcommand{\zahyo}[2]{#1,-#2} | |
\newcommand{\@sen}[2]{\draw[very thick](#1) -- (#2);} | |
\newcommand{\sankaku@nuri}[3]{\draw[fill=black] (#1) -- (#2) -- (#3);} |