Newer
Older
MasterThesis / style / preamble.tex
% パッケージの読み込み(main.tex から \input される)
% 日本語処理(luatexja)は jlreq が LuaLaTeX 上で自動的に読み込む

% 数式とフォント(欧文・数式は Palatino 系.先輩の mathpazo に合わせる)
\usepackage{amsmath}
\usepackage{newpxtext, newpxmath}  % amssymb の記号も含む
\usepackage{bm}

% 見出し(先輩の jreport に合わせ,ゴシック + 欧文 Palatino 太字)
\ModifyHeading{chapter}{font={\huge\bfseries}}
\ModifyHeading{section}{font={\Large\bfseries}}
\ModifyHeading{subsection}{font={\large\bfseries}}
\ModifyHeading{subsubsection}{font={\normalsize\bfseries}}

% 図表
\usepackage{graphicx}
\graphicspath{{figures/}}
\usepackage{float}          % [H] で位置を固定
\usepackage{subcaption}     % 小図 (a)(b)
\captionsetup{format=hang, font=small, labelfont=bf}  % 先輩の caption[hang,small,bf] と同じ
\usepackage{booktabs}       % 表の罫線
\usepackage{multirow}
\usepackage{siunitx}        % 数値と単位: \SI{3}{N}, \num{0.84}

% PDF の差し込み(表紙・背表紙)
\usepackage{pdfpages}

% 色(修正箇所の強調・TODO)
\usepackage{xcolor}

% 参考文献(bib/references.bib を biber で処理,引用順の番号)
\usepackage[backend=biber, style=ieee]{biblatex}
\addbibresource{bib/references.bib}
\setlength{\biblabelsep}{0.5em}  % jlreq では番号 [1] と本文の間が詰まるため

% URL とリンク(hyperref はなるべく最後に読み込む)
\usepackage{url}
\usepackage[
  hidelinks,
  bookmarksnumbered=true,
]{hyperref}