如何回到更高的级别?

如何回到更高的级别?

这是这里

只是出于印刷方面的兴趣:是否有可能返回到某些文档中的更高章节级别?有点误用子章节作为章节中较大的括号部分。抱歉,很难解释(我想,这就是我在谷歌或这里找不到任何东西的原因……)。

在一个句子中,你可以写“bla (blup [bla bla {blup}] bla) blup bla (blup) aso..”,每个人都能理解。这样也能进行分段吗?而且从印刷上看,这是“允许的”吗……?

如果你使用这样的行为:你会怎么做?像上面的链接那样使用装饰物或留白?读者真的能理解这是什么意思吗?那么跳过两个级别怎么样(抱歉,我有点抽象,但我觉得这很有趣)?


还要问一些技术问题。后面几页的标题怎么知道我又回到了更高的层次?


以下场景说明了该问题:

\documentclass[twoside]{scrreprt}
\usepackage{blindtext}
\usepackage{xcolor}

\begin{document}
\pagestyle{headings}
\chapter{Chapter}\label{cha:Chapter}
\textcolor{blue}{Hi there, I am starting a new chapter here.}
\blindtext[5]
\section{Section}\label{sec:Section}
\textcolor{blue}{To get more into detail than allready done in chapter \ref{cha:Chapter}, I will get a level down to a section. Explaining some stuff which is interesting at the very moment.}
\blindtext[5]
\subsection{Subsection}\label{sec:Subsection}
\textcolor{blue}{OK, I have to go more into detail. Here are some super special explanations about something from section \ref{sec:Section}.}
\blindtext[6]

\textcolor{blue}{Dear lector, everything from section \ref{sec:Section} with details in subsection \ref{sec:Subsection} got clear for now. Please jump two levels back onto the chapter level. You are now in chapter \ref{cha:Chapter} again:}.

\textcolor{red}{[!] Here I would need some ornament, white space, whatever... to tell the lector where he is. If this is not kind of "bad practise" in writing reports. The "two level jump" is just some worst case. Not very often used, I guess.}

\blindtext[3]
\textcolor{red}{Even with some cool typographical trick to get the lector back on chapter level, the header above would not know.}
\blindtext[1]
\end{document}

答案1

您想要做的事情可能对短文本有意义,因为短文本的每个部分都是一个短句,或者最多是几个短段落。对于这种情况,嵌套enumerate环境是完美的选择。很明显,在最后一项之后,您又回到了正文(章节、部分或小节)。

对于长篇文本,包含一些页面的章节和小节,我认为返回更高级别不是一个好主意,至少有四个原因:

首先,它破坏了文本的逻辑结构。在第 2.3 节之后,你总是希望找到第 2.4 节或第 3 章,而不是回到第 2 章的概括。人们希望首先看到介绍性文字,然后是具体部分,按此顺序。

其次,这迫使人们清楚地区分属于每个部分级别的文本格式。一个选项可能是像枚举列表一样嵌套部分级别的缩进,这会浪费大量空间,特别是如果有两个以上级别的话。其他不雅观的选项可能是为每个级别使用不同的颜色,或者添加一个额外的标题,如“第 2 章,续篇“这很难理解:”回到第 2 章!我之前在哪里?“。

第三,正文“第二部分”的开头也必须出现在目录中(否则看起来这部分属于最后一节或小节),或者必须显示每个项目的页面范围(不仅仅是第一页)。

第四,存在很多技术问题。正如 David 所指出的,分段命令不是环境,那么如何管理“第二章部分”中的交叉引用以避免引用最后一节?自动标题显示文本结构怎么办?真是一团糟!

相关内容