_pimento old settings
code:template.tex
\usepackage{graphicx} % draft \usepackage{calc}
\usepackage{hyperref}
\usepackagemost{tcolorbox} %\usepackage{mytitle}
\usepackage{makeidx}\makeindex
\usepackage{url}
\usepackage{listings}
\usepackage{bm}
\usepackage{amsmath}
\let\maketitle\relax
\usepackage{mytitle}
\usepackage{titlesec}
% 行内にアイコン画像を表示するための設定
\newlength\myheight
\newlength\mydepth
\settototalheight\myheight{Xygp}
\settodepth\mydepth{Xygp}
\setlength\fboxsep{0pt}
\newcommand*\scrapboxicon1{% \settototalheight\myheight{Xygp}%
\settodepth\mydepth{Xygp}%
}
\lstset{
backgroundcolor={\colorgray{.95}}, basicstyle={\small\ttfamily},
lineskip=0truemm,
}
% 箇条書き内のコードブロック
\lstdefinestyle{pimento-block}{
breaklines=true
}
\lstdefinestyle{pimento-inline}{
aboveskip=-3truemm,
breaklines=true
}
% 引用ブロック
\definecolor{quote-gray}{gray}{0.9}
\newenvironment{pimento-quote}{\begin{quote}}{\end{quote}}
\tcolorboxenvironment{pimento-quote}{
blanker,
borderline west={0.1in}{0pt}{quote-gray}
}
\renewcommand{\lstlistingname}{リスト}
\renewcommand{\figurename}{図}
\renewcommand{\baselinestretch}{0.95}
% ページの左右余白比の調整
%\setlength{\marginparwidth}{0pt}
%\setlength{\marginparsep}{0pt}
%\setlength{\oddsidemargin}{0pt}
%\setlength{\evensidemargin}{0pt}
% autorefの設定
\def\equationautorefname~#1\null{式(#1)\null}
\def\figureautorefname~#1\null{図#1\null}
\def\subfigureautorefname#1\null{図#1\null}
\def\tableautorefname~#1{表#1}
\def\lstlistingautorefname~#1{リスト#1}
\def\partautorefname#1\null{第#1部\null}
\def\chapterautorefname#1\null{第#1章\null}
\def\sectionautorefname#1\null{#1節}
\def\subsectionautorefname~#1\null{#1節}
\def\subsubsectionautorefname#1\null{#1節}
\def\appendixautorefname#1\null{付録#1\null}
\makeatletter
\renewcommand{\title}1{\gdef\@title{\bfseries\sffamily\gtfamily{#1}}} \renewcommand{\author}1{\gdef\@author{\bfseries\sffamily\gtfamily{#1}}} \renewcommand{\date}1{\gdef\@date{\bfseries\sffamily\gtfamily{#1}}} \makeatother
\title{Template} % 動的に書き換えられる
% =====pimento-page-preamble=====
\hypersetup{final}
\setcounter{secnumdepth}{5}
\begin{document}
\maketitle
\tableofcontents
% =====pimento-book-content=====
\end{document}
% =====pimento-options=====
% icons=gray // text*, gray, color, ignore
% images=gray // gray*, color, ignore
% heading-number-omit-level=3 // 3
% index=true // false*, true