3 列页面,左/0 和右/2 部分-子部分-子部分编号问题

3 列页面,左/0 和右/2 部分-子部分-子部分编号问题

我可能完全做错了,但我正在尝试学习编写一种流程/工作流/框架。我使用三列页面格式,尝试保持每页相同的部分,其中:

  1. left/0 列包含一个采用连续编号方案的节、子节和子子节。
  2. 中心/1 列图形工作流程。
  3. 右/2 列有小节、小小节和项目。(此处编号方案不是从“左/0 列”开始的)

我可能遗漏了什么或者做错了什么?

任何能够帮助我了解我做错了什么或我应该查看哪个包来找出我的错误的信息都将不胜感激。

在此处输入图片描述

\newpage

\begin{paracol}{3} % Create 3 columns
\switchcolumn[0]* % Switch to the left column (0-indexed)

\section{Quick Change Task Form}
\subsection{Key Details on the Publication Form}
\subsubsection{Title: automatically set at assigned by workflow}
\subsubsection{RequestID: new numbering scheme automatically set by workflow.}
\subsubsection{Requested By: the person who submitted the request.}
\subsubsection{Assigned To: the assigned person defined during assignment by Standards Manager.}
\subsubsection{Peer Reviewer: the peer reviewer defined during assignment by Standards Manager.}
\subsubsection{Status: automatically set by workflow.}
\subsubsection{Open Date: date in which the quick-change task was created; automatically set by workflow.}
\subsubsection{Revision Date: date in which the last revision to the quick-change task took place; automatically set by workflow.}
\subsubsection{Target Date: target resolution date defined during the assignment by Standards Manager.}
\subsubsection{Hide Attachments: Show/hide the attachments section.}

% Store the last subsubsection counter value
\edef\storedsubsection{\arabic{subsubsection}}

\switchcolumn[2] % Switch to the left column (0-indexed)

% Restore the stored subsubsection counter value
\setcounter{subsubsection}{\storedsubsection}

\subsection{Quick Change Task Overview}
\subsubsection{Creation}
\begin{enumerate}
\item Task is created from a closed ETSR
\item Alternatively, Standards team members can submit a request.
\item Also automatically created as part of a Project if the “Create Quick Change” checkbox is checked when creating development tasks during Planning.
\item Status = Submitted.
\end{enumerate}
\subsubsection{Assignment}
\begin{enumerate}
\item Standards Manager sets Assigned To, approver, and publisher, as well as other assignment details.
\item RTL is responsible for defining assignment details for quick-change tasks that are part of a project.
\item Status changes to assigned
\item Alternatively, standards manager can close right away
\end{enumerate}
\subsubsection{Development}
\begin{enumerate}
\item Assigned to drafts the deliverables to meet the scope of the request.
\item Assigned to resolves the quick-change tasks and adds resolution details
\item If development, status changes to under review
\item Other resolution options include moved to dashboard, deferred, duplicate, not accepted, and no longer needed; status changes to closed.
\end{enumerate}
\subsubsection{Assignment}
\begin{enumerate}
\item The quick-change tasks process does not include a peer review.
\end{enumerate}
\subsubsection{Approval}
\begin{enumerate}
\item If approval is required (decided by standards manager during assignment), the approver reviews the quick-change task and adds approval details.
\item If not approved, quick-change task is assigned to, status changed to assigned, and the process repeats.
\item If approved, status changes to awaiting publishing.
\end{enumerate}
\subsubsection{Publishing}
\begin{enumerate}
\item Publisher moves the completed deliverables to the appropriate publication location and adds publishing details.
\item Status changes to published.
\end{enumerate}

\switchcolumn[1] % Switch to the left column (0-indexed)

\begin{adjustbox}{vcenter,center}

