From a53fc8c484b4dc9bb19b7211d9549e0591bf741b Mon Sep 17 00:00:00 2001 From: YASHIRO Taketsugu Date: Wed, 10 Jun 2026 15:48:43 +0900 Subject: [PATCH] Support line breaks within inline code by redefinition of \texttt{} --- Makefile | 1 + migration/header.tex | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 migration/header.tex diff --git a/Makefile b/Makefile index 1630fe69..8971aa19 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ PANDOC_OPT_PDF= -N --toc-depth=2 --table-of-contents \ -f markdown \ --wrap=preserve \ --template=eisvogel.latex \ + --include-in-header=header.tex \ -V documentclass=ltjsarticle \ -V classoption=titlepage \ --pdf-engine=xelatex diff --git a/migration/header.tex b/migration/header.tex new file mode 100644 index 00000000..8b7c44bc --- /dev/null +++ b/migration/header.tex @@ -0,0 +1,4 @@ +\usepackage{seqsplit} + +\let\oldtexttt\texttt +\renewcommand{\texttt}[1]{\oldtexttt{\seqsplit{#1}}} \ No newline at end of file