From ede5cad26d0ffd64404f27562d226580ab3e2cf9 Mon Sep 17 00:00:00 2001
From: Walmes Zeviani <walmes@ufpr.br>
Date: Tue, 23 Jul 2019 15:46:06 -0300
Subject: [PATCH] Updates to include book front cover.

---
 20-analise-covariancia.Rmd | 3 ++-
 _output.yml                | 2 +-
 index.Rmd                  | 7 ++++---
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/20-analise-covariancia.Rmd b/20-analise-covariancia.Rmd
index bb6f830..34d8ab4 100644
--- a/20-analise-covariancia.Rmd
+++ b/20-analise-covariancia.Rmd
@@ -671,7 +671,8 @@ grid <- attr(emm1, "grid")
 L <- attr(emm1, "linfct")
 rownames(L) <- grid$varied
 
-results <- wzRfun::apmc(X = L, model = m1, focus = "varied", test = "fdr")
+results <- wzRfun::apmc(X = L, model = m1,
+                        focus = "varied", test = "fdr")
 
 ggplot(data = results,
        mapping = aes(x = fit, y = reorder(varied, fit, mean))) +
diff --git a/_output.yml b/_output.yml
index 650f754..424e820 100644
--- a/_output.yml
+++ b/_output.yml
@@ -8,7 +8,7 @@ bookdown::gitbook:
     toc:
       before: |
         <center style="margin: 1em;">
-          <img src="../config/logo.png" width="150px"/>
+          <img src="../config/mpaer-cover.png" width="180px" style="box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.6);"/>
           <br/>
           <br/>
           <a href="./index.html" style="font-weight: bold; font-size: larger;">
diff --git a/index.Rmd b/index.Rmd
index eca8c9e..61ad32f 100644
--- a/index.Rmd
+++ b/index.Rmd
@@ -42,10 +42,11 @@ complement: >
   \end{center}
 ---
 
-<!-- # {-} -->
-
 <!-- Imagem de capa. -->
-<!-- <img src="config/capa.png" width="350" height="460" alt="Planejamento e Análise de Experimentos com R"/> -->
+```{r, echo = FALSE, results = "asis", eval = isOutput("html")}
+img <- '# {-}\n\n<img src="./config/mpaer-cover.png" width="350" alt="Manual de Planejamento e Análise de Experimentos com R" style="box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.6);"/>'
+cat(img, "\n")
+```
 
 # Apresentação {-}
 
-- 
GitLab