Skip to content

Commit

Permalink
Added and improved bibliography style
Browse files Browse the repository at this point in the history
  • Loading branch information
PillFall committed Aug 13, 2018
1 parent a47a0bc commit 9ba75eb
Show file tree
Hide file tree
Showing 9 changed files with 238 additions and 69 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
*.vrb
*.bbl
*.blg
*.run.xml
*.bcf

# Final LaTeX files
Introducción a LaTeX.pdf
Expand Down
67 changes: 45 additions & 22 deletions 1- Introducción a LaTeX/Introducción a LaTeX.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
% Paquetes de configuración basica del texto %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[spanish,es-nodecimaldot]{babel}
\usepackage{babelbib}
\usepackage{biblatex}
\usepackage[T1]{fontenc}
\usepackage{listings}
\usepackage{multirow}
\usepackage{hyperref}
\usepackage{hyperxmp}
\usepackage{ifthen}
\usepackage{csquotes}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% [listings] %
Expand Down Expand Up @@ -69,13 +70,35 @@
\setbeamertemplate{navigation symbols}{}

\setbeamertemplate{itemize items}{\color{Igreen}\raisebox{.45ex}{\rule{.6ex}{.6ex}}}
\setbeamertemplate{enumerate item}{\color{Igreen}\bfseries\arabic{enumi}.}
\setbeamertemplate{enumerate subitem}{\color{Igreen}\bfseries\arabic{enumi}.\arabic{enumii}.}

\usefonttheme{professionalfonts}
\usefonttheme{serif}

\setbeamercolor{frametitle}{fg=Ired,bg=Igreen!50}
\setbeamercolor{alerted text}{fg=Ired}
\setbeamertemplate{enumerate item}{\color{Igreen}\bfseries\arabic{enumi}.}
\setbeamertemplate{enumerate subitem}{\color{Igreen}\bfseries\arabic{enumi}.\arabic{enumii}.}

\setbeamertemplate{bibliography item}{
\ifboolexpr{ test {\ifentrytype{book}} or test {\ifentrytype{mvbook}}
or test {\ifentrytype{collection}} or test {\ifentrytype{mvcollection}}
or test {\ifentrytype{reference}} or test {\ifentrytype{mvreference}} }
{\setbeamertemplate{bibliography item}[book]}
{\ifentrytype{online}
{\setbeamertemplate{bibliography item}[online]}
{\setbeamertemplate{bibliography item}[article]}}
\usebeamertemplate{bibliography item}}

