├── nlproceedings-sample.pdf ├── LICENSE ├── .gitignore ├── nlproceedings-sample.tex ├── README.md └── nlproceedings.cls /nlproceedings-sample.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anlp-nenji/nlproceedings/HEAD/nlproceedings-sample.pdf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright 2020 Takuto ASAKURA (wtsnjp) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Core latex/pdflatex auxiliary files: 2 | *.aux 3 | *.lof 4 | *.log 5 | *.lot 6 | *.fls 7 | *.out 8 | *.toc 9 | *.fmt 10 | 11 | ## Intermediate documents: 12 | *.dvi 13 | *-converted-to.* 14 | # these rules might exclude image files for figures etc. 15 | *.ps 16 | *.eps 17 | #*.pdf 18 | 19 | ## Bibliography auxiliary files (bibtex/biblatex/biber): 20 | *.bbl 21 | *.bcf 22 | *.blg 23 | *-blx.aux 24 | *-blx.bib 25 | *.brf 26 | *.run.xml 27 | 28 | ## Build tool auxiliary files: 29 | *.fdb_latexmk 30 | *.synctex 31 | *.synctex.gz 32 | *.synctex.gz(busy) 33 | *.pdfsync 34 | 35 | ## Auxiliary and intermediate files from other packages: 36 | # algorithms 37 | *.alg 38 | *.loa 39 | 40 | # achemso 41 | acs-*.bib 42 | 43 | # amsthm 44 | *.thm 45 | 46 | # beamer 47 | *.nav 48 | *.snm 49 | *.vrb 50 | 51 | # cprotect 52 | *.cpt 53 | 54 | #(e)ledmac/(e)ledpar 55 | *.end 56 | *.[1-9] 57 | *.[1-9][0-9] 58 | *.[1-9][0-9][0-9] 59 | *.[1-9]R 60 | *.[1-9][0-9]R 61 | *.[1-9][0-9][0-9]R 62 | *.eledsec[1-9] 63 | *.eledsec[1-9]R 64 | *.eledsec[1-9][0-9] 65 | *.eledsec[1-9][0-9]R 66 | *.eledsec[1-9][0-9][0-9] 67 | *.eledsec[1-9][0-9][0-9]R 68 | 69 | # glossaries 70 | *.acn 71 | *.acr 72 | *.glg 73 | *.glo 74 | *.gls 75 | 76 | # gnuplottex 77 | *-gnuplottex-* 78 | 79 | # hyperref 80 | *.brf 81 | 82 | # knitr 83 | *-concordance.tex 84 | *.tikz 85 | *-tikzDictionary 86 | 87 | # listings 88 | *.lol 89 | 90 | # makeidx 91 | *.idx 92 | *.ilg 93 | *.ind 94 | *.ist 95 | 96 | # minitoc 97 | *.maf 98 | *.mtc 99 | *.mtc[0-9] 100 | *.mtc[1-9][0-9] 101 | 102 | # minted 103 | _minted* 104 | *.pyg 105 | 106 | # morewrites 107 | *.mw 108 | 109 | # mylatexformat 110 | *.fmt 111 | 112 | # nomencl 113 | *.nlo 114 | 115 | # sagetex 116 | *.sagetex.sage 117 | *.sagetex.py 118 | *.sagetex.scmd 119 | 120 | # sympy 121 | *.sout 122 | *.sympy 123 | sympy-plots-for-*.tex/ 124 | 125 | # pdfcomment 126 | *.upa 127 | *.upb 128 | 129 | #pythontex 130 | *.pytxcode 131 | pythontex-files-*/ 132 | 133 | # Texpad 134 | .texpadtmp 135 | 136 | # TikZ & PGF 137 | *.dpth 138 | *.md5 139 | *.auxlock 140 | 141 | # todonotes 142 | *.tdo 143 | 144 | # xindy 145 | *.xdy 146 | 147 | # xypic precompiled matrices 148 | *.xyc 149 | 150 | # WinEdt 151 | *.bak 152 | *.sav 153 | 154 | # endfloat 155 | *.ttt 156 | *.fff 157 | 158 | # Latexian 159 | TSWLatexianTemp* 160 | 161 | # debug file 162 | *.dbg 163 | 164 | # rc file 165 | .latexmkrc 166 | -------------------------------------------------------------------------------- /nlproceedings-sample.tex: -------------------------------------------------------------------------------- 1 | %#!texfot platex 2 | % NLproceedings サンプル文書.パブリックドメイン. 3 | \documentclass[ 4 | platex, dvipdfmx, % ワークフローは必ず明示的に指定する 5 | ]{nlproceedings} 6 | 7 | % パッケージ 8 | \usepackage{graphicx,xcolor} % グラフィックス関連 9 | \usepackage{bxjalipsum} % ダミーテキスト 10 | \usepackage{url} 11 | 12 | % 以下は(u)pLaTeX用.LuaLaTeX使用時には削除すること 13 | \usepackage[T1]{fontenc} % モダンなフォントエンコーディング 14 | \usepackage{jlreq-deluxe} % 多書体化(otf パッケージは使用しない) 15 | \usepackage{pxrubrica} % ルビ 16 | 17 | % 著者用マクロ 18 | \newcommand{\pkg}[1]{\textsf{#1}} 19 | \newcommand{\code}[1]{\texttt{#1}} 20 | 21 | \title{\pkg{NLProceedings}文書クラス サンプル文書} 22 | \author{% 23 | 言語太郎 \\ 言語大 \\ \texttt{taro@nlp.example.com}\and 24 | 言語花子 \\ 言語大 \\ \texttt{hanako@nlp.example.com}} 25 | 26 | \begin{document} 27 | 28 | \maketitle 29 | 30 | \section{はじめに} 31 | 32 | \pkg{NLProceedings}文書クラスはW3Cにより策定されている『日本語組版の要件』% 33 | \cite{JLREQ}に準拠することを目指す\pkg{jlreq}クラスをベースにしている. 34 | 本文書クラスでは紙面スペースの都合上,多くの余白値をかなり詰めるように設定 35 | しており,例えば行間は\ruby{外国人参政権}{がい|こく|じん|さん|せい|けん}の 36 | ようにルビを振るとほとんど余裕がない. 37 | 38 | さてNLP分野の論文では,単純なテキストのみならず,しばしば数式 39 | % 40 | \begin{equation} 41 | P(B\mid A) = \frac{P(A\mid B)P(B)}{P(A)} 42 | \end{equation} 43 | % 44 | や箇条書き 45 | % 46 | \begin{itemize} 47 | \item 第一の項目 48 | \item 第二の項目 49 | \end{itemize} 50 | % 51 | といった構造も用いられるが,これらもよく知られた文書クラス(例えば 52 | \pkg{jsarticle})等と同様のシンタックスで利用できる. 53 | 54 | \subsection{図表の挿入} 55 | 56 | 図表についても通常の\LaTeX と同じ方法を用いることができる. 57 | 58 | \subsubsection{図について} 59 | 60 | 図の挿入は通常\pkg{graphicx}パッケージによって行う(図\ref{fig:sample}). 61 | クラスオプションにワークフロー(\code{dvipdfmx}等)を指定していれば, 62 | 各パッケージを読み込む際に何度も同じオプションを指定する必要はない. 63 | % 64 | \begin{figure}[h] 65 | \centering 66 | \includegraphics[width=3cm]{example-image-a} 67 | \caption{何らかの図} 68 | \label{fig:sample} 69 | \end{figure} 70 | 71 | \subsubsection{表について} 72 | 73 | 表組みももちろん利用できるが,図とは異なりキャプションは表本体の上に付ける 74 | (表\ref{tab:sample}). 75 | % 76 | \begin{table}[h] 77 | \centering 78 | \caption{適当な表} 79 | \label{tab:sample} 80 | \begin{tabular}{ll} 81 | \hline 82 | 日本語 & Japanese \\ 83 | 英語 & English \\ 84 | \hline 85 | \end{tabular} 86 | \end{table} 87 | 88 | 本文書クラスの仕様については\code{README.md}を参照されたい.以下,いくらか 89 | 長さのある文章を組版したときの様子を確認するためのダミーテキストである. 90 | 91 | \section{ダミーテキスト} 92 | 93 | \jalipsum[1-3]{wagahai} 94 | 95 | \jalipsum[4-23]{wagahai} 96 | 97 | \begin{thebibliography}{9} 98 | \bibitem{JLREQ} 99 | W3C日本語組版タスクフォース.日本語組版の要件(日本語版). 100 | \url{https://www.w3.org/TR/jlreq/},2020.(2020-11-09閲覧) 101 | \end{thebibliography} 102 | 103 | \end{document} 104 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # NLProceedings 文書クラス(v1.0.2 2025-10-17) 2 | 3 | ## 概要 4 | 5 | 言語処理学会の年次大会予稿集用 LaTeX 文書クラスです.[W3C 日本語組版の要件 (JLREQ)](https://www.w3.org/TR/jlreq/) に準拠することを目指した jlreq クラスをベースにしており,LaTeX による日本語組版で一般によく用いられる pLaTeX, upLaTeX, LuaLaTeX をサポートしています. 6 | 7 | ### 注意 8 | 9 | これは開発版リポジトリです.本リポジトリで配布されている文書クラスを利用して,**言語処理学会提出用の原稿を作成することはできません**.大会提出用原稿作成には必ず大会ウェブサイトで配布されている規定文書クラスを利用してください. 10 | 11 | ## 動作要件 12 | 13 | * TeX フォーマット:LaTeX2e 14 | * TeX エンジン:pLaTeX, upLaTeX, LuaTeX 15 | * 依存クラス:jlreq 16 | 17 | 推奨環境は **TeX Live 2018 (frozen) 以降**です.推奨環境であれば,追加でインストールする必要なものはありません.(それより古い環境では別途 [jlreq](https://www.ctan.org/pkg/jlreq), [plautopatch](https://www.ctan.org/pkg/plautopatch) を入手・インストールする必要があるかもしれません.いずれにせよ TeX Live 2017 より古いものには深刻な脆弱性が知られていますので,そのような環境をお使いの場合はアップデートを強く推奨します.) 18 | 19 | ## サンプル文書 20 | 21 | 本文書クラスには,仕上がりを確認するためのサンプル文書が付属しています.同文書は,そのままテンプレートとして用いられることも想定しています. 22 | 23 | * ソース:[nlproceedings-sample.tex](./nlproceedings-sample.tex) 24 | * PDF:[nlproceedings-sample.pdf](./nlproceedings-sample.pdf) 25 | 26 | ## 使い方 27 | 28 | 本文書クラスは,基本的に jlreq クラスの仕様をそのまま引き継いでいます.そのため,仕様の詳細は [jlreq のマニュアル](http://mirrors.ctan.org/language/japanese/jlreq/jlreq-ja.pdf)を参照してください.ただし,一般的なユーザ用コマンドや環境に関しては,pLaTeX の標準クラス (jclasses) や新ドキュメントクラス (jsclasses) とほぼ同様なので,基本的には何かを新しく学ぶ必要はないはずです. 29 | 30 | ### 文書クラス宣言とクラスオプション 31 | 32 | LaTeX 標準の通り `\documentclass` により行います.その際,使用するワークフロー(使用エンジン,DVI ウェア)を必ず明示的に指定してください.こうすることにより,各種パッケージを `\usepackage` で読み込む際に個別にドライバオプションを指定する必要はなくなります. 33 | 34 | **pLaTeX + dvipdfmx を使用する場合** 35 | 36 | ```tex 37 | %#!platex 38 | \documentclass[platex,dvipdfmx]{nlproceedings} 39 | ``` 40 | 41 | **upLaTeX + dvipdfmx を使用する場合** 42 | 43 | ```tex 44 | %#!uplatex 45 | \documentclass[uplatex,dvipdfmx]{nlproceedings} 46 | ``` 47 | 48 | **LuaLaTeX を使用する場合** 49 | 50 | ```tex 51 | %#!lualatex 52 | \documentclass[lualatex]{nlproceedings} 53 | ``` 54 | 55 | また,本文書クラスには独自オプションがあります. 56 | 57 | * `english`: 各種ラベルの英語化など,最低限の英語対応を有効にします.英語で原稿作成する場合に使用してください.ただし,本文書クラスはそもそも日本語組版を前提に設計されており,このオプションを使用しても高品質の欧文組版が保証されるわけではありません. 58 | 59 | 上記以外のクラスオプションは,原則としてそのまま jlreq クラスに渡されます.ただし,基本版面設計に関わるようなオプション(例えば紙面サイズ,フォントサイズ,段組み数に関わるもの)は無効化されています.使わないでください. 60 | 61 | ### 体裁に関して 62 | 63 | 予稿集全体を通して体裁を揃えるという趣旨に則り,本文の文字サイズを変更したり,`\setlength` 等により版面設計に関わる寸法値を大域的に変更したりすることはお控えください.また,図表中を含め,文字サイズが小さくなり過ぎないようにご留意ください. 64 | 65 | なお,参考文献リストに関してはデフォルトで `\small` サイズで出力されるようになっています.このフォントサイズを変更する場合は,プリアンブルで `\bibfont` を再定義してください. 66 | 67 | ```tex 68 | \renewcommand{\bibfont}{\normalsize} 69 | ``` 70 | 71 | ### 多書体化(多ウェイト化)に関して 72 | 73 | 旧来の日本語文書クラスでは,多書体化(多ウェイト化)を行う場合は `otf` パッケージが広く用いられてきました.しかし,同パッケージを本文書クラスと併用すると,本クラスの意図する組版を実現できなくなります.特に,**1行あたりの文字数が変化してしまうため,学会指定の要件を満たさなくなる可能性が高いです.そのため otf パッケージは原則使用しないでください.** 74 | 75 | 本クラスで多書体化(多ウェイト化)を実現したい場合は **otf パッケージの代わりに [jlreq-deluxe パッケージ](https://github.com/h20y6m/jlreq-deluxe/blob/master/README-ja.md)を使用する**ようにしてください. 76 | 77 | ```tex 78 | \usepackage{jlreq-deluxe} 79 | ``` 80 | 81 | ### 長い見出しへの対応 82 | 83 | `\section` や `\subsection` に与える「見出し文字列」が長く,紙面において複数行に渡るような場合,デフォルトの行取り設定では上下のマージンが小さくなってしまい見栄えが悪くなることがあります.そのような場合は,jlreq クラスの `\ModifyHeading` コマンドを用いて一時的に行取り設定を変更してください. 84 | 85 | ```tex 86 | \SaveHeading{section}{\restoresection} 87 | \ModifyHeading{section}{ 88 | lines=3, % この数字を十分に大きくする 89 | } 90 | \section{長い長い長い長い長い長い長い長い長い長い長い長い長い長い見出し} 91 | \restoresection 92 | ``` 93 | 94 | なお対象がサブセクションの場合は上記コードの “section” をすべて “subsection” に読み替えてください. 95 | 96 | ## バグ報告 97 | 98 | 本文書クラスに関するバグや不具合,あるいは改善提案等は GitHub 上の開発リポジトリまでご報告ください. 99 | 100 | * 101 | 102 | ## ライセンス 103 | 104 | 本文書クラスは [MIT ライセンス](./LICENSE)の下で配布します. 105 | 106 | --- 107 | 108 | Takuto Asakura 109 | -------------------------------------------------------------------------------- /nlproceedings.cls: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `nlproceedings.cls'. 3 | %% 4 | %% Copyright 2020-2025 Takuto Asakura 5 | %% 6 | %% This class is distributed under the MIT License. 7 | %% 8 | 9 | %% Note: このファイルは日本語文字を含みます. 10 | 11 | %% 依存パッケージ 12 | \RequirePackage{expl3,xparse,l3keys2e} 13 | 14 | %% クラス宣言 15 | \NeedsTeXFormat{LaTeX2e} 16 | \ProvidesExplPackage {nlproceedings} {2025-10-17} {1.0.2} 17 | {Japanese document class for the proceedings of nlproceedings} 18 | 19 | %% メッセージ 20 | \msg_new:nnn { nlproceedings } { disallowed-option } 21 | { Option~ '#1'~ is~ disallowed;~ skipping. } 22 | 23 | %% (u)pTeX 用パッチ類 24 | \clist_const:Nn \c__nlpr_ptex_requirements_clist { plautopatch } 25 | \sys_if_engine_ptex:T 26 | { 27 | \RequirePackage { \c__nlpr_ptex_requirements_clist } 28 | } 29 | \sys_if_engine_uptex:T 30 | { 31 | \RequirePackage { \c__nlpr_ptex_requirements_clist } 32 | } 33 | 34 | %% クラスオプション 35 | \bool_new:N \g_nlpr_english_bool 36 | 37 | \clist_new:N \g__nlpr_options_clist 38 | \clist_new:N \g__nlpr_disallowed_options_clist 39 | \seq_new:N \g__nlpr_disallowed_options_seq 40 | 41 | % jlreq に渡す 42 | \clist_gset:Nn \g__nlpr_disallowed_options_clist 43 | { 44 | article, report, book, paper, fontsize, jafontsize, jafontscale, 45 | line_length, number_of_lines, head_space, foot_space, gutter, fore_edge, 46 | fore-edge, headfoot_verticalposition, headfoot_sidemargin, column_gap, 47 | baselineskip, linegap, hanging_punctuation, narrow_kanjiskip, 48 | sidenote_length, use_reverse_pagination, landscape, tate, oneside, twoside, 49 | oneclumn, twocolumn, titlepage, notitlepage, openright, openany 50 | } 51 | \clist_map_inline:Nn \g__nlpr_disallowed_options_clist 52 | { 53 | \seq_gput_right:Nx \g__nlpr_disallowed_options_seq { \tl_to_str:n {#1} } 54 | } 55 | \cs_new:Nn \__nlpr_process_class_option: 56 | { 57 | % 2020年に変更 \l_keys_key_tl -> \l_keys_key_str 58 | \cs_if_exist:NF \l_keys_key_str 59 | { \cs_set_eq:NN \l_keys_key_str \l_keys_key_tl } 60 | \seq_if_in:NoTF \g__nlpr_disallowed_options_seq { \l_keys_key_str } 61 | { \msg_warning:nnx { nlproceedings } { disallowed-option } { \l_keys_key_str } } 62 | { \clist_gput_right:No \g__nlpr_options_clist { \CurrentOption } } 63 | } 64 | 65 | % オプション実行 66 | \keys_define:nn { nlproceedings / option } 67 | { 68 | english .bool_gset:N = \g_nlpr_english_bool, 69 | english .default:n = true, 70 | unknown .code:n = \__nlpr_process_class_option: 71 | } 72 | \ProcessKeysOptions { nlproceedings / option } 73 | \PassOptionsToClass { \g__nlpr_options_clist } { jlreq } 74 | 75 | 76 | %% 基本版面設計 77 | % 規定オプションを指定して jlreq を読み込む 78 | \LoadClass 79 | [ 80 | paper=a4, % 用紙サイズ 81 | twocolumn, % 二段組 82 | fontsize=10pt, % フォントサイズ 83 | baselineskip=1.5zh, % 行送り 84 | head_space=3cm, % 天 85 | foot_space=3cm, % 地 86 | gutter=2cm, % のど 87 | fore-edge=2cm, % 小口 88 | ] { jlreq } 89 | 90 | % ノンブル非表示 91 | \pagestyle{empty} 92 | 93 | % 欧文フォント(タイムズ系) 94 | \RequirePackage[full]{textcomp} % 記号類の補完 95 | \RequirePackage[defaultsups]{newtxtext} % 脚注記号は LaTeX 標準のまま 96 | \RequirePackage[bigdelims,vvarbb]{newtxmath} % 黒板太字は STIX 97 | \RequirePackage[cal=boondoxo]{mathalfa} % 花文字 98 | 99 | % タイプライタ体 100 | \sys_if_engine_luatex:TF 101 | { 102 | \RequirePackage{fontspec} 103 | \setmonofont[StylisticSet={1,3}]{Inconsolatazi4-Regular} 104 | } 105 | { 106 | \RequirePackage[varqu,varl]{inconsolata} 107 | } 108 | 109 | %% タイトル 110 | % complement \jlreq@keepbaselineskip 111 | % cf. https://github.com/abenori/jlreq/commit/f565a5f 112 | \providecommand{\jlreq@keepbaselineskip}[1]{% 113 | \begingroup 114 | \edef\jlreq@do{\unexpanded{#1}\noexpand\baselineskip=\the\baselineskip}% 115 | \expandafter\endgroup 116 | \jlreq@do 117 | } 118 | 119 | \group_begin: 120 | \makeatletter 121 | \gdef\@maketitle{% 122 | \newpage\null 123 | \vskip 2\baselineskip% 124 | \begin{center}% 125 | {\jlreq@keepbaselineskip{\LARGE}\sffamily\gtfamily\bfseries\@title\par}% 126 | \vskip\baselineskip 127 | {\jlreq@keepbaselineskip{\large}% 128 | \lineskip .5\zh 129 | \begin{tabular}[t]{c}% 130 | \@author 131 | \end{tabular}% 132 | \par 133 | }% 134 | \end{center}% 135 | \par 136 | \vskip\baselineskip 137 | \ifvoid\jlreq@abstractbox\else\unvbox\jlreq@abstractbox\fi 138 | } 139 | \group_end: 140 | 141 | %% 英語対応 142 | \bool_if:NT \g_nlpr_english_bool 143 | { 144 | \tl_set:Nn \abstractname { Abstract } 145 | \tl_set:Nn \contentsname { Table~ of~ Contents } 146 | \tl_set:Nn \refname { References } 147 | \tl_set:Nn \indexname { Index } 148 | \tl_set:Nn \listfigurename { List~ of~ Figures} 149 | \tl_set:Nn \figurename { Figure } 150 | \tl_set:Nn \listtablename { List~ of~ Tables } 151 | \tl_set:Nn \tablename { Table } 152 | \tl_set:cn { fnum@figure } { \figurename\nobreakspace\thefigure } 153 | \tl_set:cn { fnum@table } { \tablename\nobreakspace\thetable } 154 | } 155 | 156 | %% 見出し 157 | \ModifyHeading{section}{ 158 | lines=2, 159 | } 160 | 161 | %% 参考文献 162 | \renewenvironment{thebibliography}[1]{% 163 | \jlreq@oldfontcommand@enable 164 | \section*{\refname}% 165 | \@mkboth{\refname}{\refname}% 166 | \bibfont 167 | \list{\@biblabel{\@arabic\c@enumiv}}% 168 | {\settowidth\labelwidth{\@biblabel{#1}}% 169 | \labelsep=1\zw 170 | \leftmargin\labelwidth 171 | \advance\leftmargin\labelsep 172 | \itemindent=0pt 173 | \@openbib@code 174 | \usecounter{enumiv}% 175 | \let\p@enumiv\@empty 176 | \renewcommand\theenumiv{\@arabic\c@enumiv}}% 177 | \sloppy 178 | \clubpenalty4000 179 | \@clubpenalty\clubpenalty 180 | \widowpenalty4000% 181 | \sfcode`\.\@m 182 | }{% 183 | \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}% 184 | \endlist 185 | \jlreq@oldfontcommand@disable 186 | } 187 | \tl_set:Nn \bibfont { \small } 188 | 189 | %% 各種寸法 190 | \AtBeginDocument{ 191 | \setlength{\abovedisplayskip}{6pt plus 3pt minus 3pt} 192 | \setlength{\belowdisplayskip}{6pt plus 3pt minus 3pt} 193 | \setlength{\floatsep}{6pt plus 2pt minus 2pt} 194 | \setlength{\textfloatsep}{10pt plus 2pt minus 4pt} 195 | \setlength{\intextsep}{6pt plus 2pt minus 2pt} 196 | \setlength{\dblfloatsep}{6pt plus 2pt minus 2pt} 197 | \setlength{\dbltextfloatsep}{10pt plus 2pt minus 4pt} 198 | \setlength{\abovecaptionskip}{.25\baselineskip} 199 | \setlength{\belowcaptionskip}{0pt} 200 | } 201 | \jlreqsetup{ 202 | itemization_beforeafter_space={0pt,i=.25\baselineskip}, 203 | caption_font={\small}, % キャプション 204 | } 205 | 206 | % vim: ft=expl3 nospell: 207 | %% EOF 208 | --------------------------------------------------------------------------------