~subsetpark/subsetpark

9e78d18d256cafa0d230e918e26f088a685e4902 — Zach Smith 11 months ago 7120767
correct latex in page and opts
2 files changed, 15 insertions(+), 14 deletions(-)

M pages/illustrated_whist.md
M temple/page.temple
M pages/illustrated_whist.md => pages/illustrated_whist.md +12 -13
@@ 177,17 177,16 @@ tricks, then the base value of their contract is incremented by up to
the difficulty bonus.

$$
\begin{equation}
\begin{align*}
\text{Hand Value} =
\left\( 
\begin{aligned}
	12                             & \text{, if Slam announced} \\\\
	\text{CBV} + 6                 & \text{, if Slam made and CBV} \leq 6 \\\\
	12                             & \text{, if Slam made and CBV} \geq 6
\end{aligned}
\right\)
+ \text{Difficulty Bonus}
\end{equation}
  \left( 
  \begin{aligned}
	12             & \text{, if Slam announced}           \\\\
	\text{CBV} + 6 & \text{, if Slam made and CBV} \leq 6 \\\\
	12             & \text{, if Slam made and CBV} \geq 6 \\\\
  \end{aligned}
  \right) + \text{Difficulty Bonus}
\end{align*}
$$

---


@@ 248,9 247,9 @@ $$
\text{Declarers Score} &= 
  \left\( 
  \begin{aligned}
  	\text{Hand Value}  & \text{, if contract made} \\\\
  	-(\text{Hand Value}) & \text{, if contract set} \\\\
  	-(24 + \text{Difficulty Bonus})  & \text{, if contract set and Slam announced} \\\\
  	\text{Hand Value}              & \text{, if contract made} \\\\
  	-(\text{Hand Value})            & \text{, if contract set} \\\\
  	-(24 + \text{Difficulty Bonus}) & \text{, if contract set and Slam announced} \\\\
  \end{aligned}
  \right\) \times \text{doubles} + \text{Bonuses Scores} \\\\
\text{Opponents Score} &=  \text{Bonuses Scores}

M temple/page.temple => temple/page.temple +3 -1
@@ 10,7 10,9 @@
      {- (when-let [sigil (get-in args [:_item :sigil])]
               (printf `<div class="sigil">%s</div>` sigil)) -}
      <h1>{{ (get-in args [:_item :title]) }}</h1>
      {- (-> (get-in args [:_item :body]) (bagatto/markdown->html :opts [:unsafe] :exts [:table])) -}
      {- (-> (get-in args [:_item :body]) (bagatto/markdown->html
                                           :opts [:smart :footnotes :unsafe]
                                           :exts [:table])) -}
    </div>
    <div class="col-md-3">
      <h3>Recent Posts</h3>