% Define block and line styles
\tikzstyle{block} = [rectangle, draw, fill=gray!25, text=black, text width=6em, text centered, rounded corners, minimum height=5em]
\tikzstyle{line} = [draw, -latex']

% Create the TikZ picture environment
\begin{tikzpicture}[node distance = 3.5cm, auto]

    % Creates the blocks
    \node [block, fill=gray!25] (sec1) {Creation};
    \node [block, fill=red!25!gray!85, below of=sec1] (sec2) {Assignment};
    \node [block, fill=red!35!gray!45, below of=sec2] (sec3) {Development};
    \node [block, fill=red!45!gray!55, below of=sec3] (sec4) {No Peer Review};
    \node [block, fill=red!55!gray!65, below of=sec4] (sec5) {Approval};
    \node [block, fill=red!65!gray!75, below of=sec5] (sec6) {Publishing};

% Connect the blocks with lines
\path [line] (sec1) -- (sec2);
\path [line] (sec2) -- (sec3);
\path [line] (sec3) -- (sec4);
\path [line] (sec4) -- (sec5);
\path [line] (sec5) -- (sec6);

\end{tikzpicture}
\end{adjustbox}
\end{paracol}{3} % Create 3 columns

\end{document}

答案1

paracol包用于排版内容帕拉llel,手册就是这种排版结果和源的示例,其他示例包括同时排版翻译。这通常意味着在不同的列中复制相同的内容,因此标签在每个列中本地运行。

该包提供\globalcounter{<counter>}在所有列中使用相同计数器的功能。在您的示例中,这将要求\globalcounter{section}\globalcounter{subsection},通常您可能需要提升代码中使用的任何其他计数器,以使列看起来连续。

或者,您也可以将\syncallcountersbefore设置\switchcolumn为列之间计数器的全面同步。但是没有\globalallcounters等效项,因此必须在\switchcolumn可能增加计数器的每个操作之前发出此操作。

\documentclass{article}
\usepackage{paracol}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}

\globalcounter{section}
\globalcounter{subsection}

\begin{document}
\begin{paracol}{3} % Create 3 columns
\switchcolumn[0]* % Switch to the left column (0-indexed)

\section{Quick Change Task Form}
\subsection{Key Details on the Publication Form}
\subsubsection{Title: automatically set at assigned by workflow}
\subsubsection{RequestID: new numbering scheme automatically set by workflow.}

\syncallcounters
\switchcolumn[2] % Switch to the left column (0-indexed)

\subsection{Quick Change Task Overview}
\subsubsection{Creation}
\begin{enumerate}
\item Task is created from a closed ETSR
\item Alternatively, Standards team members can submit a request.
\item Also automatically created as part of a Project if the “Create Quick Change” checkbox is checked when creating development tasks during Planning.
\item Status = Submitted.
\end{enumerate}
\subsubsection{Assignment}
\begin{enumerate}
\item Standards Manager sets Assigned To, approver, and publisher, as well as other assignment details.
\item RTL is responsible for defining assignment details for quick-change tasks that are part of a project.
\item Status changes to assigned
\item Alternatively, standards manager can close right away
\end{enumerate}

\switchcolumn[1] % Switch to the left column (0-indexed)

\centering

% Define block and line styles
\tikzstyle{block} = [rectangle, draw, fill=gray!25, text=black, text width=6em, text centered, rounded corners, minimum height=5em]
\tikzstyle{line} = [draw, -latex']

% Create the TikZ picture environment
\begin{tikzpicture}[node distance = 3.5cm, auto]

    % Creates the blocks
    \node [block, fill=gray!25] (sec1) {Creation};
    \node [block, fill=red!25!gray!85, below of=sec1] (sec2) {Assignment};
    \node [block, fill=red!35!gray!45, below of=sec2] (sec3) {Development};
    \node [block, fill=red!45!gray!55, below of=sec3] (sec4) {No Peer Review};
    \node [block, fill=red!55!gray!65, below of=sec4] (sec5) {Approval};
    \node [block, fill=red!65!gray!75, below of=sec5] (sec6) {Publishing};

% Connect the blocks with lines
\path [line] (sec1) -- (sec2);
\path [line] (sec2) -- (sec3);
\path [line] (sec3) -- (sec4);
\path [line] (sec4) -- (sec5);
\path [line] (sec5) -- (sec6);

\end{tikzpicture}
\end{paracol}
\end{document}

编译后的代码显示第 1 列从第 1 节开始,第 3 列从第 1.2 小节开始

相关内容