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
% | |
% zxjatype.sty | |
% | |
%% package declaration | |
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{zxjatype}[2012/09/09 v0.6 ZX Japanese typeset] | |
\RequirePackage{ifxetex}\RequireXeTeX | |
%% code guards | |
\edef\zxjt@restore@codes{% |
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
\documentclass[dvipdfmx]{beamer} %% dvipdfmx, if you use it... | |
\usepackage[T1]{fontenc} | |
\usepackage{lmodern} | |
\usetheme{Madrid} | |
\setbeamercolor{strong warn}{bg=red!80!black, fg=white} | |
\title{Something Not So Like an Example} | |
\author{Somebody Not So Like ZR} | |
\begin{document} |
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
^^5cdef^^5c^^6ce^^6e^^67^^74^^68^^7b^^5c^^78^^78^^40^^6ce^^6e^^40^^69^^6e^^69^^7d | |
^^5cdef^^5c^^78^^78^^40^^71^^40^^6dc^^7b^^5c^^6e^^6fe^^78^^70a^^6ed^^5c^^78^^78^^40^^71^^40^^6dc^^40^^7d | |
^^5cdef^^5c^^78^^78^^40^^71^^40^^6d^^6b^^7b^^5c^^6e^^6fe^^78^^70a^^6ed^^5c^^78^^78^^40^^71^^40^^6d^^6b^^40^^7d | |
^^5cdef^^5c^^78^^78^^40ca^^72^^231^^232^^7b^^231^^7d | |
^^5cdef^^5c^^78^^78^^40cd^^72^^231^^232^^7b^^232^^7d | |
^^5cdef^^5c^^78^^78^^40^^67b^^6c^^231^^7b^^7d | |
^^5cdef^^5c^^78^^78^^40^^6d^^74^^7b^^7d | |
^^5cdef^^5c^^78^^78^^40^^69f^^78^^231^^7b^^5c^^69f^^78^^231\expandafter^^5c^^78^^78^^40ca^^72^^5ce^^6c^^73e\expandafter^^5c^^78^^78^^40cd^^72^^5cf^^69^^7d | |
^^5cdef^^5c^^78^^78^^40^^69f^^6d^^74^^231^^7b^^5c^^78^^78^^40^^69f^^78^^7b^^5c^^78^^78^^40^^71^^40^^6dc^^231^^5c^^78^^78^^40^^71^^40^^6dc^^7d^^7d | |
^^5cdef^^5c^^78^^78^^40^^6ce^^6e^^40^^69^^6e^^69^^231^^7b^^5c^^78^^78^^40^^6ce^^6e^^7b^^231^^7b^^5c^^78^^78^^40^^6d^^74^^7d^^7d^^7d |
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
\documentclass[a4paper,12pt]{jarticle} | |
\usepackage{plext} | |
\usepackage{graphicx} | |
% ↓ページレイアウトを枠線で示す | |
\usepackage[showframe,pass]{geometry} | |
\begin{document} | |
\begin{table}[htbp] | |
% \textheight だと実際には少し増えてはみ出す | |
\rotatebox{90}{\begin{minipage}{0.95\textheight} | |
\centering |
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
\documentclass[a4paper]{jsarticle} | |
\usepackage{plext} | |
\usepackage{okumacro} | |
%% \ruby の設定を縦書き用にする. (現在グループで有効) | |
\newcommand{\taterubysetup}{% | |
\renewcommand*{\kanjistrut}{\rule[-0.5zw]{0pt}{1zw}}% | |
} | |
\newcommand{\SampleText}{% | |
\ruby{夜食}{やしょく}\\ | |
\ruby{就寝}{しゅうしん} |
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
% bxcmbright.sty | |
%% pacakge declaration | |
\NeedsTeXFormat{LaTeX2e} | |
\ProvidesPackage{bxcmbright}[2012/09/27 v0.2] | |
%--------------------------------------- Basic settings | |
%% math version 'bright' | |
\DeclareMathVersion{bright} |
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
%#! lualatex | |
\documentclass[a4paper]{article} | |
\def\length#1{% | |
\directlua{\unexpanded{ | |
require('lualibs-unicode') | |
local input = [[#1]] | |
local state = 'r' | |
% print(input) | |
for i = 1, utf.len(input) do | |
local r = utf.byte(utf.sub(input, i, i)) |
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
% 普通に platex して dvipdfmx したら | |
% 切り出した形の PDF が作れる | |
\documentclass{standalone} | |
\usepackage{plext} % わざわざ縦書きにしてみる | |
\begin{document} | |
\begin{minipage}<t>{6zw} | |
あきらめたら\\ | |
そこで\\ | |
試合終了だよ | |
\end{minipage} |
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
% | |
% prdvipdfmx.def | |
% | |
%% Avoids duplicate loading. | |
\csname bxpw@prdvipdfmx@loaded\endcsname | |
\def\bxpw@prdvipdfmx@loaded{\endinput} | |
%% If the engine is XeTeX or pdfTeX/LuaTeX then quits. | |
\@tempswatrue | |
\ifx\XeTeXversion\@undefined\else \@tempswafalse \fi | |
\ifx\pdfoutput\@undefined\else |
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
% pxjaschar.sty | |
\NeedsTeXFormat{pLaTeX2e} | |
\ProvidesPackage{pxjaschar} | |
%% \pxsc@disc@times | |
% Normal definition of \* in LaTeX. | |
\def\pxsc@disc@times{% | |
\discretionary{\thinspace\the\textfont2\char2}{}{}% | |
} |