\defbibenvironment{bibliography}
{\list{}
{\settowidth{\labelwidth}{\usebeamertemplate{bibliography item}}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item}

\makeatletter
\newcommand{\ifratio}[2]{
Expand Down Expand Up @@ -104,7 +127,7 @@
% Información de la presentación %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\title{Introducción a {\lmr\LaTeX}}
\title{{\lmr\LaTeX} Online y Colaborativo}
\subtitle{Curso Libre de {\lmr\LaTeX}}
\author{Joar Esteban Buitrago Carrillo}
\institute{Universidad Nacional de Colombia}
Expand All @@ -114,6 +137,7 @@
pdfcopyright={Esta obra está bajo una licencia de Creative Commons Reconocimiento-CompartirIgual 4.0 Internacional.},
pdflicenseurl={https://creativecommons.org/licenses/by-sa/4.0/deed.es}
}
\addbibresource{biblio.bib}

\begin{document}
\begin{frame}[plain]
Expand All @@ -132,22 +156,22 @@

\begin{frame}[fragile]{Funciones Seno y Coseno}
\begin{center}
% \begin{animateinline}[autoplay,loop,nomouse,poster=first]{24}
% \multiframe{359}{nAngle=0+1}{
% \begin{tikzpicture}
% \draw[thick,-latex,blue] (-3,0) -- (3,0) node[right] {$x$};
% \draw[thick,-latex,blue] (0,-3) -- (0,3) node[above] {$y$};
% \draw[red,thick] (0,0) circle (2.5);
% \draw[ultra thick,cyan] (0,0) -- (0,0 |- \nAngle:2.5) node[midway,left] {$\sin(\alpha)$};
% \draw[ultra thick,orange] (0,0) -- (\nAngle:2.5 |- 0,0) node[midway,below] {$\cos(\alpha)$};
% \draw[densely dotted,orange] (\nAngle:2.5) -- (\nAngle:2.5 |- 0,0);
% \draw[densely dotted,cyan] (\nAngle:2.5) -- (0,0 |- \nAngle:2.5);
% \draw[thick,green] (0.5,0) arc (0:\nAngle:0.5);
% \draw[thick,green,opacity=0] (0.7,0) arc (0:\nAngle:0.7) node[midway,opacity=1] {$\alpha$};
% \draw[ultra thick,red,-latex] (0,0) -- (\nAngle:2.5);
% \end{tikzpicture}
% }
% \end{animateinline}
\begin{animateinline}[autoplay,loop,nomouse,poster=first]{24}
\multiframe{359}{nAngle=0+1}{
\begin{tikzpicture}
\draw[thick,-latex,blue] (-3,0) -- (3,0) node[right] {$x$};
\draw[thick,-latex,blue] (0,-3) -- (0,3) node[above] {$y$};
\draw[red,thick] (0,0) circle (2.5);
\draw[ultra thick,cyan] (0,0) -- (0,0 |- \nAngle:2.5) node[midway,left] {$\sin(\alpha)$};
\draw[ultra thick,orange] (0,0) -- (\nAngle:2.5 |- 0,0) node[midway,below] {$\cos(\alpha)$};
\draw[densely dotted,orange] (\nAngle:2.5) -- (\nAngle:2.5 |- 0,0);
\draw[densely dotted,cyan] (\nAngle:2.5) -- (0,0 |- \nAngle:2.5);
\draw[thick,green] (0.5,0) arc (0:\nAngle:0.5);
\draw[thick,green,opacity=0] (0.7,0) arc (0:\nAngle:0.7) node[midway,opacity=1] {$\alpha$};
\draw[ultra thick,red,-latex] (0,0) -- (\nAngle:2.5);
\end{tikzpicture}
}
\end{animateinline}
\end{center}
\end{frame}

Expand Down Expand Up @@ -628,7 +652,6 @@ \section{Opciones del documento}

\begin{frame}{Bibliografía}
\nocite{*}
\bibliographystyle{babplain}
\bibliography{biblio}
\printbibliography
\end{frame}
\end{document}
21 changes: 10 additions & 11 deletions 1- Introducción a LaTeX/biblio.bib
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
@Book{universoLaTeX,
author = {{Rodrigo De Castro Korgi}},
title = {El universo {\lmr\LaTeX}},
publisher = {Universidad Nacional de Colombia},
year = {2003},
edition = {Segunda}
author = {{Rodrigo De Castro Korgi}},
title = {El universo {\lmr\LaTeX}},
publisher = {Universidad Nacional de Colombia},
year = {2003},
edition = {Segunda edición}
}

@Book{TeXbook,
author = {{Donald Ervin Knuth}},
title = {The {\lmr\TeX} book},
publisher = {Stanford University},
year = {1986},
edition = {Primera}
author = {{Donald Ervin Knuth}},
title = {The {\lmr\TeX} book},
publisher = {Stanford University},
year = {1986},
edition = {Primera edición}
}

35 changes: 29 additions & 6 deletions 2- Editores y Compiladores/Editores y Compiladores.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
% Paquetes de configuración basica del texto %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[spanish,es-nodecimaldot]{babel}
\usepackage{babelbib}
\usepackage{biblatex}
\usepackage[T1]{fontenc}
\usepackage{listings}
\usepackage{multirow}
\usepackage{hyperref}
\usepackage{hyperxmp}
\usepackage{ifthen}
\usepackage{csquotes}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% [listings] %
Expand Down Expand Up @@ -69,13 +70,35 @@
\setbeamertemplate{navigation symbols}{}

\setbeamertemplate{itemize items}{\color{Igreen}\raisebox{.45ex}{\rule{.6ex}{.6ex}}}
\setbeamertemplate{enumerate item}{\color{Igreen}\bfseries\arabic{enumi}.}
\setbeamertemplate{enumerate subitem}{\color{Igreen}\bfseries\arabic{enumi}.\arabic{enumii}.}

\usefonttheme{professionalfonts}
\usefonttheme{serif}

\setbeamercolor{frametitle}{fg=Ired,bg=Igreen!50}
\setbeamercolor{alerted text}{fg=Ired}
\setbeamertemplate{enumerate item}{\color{Igreen}\bfseries\arabic{enumi}.}
\setbeamertemplate{enumerate subitem}{\color{Igreen}\bfseries\arabic{enumi}.\arabic{enumii}.}

\setbeamertemplate{bibliography item}{
\ifboolexpr{ test {\ifentrytype{book}} or test {\ifentrytype{mvbook}}
or test {\ifentrytype{collection}} or test {\ifentrytype{mvcollection}}
or test {\ifentrytype{reference}} or test {\ifentrytype{mvreference}} }
{\setbeamertemplate{bibliography item}[book]}
{\ifentrytype{online}
{\setbeamertemplate{bibliography item}[online]}
{\setbeamertemplate{bibliography item}[article]}}
\usebeamertemplate{bibliography item}}

\defbibenvironment{bibliography}
{\list{}
{\settowidth{\labelwidth}{\usebeamertemplate{bibliography item}}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item}

\makeatletter
\newcommand{\ifratio}[2]{
Expand Down Expand Up @@ -104,7 +127,7 @@
% Información de la presentación %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\title{Editores y Compiladores}
\title{{\lmr\LaTeX} Online y Colaborativo}
\subtitle{Curso Libre de {\lmr\LaTeX}}
\author{Joar Esteban Buitrago Carrillo}
\institute{Universidad Nacional de Colombia}
Expand All @@ -114,6 +137,7 @@
pdfcopyright={Esta obra está bajo una licencia de Creative Commons Reconocimiento-CompartirIgual 4.0 Internacional.},
pdflicenseurl={https://creativecommons.org/licenses/by-sa/4.0/deed.es}
}
\addbibresource{biblio.bib}

\begin{document}
\begin{frame}[plain]
Expand Down Expand Up @@ -365,7 +389,6 @@ \subsection{LuaLaTeX}

\begin{frame}[allowframebreaks]{Bibliografía}
\nocite{*}
\bibliographystyle{babplain}
\bibliography{biblio}
\printbibliography
\end{frame}
\end{document}
18 changes: 9 additions & 9 deletions 2- Editores y Compiladores/biblio.bib
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
@Online {TeXmaker,
author = {{Pascal Brachet}},
title = {Página oficial de {\textup\TeXmaker}},
month = {julio},
month = {07},
year = {2018},
url = {http://www.xm1math.net/texmaker/}
}

@Online {TeXstudio,
author = {{Benito van der Zander} and {Jan Sundermeyer} and {Daniel Braun} and {Tim Hoffmann}},
title = {Página oficial de {\textup\TeXstudio}},
month = {junio},
month = {07},
year = {2018},
url = {https://texstudio.org/}
}

@Online {LyX,
author = {{The LyX Team}},
title = {Página oficial de {\textup\LyX}},
month = {julio},
month = {07},
year = {2018},
url = {https://www.lyx.org/}
}

@Online {AUCTeX,
author = {{GNU}},
title = {Página oficial de {\textup\AUCTeX}},
month = {julio},
month = {07},
year = {2018},
url = {https://www.gnu.org/software/auctex/}
}

@Online {TeXmacs,
author = {{GNU}},
title = {Página oficial de {\textup\TeXmacs}},
month = {julio},
month = {07},
year = {2018},
url = {http://www.texmacs.org/}
}

@Online {LaTeX,
title = {Wikipedia en Ingles \textup{\lmr\LaTeX}},
month = {julio},
month = {07},
year = {2018},
url = {https://en.wikipedia.org/wiki/LaTeX/}
}

@Online {pdfTeX,
title = {Wikipedia en Ingles \textup{\lmr PDF\TeX}},
month = {julio},
month = {07},
year = {2018},
url = {https://en.wikipedia.org/wiki/pdfTeX/}
}

@Online {XeTeX,
title = {Wikipedia en Ingles \textup{\XeTeX}},
month = {julio},
month = {07},
year = {2018},
url = {https://en.wikipedia.org/wiki/XeTeX/}
}

@Online {LuaTeX,
title = {Wikipedia en Ingles \textup{\LuaTeX}},
month = {julio},
month = {07},
year = {2018},
url = {https://en.wikipedia.org/wiki/LuaTeX/}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
% Paquetes de configuración basica del texto %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[spanish,es-nodecimaldot]{babel}
\usepackage{babelbib}
\usepackage{biblatex}
\usepackage[T1]{fontenc}
\usepackage{listings}
\usepackage{multirow}
\usepackage{hyperref}
\usepackage{hyperxmp}
\usepackage{ifthen}
\usepackage{csquotes}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% [listings] %
Expand Down Expand Up @@ -69,13 +70,35 @@
\setbeamertemplate{navigation symbols}{}

\setbeamertemplate{itemize items}{\color{Igreen}\raisebox{.45ex}{\rule{.6ex}{.6ex}}}
\setbeamertemplate{enumerate item}{\color{Igreen}\bfseries\arabic{enumi}.}
\setbeamertemplate{enumerate subitem}{\color{Igreen}\bfseries\arabic{enumi}.\arabic{enumii}.}

\usefonttheme{professionalfonts}
\usefonttheme{serif}

\setbeamercolor{frametitle}{fg=Ired,bg=Igreen!50}
\setbeamercolor{alerted text}{fg=Ired}
\setbeamertemplate{enumerate item}{\color{Igreen}\bfseries\arabic{enumi}.}
\setbeamertemplate{enumerate subitem}{\color{Igreen}\bfseries\arabic{enumi}.\arabic{enumii}.}

\setbeamertemplate{bibliography item}{
\ifboolexpr{ test {\ifentrytype{book}} or test {\ifentrytype{mvbook}}
or test {\ifentrytype{collection}} or test {\ifentrytype{mvcollection}}
or test {\ifentrytype{reference}} or test {\ifentrytype{mvreference}} }
{\setbeamertemplate{bibliography item}[book]}
{\ifentrytype{online}
{\setbeamertemplate{bibliography item}[online]}
{\setbeamertemplate{bibliography item}[article]}}
\usebeamertemplate{bibliography item}}

\defbibenvironment{bibliography}
{\list{}
{\settowidth{\labelwidth}{\usebeamertemplate{bibliography item}}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item}

\makeatletter
\newcommand{\ifratio}[2]{
Expand Down Expand Up @@ -104,7 +127,7 @@
% Información de la presentación %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\title{Elementos Básicos de Edición}
\title{{\lmr\LaTeX} Online y Colaborativo}
\subtitle{Curso Libre de {\lmr\LaTeX}}
\author{Joar Esteban Buitrago Carrillo}
\institute{Universidad Nacional de Colombia}
Expand All @@ -114,6 +137,7 @@
pdfcopyright={Esta obra está bajo una licencia de Creative Commons Reconocimiento-CompartirIgual 4.0 Internacional.},
pdflicenseurl={https://creativecommons.org/licenses/by-sa/4.0/deed.es}
}
\addbibresource{biblio.bib}

\begin{document}
\begin{frame}[plain]
Expand Down Expand Up @@ -633,7 +657,6 @@ \section{El entorno {\tt verbatim} y su paquete}

\begin{frame}{Bibliografía}
\nocite{*}
\bibliographystyle{babplain}
\bibliography{biblio}
\printbibliography
\end{frame}
\end{document}
Loading

0 comments on commit 9ba75eb

Please sign in to comment.