标题和编号的标签重叠,而且我对 latex 没有任何经验,我认为 sty 文件是sections.sty
在文本中是一个简单的:\part{Part Tres: NPCs}
但在猪圈里
%%%%%%%%%%%%%% \part
\titleformat{\part}
[display]
{\thispagestyle{part}\nodesto\fontsize{50pt}{50pt}\selectfont\color{title1}\filcenter}
{\partname \thepart}
{-15pt}
{\Large}
\titlespacing*{\part}{0pt}{-54pt}{0pt}
%%%%%%%%%%%%%% \chapter
这是主要内容
\documentclass[10pt,a4paper,twocolumn,openany]{book}
%\documentclass[10pt,a4paper,openany]{book}
\usepackage[bg-letter]{lib/rpg-book} % Options: bg-a4, bg-letter,
bg-full, bg-print, bg-none.
\usepackage[portuguese]{babel}
%\usepackage[utf8]{inputenc}
\usepackage{lipsum}
% Start document
\begin{document}
\fontfamily{ppl}
\selectfont % Set text font
\frontmatter
\rpgMakeCover[
image = img/part-cover,
logo = img/logo,
title = Memorias da Terra Media e Dru Hill ,
subtitle = Created by Maikon
]
\tableofcontents
% Your content goes here
% -----------------------------------------
\chapter{Resumo de Hist\'orias e Contos entre A Terra e Dru Hill}
\mainmatter
\part{Campanhas e Hist\'orias}
重要的是部分项目,其定义就在我提供的模板里。
完整设计如下:
答案1
需要的是放大零件编号框。
% !TeX TS-program = xelatex
\documentclass[10pt,a4paper,twocolumn,openany]{book}
\usepackage[bg-letter]{lib/rpg-book} % Options: bg-a4, bg-letter, bg-full, bg-print, bg-none.
\usepackage[portuguese]{babel}
\usepackage{lipsum}
\titleformat{\part}
[display]
{\thispagestyle{part}\nodesto\fontsize{50pt}{50pt}\selectfont\color{title1}\filcenter}
{\partname~\thepart}% changed <<<<<<<
{-15pt}
{\Large}
%************************ added <<<<<<<<
\newlength{\extrawidth}%
\settowidth{\extrawidth}{VIII} % the width of "VIII"
\addtolength{\cftpartnumwidth}{\extrawidth}% expand the box of the part number
%*********************************
% Start document
\begin{document}
\fontfamily{ppl}
\selectfont % Set text font
\frontmatter
\rpgMakeCover[
image = img/cover,
logo = img/logo,
title = Memorias da Terra Media e Dru Hill ,
subtitle = Created by Maikon
]
\tableofcontents
% Your content goes here
% -----------------------------------------
\mainmatter
\part{Campanhas e Hist\'orias}
\lipsum[1-20]
\part{Personalidades}
\end{document}