Latex 中的章节设计

Latex 中的章节设计

我正在写一本六年级的数学书。我需要一种特殊的章节标题样式。有人有想法吗?任何帮助都将不胜感激。
我计划在标题中添加图片。我正在做的工作示例:

\documentclass{report}
\usepackage[T1]{fontenc}
\usepackage{titlesec, blindtext, color}
\definecolor{gray75}{gray}{0.75}
\newcommand{\hsp}{\hspace{20pt}}
\titleformat{\chapter}[hang]{\Huge\bfseries}{\thechapter\hsp\textcolor{gray75}{|}\hsp}{0pt}{\Huge\bfseries}
\begin{document}
\tableofcontents
\chapter{Greatest common divisor}
\blindtext
\end{document}

我在 Google 上看到的例子如下:

在此处输入图片描述

相关内容