$ clang -framework Foundation -o ToHiragana ToHiragana.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{countpdfpages}[2023/04/19 v0.1] | |
\RequirePackage{iftex} | |
\newcount\PDFPageCount | |
\newif\if@countpdfpages@pagenumread | |
\def\CountPDFPages#1{% | |
\IfFileExists{#1}{% | |
\ifluatex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
/// 設定のデフォルト値 | |
// (ə)のような括弧で囲まれた発音記号の扱い | |
enum ParenTreatment: Int { | |
case none = 1, // そのまま | |
flatten, // 括弧を開く | |
remove // 発音記号ごと削除する | |
} | |
// デフォルトは(ə)などはそのまま |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%#!xelatex | |
\documentclass[xelatex]{bxjsarticle} | |
\usepackage{xltxtra} | |
\usepackage{multicol} | |
\pagestyle{empty} | |
\ExplSyntaxOn | |
\NewDocumentCommand{\codepoint}{m}{ | |
U+ | |
\int_compare:nNnTF{#1}<{"1000}{0}{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import re | |
from zipfile import ZipFile | |
from getpass import getpass | |
if len(sys.argv) == 1: | |
print("Usage: {} ZIP_FILE(S)...".format(sys.argv[0])) | |
exit(0) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%#!(u)platex | |
\documentclass[dvipdfmx,autodetect-engine]{jsarticle} | |
\usepackage{pgffor} | |
\usepackage{tcolorbox} | |
\tcbuselibrary{skins,breakable} | |
\tcbset{enhanced jigsaw,colback=red!5!white,colframe=red!75!black,breakable,fonttitle=\gtfamily,before upper=\setlength\parindent{1zw}} | |
\makeatletter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{uuid}[2019/04/30 v0.1] | |
\newif\ifuuid@lowercase | |
\uuid@lowercasefalse | |
\DeclareOption{lowercase}{\uuid@lowercasetrue} | |
\ProcessOptions\relax |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{randomshuffle}[2019/01/18 v0.2] | |
\RequirePackage{keyval} | |
\ifdefined\pdfuniformdeviate | |
\let\randomshuffle@uniformdeviate\pdfuniformdeviate | |
\let\randomshuffle@setrandomseed\pdfsetrandomseed | |
\else\ifdefined\uniformdeviate | |
\let\randomshuffle@uniformdeviate\uniformdeviate | |
\let\randomshuffle@setrandomseed\setrandomseed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% (u)pLaTeX + dvipdfmx | |
\documentclass[8pt,b6paper,dvipdfmx,autodetect-engine,tombo]{jsarticle} | |
\usepackage[pdfbox]{gentombow} | |
\usepackage{tikz} | |
\usepackage{pxpgfmark} | |
\def\test{% | |
\begin{tikzpicture}[remember picture, overlay] | |
\coordinate (NE) at (current page.north east); |