Closed friendly closed 8 years ago
Given that this is a global change in \chaptoc
, it probably make the most sense for you to tell me the settings you found worked best and I'll make the changes.
Ok. I was about to commit the changes. The changes (in bold red) to be done are:
** chapter.Rnw *
\newcommand{\chapvtoc}{%
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=north east] at ([shift={(-2*5*mm,-1*5*mm)}]current
page.north east) {\resizebox{3in}{!}{\usebox{\chaptocbox}}};
\end{tikzpicture}
}
** book.Rnw*
\newcommand{\chapvtoc}{%
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=north east] at ([shift={(-2*5*mm,-1*5*mm)}]current
page.north east) {\resizebox{3in}{!}{\usebox{\chaptocbox}}};
\end{tikzpicture}
}
* */front/vtoc03.tex*
\savebox\chaptocbox{%
\begin{tikzpicture}[grow cyclic, text width=2cm, align=flush center,
every node/.style=concept, concept
color=partcol1,
level 1/.style={level distance=4cm, sibling
angle=60, %% 360/# of sections
concept
color=partcol2,font=\sffamily},
]
\node[font=\bfseries\sffamily] {3 Fitting \& Graphing Discrete
Distributions} [clockwise from=*6*0] % root node
child { node {3.1 \\ Introduction}}
child { node {3.2 \\ Characteris\-tics}}
child { node {3.3 Fitting}}
child { node {3.4 \\ Ord plots}}
child { node {3.5 \\ Poissonness plots}}
child { node (sec36) {3.6 \\ Fitting by GLMs}}
;
\end{tikzpicture}
}
\chapvtoc
Once rotated the toc of chapter 3, the problem disappears.
On 10/15/2015 1:57 PM, Michael Friendly wrote:
Given that this is a global change in |\chaptoc|, it probably make the most sense for you to tell me the settings you found worked best and I'll make the changes.
— Reply to this email directly or view it on GitHub https://github.com/friendly/VCDR/issues/55#issuecomment-148472775.
In the 2nd round of copy edits, we are asked to move the chapter vtoc mind maps so they aren't so close to the page margins.
The code that does this (in book.rnw and chapter.rnw) is
Need to change shift={}, but make sure it doesn't screw up page layout