Bring previous commits in line with standards.

- Use maingray from colors.tex instead of hardcoded value.
- Remove font size specification in side bar.
- Use \eg to generate e.g. in standard way
- Update flowcharts_tikz.tex to use arrows.meta instead of arrows,
  rather than in addition to.
This commit is contained in:
Ramin Kamal
2025-01-08 14:50:09 -08:00
parent 6392b59df8
commit bcc7afbf21
2 changed files with 8 additions and 8 deletions

View File

@@ -33,15 +33,15 @@
\draw [line] (limitcheck_n) -- node { Yes } (abort_n); \draw [line] (limitcheck_n) -- node { Yes } (abort_n);
\draw [line] (readycheck_n) -- node { Yes } (final_n); \draw [line] (readycheck_n) -- node { Yes } (final_n);
\node [below of=feedok_n, node distance=2cm, align=left] (details2) [shape=rectangle,draw,fill=white!90!black]{ \node [below of=feedok_n, node distance=2cm, align=left] (details2) [shape=rectangle,draw,fill=maingray]{
\fontsize{7}{9}\selectfont For the \emph{Initial Mixture}, mix \qty{50}{\gram} flour/\qty{50}{\gram} water.\\ For the \emph{Initial Mixture}, mix \qty{50}{\gram} flour/\qty{50}{\gram} water.\\
\fontsize{7}{9}\selectfont The Mixture is \emph{Ready} when it has The Mixture is \emph{Ready} when it has
\emph{grown}, has \emph{bubbles}, and \emph{smells} \emph{grown}, has \emph{bubbles}, and \emph{smells}
vinegary/yoghurty. \\ vinegary/yoghurty. \\
\fontsize{7}{9}\selectfont The Mixture has \emph{Failed} when you The Mixture has \emph{Failed} when you
have fed it too many (eg 10) times without success.\\ have fed it too many (\eg~10) times without success.\\
\fontsize{7}{9}\selectfont To \emph{Feed the Mixture}, discard all but \qty{10}{\gram}, mix in \qty{50}{\gram} flour and \qty{50}{\gram} water. To \emph{Feed the Mixture}, discard all but \qty{10}{\gram}, mix in \qty{50}{\gram} flour and \qty{50}{\gram} water.
}; };
\end{tikzpicture} \end{tikzpicture}

View File

@@ -1,6 +1,6 @@
\tikzstyle{every picture}+=[font=\footnotesize\sffamily] \tikzstyle{every picture}+=[font=\footnotesize\sffamily]
\usetikzlibrary{calc, shapes, arrows, decorations.pathreplacing, calligraphy, \usetikzlibrary{calc, shapes, arrows.meta, decorations.pathreplacing, calligraphy,
positioning, arrows.meta} positioning}
\tikzstyle{decision} = [diamond, draw=codeblack, fill=codeblack, text=white, \tikzstyle{decision} = [diamond, draw=codeblack, fill=codeblack, text=white,
text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt, text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt,
line width=2mm] line width=2mm]