Advertisement
facundoq

packages for random lualatex error

Jan 20th, 2020
632
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 3.30 KB | None | 0 0
  1. % !TEX root = ../main.tex
  2.  
  3. \usepackage[a4paper,
  4.             bindingoffset=0.2in,%
  5.             left=25mm,
  6.             right=25mm,
  7.             top=25mm,
  8.             bottom=25mm,%
  9.             footskip=.25in]{geometry}
  10.  
  11.  
  12. %\usepackage{grffile}
  13. %\usepackage[mathletters]{ucs}
  14.  
  15.  
  16. % \pdfcompresslevel=0
  17. % \pdfobjcompresslevel=0
  18. \special{dvipdfmx:config z 0}
  19.  
  20. %%%%%%%%%%%%%%%%%%%%%%%%% Advertencias %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  21. % limitar bad boxes
  22. \hfuzz=40pt
  23. \hfuzz=\maxdimen
  24. \hbadness=10000
  25.  
  26. %%%%%%%%%%%%%%%%%%%%%%%% Lenguaje %%%%%%%%%%%%%%%%%%%%%%%%
  27.  
  28. \usepackage[spanish]{babel}
  29. %%%%%%%%%%%%%%%%%%%%%% biblatex %%%%%%%%%%%%%%%%%%%%%%5
  30. \usepackage{csquotes}
  31. \usepackage[
  32.  backend=bibtex,
  33.  bibstyle=alphabetic,
  34.  citestyle=alphabetic,
  35.  maxbibnames=99,
  36. ]{biblatex}
  37.  
  38. \addbibresource{bib/cnn.bib}
  39. \addbibresource{bib/sign.bib}
  40. \addbibresource{bib/deep.bib}
  41. \addbibresource{bib/transformation_models.bib}
  42. \addbibresource{bib/transformation_measures.bib}
  43. \addbibresource{bib/factorial_invariance.bib}
  44. \addbibresource{bib/general.bib}
  45. \addbibresource{bib/own.bib}
  46. \addbibresource{bib/aprendizaje.bib}
  47.  
  48. %%%%%%%%%%%%%%%%%%%%%%%% Paquetes usuales %%%%%%%%%%%%%%%%%%%%%%%%
  49. \usepackage{hyperref}
  50. % \usepackage{etoolbox}
  51. \usepackage[]{graphicx}
  52. \usepackage{amsmath}
  53. \usepackage{mathtools}
  54. \newtagform{brackets}{[}{]}
  55. \usetagform{brackets} % employ square brackets as delimiters around eq. numbers
  56. %cref
  57. \usepackage[capitalise,noabbrev]{cleveref}
  58. \creflabelformat{equation}{#2{\upshape[#1]}#3}
  59.  
  60. % reemplazar Cuadro por Tabla
  61.  
  62.     \crefname{table}{tabla}{tablas}
  63.    \Crefname{table}{Tabla}{Tablas}
  64.    \crefname{appendix}{apéndice}{apéndices}
  65.    \Crefname{appendix}{Apéndice}{Apéndices}
  66.    \crefname{section}{sección}{secciones}
  67.    \Crefname{section}{Sección}{Secciones}
  68.  
  69.  
  70.  
  71. \usepackage{todonotes}
  72. \usepackage{xcolor}
  73. \usepackage[export]{adjustbox}
  74.  
  75. \usepackage{multirow}
  76. \usepackage{blkarray}
  77. \usepackage{tabularx}
  78. \usepackage{booktabs}
  79.  
  80.  
  81.  
  82. \usepackage[spanish]{algorithm2e}
  83.  
  84. % deal with missing images by showing a message instead of failing
  85. \newcommand{\noimage}{%
  86.   \setlength{\fboxsep}{-\fboxrule}%
  87.   \fbox{\phantom{\rule{10pt}{10pt}}File missing\phantom{\rule{10pt}{10pt}}}% Framed box
  88. }
  89. \let\includegraphicsoriginal\includegraphics
  90. \renewcommand{\includegraphics}[2][width=\textwidth]{\IfFileExists{#2}{\includegraphicsoriginal[#1]{#2}}{\noimage}}
  91. \usepackage{xspace}
  92. \usepackage{subfigure}
  93.  
  94. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% APARIENCIA %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  95. \usepackage{setspace}
  96. \decimalpoint
  97. \onehalfspacing
  98. \setlength{\parskip}{0.5em}
  99.  
  100.  
  101. \usepackage{caption}
  102.  
  103.  
  104. \usepackage{siunitx}
  105. \sisetup{output-exponent-marker=\ensuremath{\mathrm{e}}}
  106.  
  107. \usepackage[quiet]{fontspec}
  108. \usepackage{unicode-math}
  109.  
  110. \setmainfont[Renderer=Basic, Scale = 1.0]{TeX Gyre Pagella}
  111. \setmathfont{TeX Gyre Pagella Math}
  112. \setsansfont[Renderer=Basic, Scale=0.90]{TeX Gyre Heros}
  113. \setmonofont[Renderer=Basic]{TeX Gyre Cursor}
  114.  
  115. \usepackage[fit]{truncate}
  116. \usepackage{fancyhdr}
  117. \pagestyle{fancy}
  118.  
  119. \fancyhead{}
  120. \fancyfoot{}
  121. \renewcommand{\headrulewidth}{1pt}
  122. \fancyhead[RO,LE]{\footnotesize\thepage}
  123. \fancyhead[RE]{\slshape\truncate{.8\headwidth}{\footnotesize \leftmark}}
  124. \fancyhead[LO]{\slshape\truncate{.8\headwidth}{\footnotesize \rightmark}}
  125. \setlength{\headheight}{15pt}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement