(完成!)章节大写 | 章节编号缩进

(完成!)章节大写 | 章节编号缩进

我正在编辑这本书>> https://www.overleaf.com/read/dntbyngmsfzs

我遇到了 3 个问题:

在此处输入图片描述

  1. 顶部摘要我无法降低到 2.5 厘米

  2. 该章节未大写(大写)且未换行 =O

  3. 章节和小节的编号缩进超出了边距,我需要将其对齐(在图像中,编号“1.1”从“诗歌底部”开始)。

无论谁能给我帮助,我都会非常感激。

帮我!

答案1

A

它需要对文档进行四处更改:

在文件中结构.tex

(1)274 行

代替

\renewcommand{\@seccntformat}[1]{\llap{\textcolor{ocre}{\csname the#1\endcsname}\hspace{1em}}}  

为了

\renewcommand{\@seccntformat}[1]{\textcolor{ocre}{\csname the#1\endcsname}\hspace{1em}}    %<<<<<<<<<<<<<<<<

(2)324 行

代替

\node[anchor=north west] at (1.1cm,.35cm) {\parbox[t][8cm][t]{6.5cm}{\huge\bfseries\flushleft \printcontents{l}{1}{\setcounter{tocdepth}{1}}}};

为了

\node[anchor=north west] at (1.1cm,-2.35cm) {\parbox[t][8cm][t]{6.5cm}{\huge\bfseries\flushleft \printcontents{l}{1}{\setcounter{tocdepth}{2}}}}; %%<<<<<<<<<<<<<<<<<<<<<<<<<

(3)325 号线

代替

\draw[anchor=west] (5cm,-9cm) node [rounded corners=20pt,fill=ocre!10!white,text opacity=1,draw=ocre,draw opacity=0,line width=1.5pt,fill opacity=0,inner sep=12pt]{\huge\bfseries\textcolor{black}{\thechapter. #1\strut\makebox[22cm]{}}};

为了

\draw[anchor=west] (2cm,-9cm) node [rounded corners=20pt,fill=ocre!10!white,text opacity=1,draw=ocre,draw opacity=0,line width=1.5pt,fill opacity=0,inner sep=12pt]{\Large\bfseries\textcolor{black}{{\huge\thechapter.} \hspace{1em}\strut\parbox[c]{9cm}{\raggedright \uppercase{#1}}}};%%<<<<<<<<<<<<<<<<<<<<<

在文件中主文本

(4)使用\\选择您想要换行的位置。否则它们将被 LaTeX 选择。

\chapter{Bogotá mi ciudad \\ Utilizarás adecuadamente \\ los conectores lógicos\\ Analizarás una película}

像这样

d

使用以下方法在目录中以大写字母复制章节标题:

\chapter[\uppercase{Bogotá mi ciudad Utilizarás adecuadamente los conectores lógicos  Analizarás una película}]{Bogotá mi ciudad \\ Utilizarás adecuadamente \\ los conectores lógicos \\ Analizarás una película}

是

相关内容