Files
Scanning the repository...
Last update 7 years 11 months
by Rui Rojo
Filesinformemediciones | |
---|---|
.. | |
includes | |
.gitignore | |
document_style.sty | |
informe.bcf | |
informe.pdf | |
informe.tex |
document_style.sty% Definición del tamaño de página y los márgenes: \usepackage[a4paper,headheight=16pt,scale={0.7,0.8},hoffset=0.5cm]{geometry} \usepackage[spanish,es-noquoting,activeacute]{babel} \usepackage[utf8,latin1]{inputenc} \usepackage[toc,page,title,titletoc]{appendix} % for appendices, duh! \addto\captionsspanish{ \renewcommand\listfigurename{Indice de Figuras} \renewcommand\listtablename{Indice de Tablas} \renewcommand\appendixname{Anexo} \renewcommand\appendixpagename{Anexos} \renewcommand\appendixtocname{Anexos} } % bibliography %\usepackage[citestyle=authoryear]{biblatex} \usepackage[ backend=biber, sorting=nyt, style=numeric]{biblatex} \addbibresource{biblio.bib} % inline enumeration \usepackage{paralist} \usepackage{tabularx} \usepackage{longtable} \usepackage{array} \usepackage{multirow} \usepackage{amsmath} \usepackage{mathtools} \usepackage{fancyhdr} \usepackage{color} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} %\usepackage[small,hang,bf]{caption2} \usepackage[footnotesize,hang,bf]{caption} \usepackage[textfont=footnotesize,list=true,hypcap=true]{subcaption} %------------------------------ para saltar de secciones ------------------ \usepackage{ifthen} \newcommand{\newoddpage}{ \clearpage \vfill \newpage \ifthenelse{\isodd{\thepage}}{ \phantom{placeholder} % doesn't appear on page \thispagestyle{empty} % if want no header/footer \clearpage \vfill \newpage }{} } \newcommand{\nextpage}{ \clearpage \vfill \newpage } % para figuras apaisadas, pone: angle=+/-90 \newcommand{\includegraphicsrot}[2][]{ \ifthenelse{\isodd{\thepage}}{ \includegraphics[angle=90, #1]{#2} }{ \includegraphics[angle=-90, #1]{#2} } } % Para poder usar subfiguras: (al estilo Figura 2.3(b) ) %\usepackage{subfigure} \usepackage{float} \usepackage[pdftex]{graphicx} \usepackage{pgfplots} \usepackage[eulergreek]{sansmath} \pgfplotsset{ tick label style = {font=\sansmath\sffamily}, every axis label = {font=\sansmath\sffamily}, legend style = {font=\sansmath\sffamily}, label style = {font=\sansmath\sffamily} } \pdfcompresslevel=9 \usepackage{pdfpages} \newcommand{\imgdir}{includes} \graphicspath{{\imgdir/}} \usepackage{lscape} \usepackage{tikz} \usetikzlibrary{calc,shapes,arrows,intersections,positioning,matrix,fit} \tikzset{>=stealth} \tikzstyle{block} = [draw, fill=white, rectangle, minimum height=.8cm, minimum width=1cm] \tikzstyle{sum} = [draw, fill=white, circle, inner sep=0pt, minimum size=3mm] \tikzstyle{input} = [coordinate] \tikzstyle{output} = [coordinate] \tikzstyle{pinstyle} = [pin, edge={to-,thin,black}] % ??? \tikzstyle{branch} = [circle, inner sep=0pt, minimum size=1mm, fill=black, draw=black] \tikzstyle{connector} = [->,thick] \tikzstyle{line} = [thick] % \usepackage[american,europeanvoltage,cuteinductors,smartlabels]{circuitikz} % \ctikzset{bipoles/length=1cm} % \ctikzset{tripoles/mos style/arrows} \usepackage{environ} \makeatletter \newsavebox{\measure@tikzpicture} \NewEnviron{tikzpicture*}[2][]{% \def\tikz@width{#2}% \def\tikzscale{1}\begin{lrbox}{\measure@tikzpicture}% \begin{tikzpicture}[#1] \BODY \end{tikzpicture} \end{lrbox}% \pgfmathparse{#2/\wd\measure@tikzpicture}% \edef\tikzscale{\pgfmathresult}% \begin{tikzpicture}[#1, scale=\tikzscale] \BODY \end{tikzpicture} } \makeatother % hyper references \usepackage[pdftex, colorlinks=true, linkcolor=black, urlcolor=blue, citecolor=black]{hyperref} %\usepackage[all]{hypcap} \numberwithin{equation}{section} \numberwithin{figure}{section} \numberwithin{table}{section} % dibujar resistencia equivalente %\newcommand{\impedancia}[3]{ % \ifthenelse{\equal{#1}{ul}} % {\draw[<-, thick] #2 -- ++(.5,0) -- ++(.25,-1) node[anchor=south] {#3};}{ % \ifthenelse{\equal{#1}{ur}} % {\draw[<-, thick] #2 -- ++(-.5,0) -- ++(-.25,-1) node[anchor=south] {#3};}{ % \ifthenelse{\equal{#1}{dl}} % {\draw[<-, thick] #2 -- ++(.5,0) -- ++(.25,1) node[anchor=south] {#3};}{ % \ifthenelse{\equal{#1}{dr}} % {\draw[<-, thick] #2 -- ++(-.5,0) -- ++(-.25,1) node[anchor=south] {#3};}{ % }}}} %} % help lines \newcommand{\helplinesnorm}[1][black]{ \draw[color=#1, step=.1] (0,0) grid (1,1); \draw[color=#1, very thin, step=.025] (0,0) grid (1,1); \foreach \x in {1,...,9} { \node[anchor=north] at (\x/10,0) {\tiny .\x}; \node[anchor=south] at (\x/10,1) {\tiny .\x};} \foreach \y in {1,...,9} { \node[anchor=east] at (0,\y/10) {\tiny .\y}; \node[anchor=west] at (1,\y/10) {\tiny .\y};} \node[anchor=north east] at (0,0) {\tiny (0,0)}; \node[anchor=north west] at (1,0) {\tiny (1,0)}; \node[anchor=south east] at (0,1) {\tiny (0,1)}; \node[anchor=south west] at (1,1) {\tiny (1,1)}; } \newcommand{\helplines}[4]{ \draw[step=1] (#1,#2) grid (#3,#4); \draw[very thin, step=.25] (#1,#2) grid (#3,#4); \foreach \x in {#1,...,#3} { \node[anchor=north] at (\x,#2) {\tiny \x}; \node[anchor=south] at (\x,#4) {\tiny \x};} \foreach \y in {#2,...,#4} { \node[anchor=east] at (#1,\y) {\tiny \y}; \node[anchor=west] at (#3,\y) {\tiny \y};} }