updates
diff --git a/.Rproj.user/441ADA46/sources/prop/3A027C68 b/.Rproj.user/441ADA46/sources/prop/3A027C68
new file mode 100644
index 0000000..cd13759
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/prop/3A027C68
@@ -0,0 +1,5 @@
+{
+ "cursorPosition" : "87,0",
+ "scrollLine" : "0",
+ "tempName" : "Untitled1"
+}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/60EAAA4E b/.Rproj.user/441ADA46/sources/prop/60EAAA4E
index 724b0e7..3024e15 100644
--- a/.Rproj.user/441ADA46/sources/prop/60EAAA4E
+++ b/.Rproj.user/441ADA46/sources/prop/60EAAA4E
@@ -1,4 +1,4 @@
{
- "cursorPosition" : "56,472",
- "scrollLine" : "55"
+ "cursorPosition" : "40,0",
+ "scrollLine" : "25"
}
\ No newline at end of file
diff --git a/.Rproj.user/441ADA46/sources/prop/INDEX b/.Rproj.user/441ADA46/sources/prop/INDEX
index cb81b1b..647ef2d 100644
--- a/.Rproj.user/441ADA46/sources/prop/INDEX
+++ b/.Rproj.user/441ADA46/sources/prop/INDEX
@@ -20,6 +20,7 @@
~%2FDocuments%2FGitHub%2Fposterdown%2Finst%2Frmarkdown%2Ftemplates%2Fposterdown_pdf%2Ftemplate.yaml="30D43C1A"
~%2FDocuments%2FGitHub%2Fposterdown%2Fman%2Fposterdown.Rd="3F353B4B"
~%2FDocuments%2FGitHub%2Fposterdown%2Fman%2Fposterdown_pdf.Rd="358A3C65"
+~%2FDocuments%2Fmytestmem.tex="3A027C68"
~%2FTemplates%2FUntitled%2FUntitled.Rmd="5A12846A"
~%2FUntitled%2FUntitled.Rmd="D3D80052"
~%2Ftest.tex="CFB8C52C"
diff --git a/.Rproj.user/441ADA46/sources/per/t/25D73910 b/.Rproj.user/441ADA46/sources/s-FE609B0F/25D73910
similarity index 74%
rename from .Rproj.user/441ADA46/sources/per/t/25D73910
rename to .Rproj.user/441ADA46/sources/s-FE609B0F/25D73910
index ade71c7..9c06bac 100644
--- a/.Rproj.user/441ADA46/sources/per/t/25D73910
+++ b/.Rproj.user/441ADA46/sources/s-FE609B0F/25D73910
@@ -5,15 +5,15 @@
"dirty" : false,
"encoding" : "UTF-8",
"folds" : "",
- "hash" : "438225612",
+ "hash" : "522901110",
"id" : "25D73910",
- "lastKnownWriteTime" : 1547125493,
- "last_content_update" : 1547125493155,
+ "lastKnownWriteTime" : 1547345167,
+ "last_content_update" : 1547345167821,
"path" : "~/Documents/GitHub/posterdown/inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd",
"project_path" : "inst/rmarkdown/templates/posterdown_pdf/skeleton/skeleton.Rmd",
"properties" : {
- "cursorPosition" : "56,472",
- "scrollLine" : "55"
+ "cursorPosition" : "40,0",
+ "scrollLine" : "25"
},
"relative_order" : 1,
"source_on_save" : false,
diff --git a/.Rproj.user/441ADA46/sources/per/t/25D73910-contents b/.Rproj.user/441ADA46/sources/s-FE609B0F/25D73910-contents
similarity index 98%
rename from .Rproj.user/441ADA46/sources/per/t/25D73910-contents
rename to .Rproj.user/441ADA46/sources/s-FE609B0F/25D73910-contents
index 6b65bf8..91ffe99 100644
--- a/.Rproj.user/441ADA46/sources/per/t/25D73910-contents
+++ b/.Rproj.user/441ADA46/sources/s-FE609B0F/25D73910-contents
@@ -36,6 +36,9 @@
#----OTHER----#
bibliography: MyLibrary # name of the .bib file used for referencing
output: posterdown::posterdown_pdf
+header-includes:
+- \usepackage[breakable]{tcolorbox}
+
---
```{r, include=FALSE}
diff --git a/.Rproj.user/441ADA46/sources/s-FE609B0F/A4381D75-contents b/.Rproj.user/441ADA46/sources/s-FE609B0F/A4381D75-contents
new file mode 100644
index 0000000..144be67
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/s-FE609B0F/A4381D75-contents
@@ -0,0 +1,87 @@
+\documentclass{report}
+\usepackage[most]{tcolorbox}
+\usepackage{lmodern}
+\usepackage{lipsum}
+\usepackage[explicit]{titlesec}
+\usepackage{varwidth}
+
+\tcbset{
+ orange/.style={
+ enhanced,
+ colback=orange!10,
+ colframe=orange,
+ fonttitle=\bfseries,
+ colbacktitle=orange!40,
+ coltitle=black,
+ attach boxed title to top left={%
+ yshift*=-\tcboxedtitleheight/2,
+ xshift=5mm},
+ boxed title style={colframe=gray}
+ }
+}
+
+\newtcbtheorem[auto counter]{mylemma}{Lemma}{%
+ orange
+ }{lm}
+
+\titleformat{\chapter}[display]
+ {\normalfont\Large\bfseries}
+ {}
+ {}
+ {%
+ \begin{tcolorbox}[orange, halign=center, valign=center, title=test, overlay={\node[draw=gray, fill=orange!40, rounded corners, anchor=east, font=\small\bfseries] at ([xshift=-5mm]frame.south east){2016-2017};}]%, title=Title]
+ #1
+ \end{tcolorbox}%
+ }
+
+\titleformat{\section}
+ {\normalfont\large\bfseries}{}{0em}
+ {%
+ \setbox0=\hbox{\large\bfseries\thesection}%
+ \begin{tikzpicture}
+ \draw[orange, ultra thick](0,0) -- ++(0:\linewidth);
+ \node[draw=orange,
+ rounded corners,
+ fill=orange!10,
+ ultra thick,
+ anchor=west,
+ outer sep=0pt
+ ] {\thesection\hspace{.5em}\hangindent\wd0\strut#1\strut};
+ \end{tikzpicture}%
+ }
+
+\titleformat{name=\section,numberless}[display]
+ {\normalfont\Large\bfseries}{}{0em}
+ {%
+ \begin{tikzpicture}
+ \draw[orange, line width=1mm](0,0) -- ++(0:\linewidth);
+ \node[draw=orange,
+ rounded corners,
+ fill=orange!10,
+ line width=1mm,
+ anchor=west,
+ outer sep=0pt
+ ] {\strut#1\strut};
+ \end{tikzpicture}%
+ }
+\titlespacing*{\section}
+ {0pt}{4.5ex plus 1ex minus .2ex}{1ex plus .2ex}
+
+\begin{document}
+
+\chapter*{Diagonalizar matrices}
+\section{Test numbered section}
+\begin{mylemma}{Test}{a}
+\lipsum[3]
+\end{mylemma}
+
+\begin{mylemma}{Test}{a}
+\lipsum[3]
+\end{mylemma}
+
+\section*{Test unnumbered section}
+\lipsum[4]
+%\section{Test numbered section with a long title; in fact, it spans two lines}
+%\lipsum[4]
+
+\end{document}
diff --git a/.Rproj.user/441ADA46/sources/s-FE609B0F/lock_file b/.Rproj.user/441ADA46/sources/s-FE609B0F/lock_file
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.Rproj.user/441ADA46/sources/s-FE609B0F/lock_file