SHARE
TWEET

O CODIGO VIKING

aravecchia Jul 18th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %%%   O CÓDIGO VIKING
  3. %%% Alexandre Aravecchia
  4. %%% aravecchia@gmail.com
  5. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6. %%%%%%%%%%  TITULO
  7. \title{\huge{\resizebox{180mm}{15mm}{\color{white}{Canal do}}\\\vspace{15mm}\resizebox{220mm}{18mm}{\color{white}\textbf{Aravecchia}}\\\vspace{15mm}\resizebox{180mm}{10mm}{\color{white}{Tecnologia e caf\'{e}}}}}
  8.  
  9. \author {\Huge \\\vspace{5mm}\resizebox{120mm}{8mm}{\color{white}Alexandre Aravecchia}}
  10.  
  11. %%%%%%%%%%  DOCUMENTCLASS
  12. \documentclass[18pt]{article}
  13. %\usepackage[paperwidth=10cm,paperheight=10cm]{geometry}
  14.  
  15. %%%%%%%%%%  PAGINA
  16. \newcommand{\papelX}{300mm}
  17. \newcommand{\papelY}{168mm}
  18. \newcommand{\cabecalho}{15mm}
  19. \newcommand{\margem}{10mm}
  20. \newcommand{\rodape}{5mm}
  21. \newcommand{\distancia}{8mm}
  22. \newcommand{\largura}{\textwidth}
  23. \newcommand{\altura}{\textheight}
  24. \newcommand{\letra}{8mm}
  25. \newcommand{\alturaA}{\altura}
  26. \newcommand{\alturaB}{\alturaA-\distancia}
  27. \newcommand{\alturaC}{\alturaB-\distancia}
  28. \newcommand{\alturaD}{\alturaC-\distancia}
  29. \newcommand{\alturaE}{\alturaD-\distancia}
  30. \newcommand{\alturaF}{\alturaE-\distancia}
  31. \usepackage[portrait, top=\cabecalho,left=\margem,right=\margem,bottom=\rodape, paperwidth=\papelX,paperheight=\papelY]{geometry}
  32.  
  33. %\setlength{\textwidth}{\largura-\margem}
  34.  
  35. \setlength{\parindent}{\margem} % indent, o espaçamento inicial horizontal no início um parágrafo
  36. \setlength{\parskip}{0mm plus 10mm} % espaçamento entre um parágrafo e outro
  37.  
  38. % \setlength{\oddsidemargin}{0mm}
  39. % \setlength{\marginparwidth}{0mm}
  40. \setlength{\topmargin}{-20mm}
  41.  
  42. %  \setlength{\leftmargin}{-20mm}
  43. \setlength{\headsep}{5mm}
  44. %\setlength{\footskip}{-100mm}
  45. %\setlength{\footnoterule}{50mm}
  46.  
  47.  
  48.  
  49. % Parametros para multicolunas
  50. %\setlength{\premulticols}{1mm}
  51. %\setlength{\postmulticols}{1mm}
  52. %\setlength{\multicolsep}{1mm}
  53. \setlength{\columnsep}{\margem}
  54. %\setlength{\textheight}{\altura}
  55. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  56.  
  57. %FANCY
  58. \usepackage{fancyhdr}
  59. \pagestyle{fancy}
  60. %\fancyhead[CE,CO]{\large \sffamily \blue \textbf{\rightmark}}
  61. %\fancyhead[LO,RE]{\large \sffamily \blue \textbf{\leftmark}}
  62.  
  63. %\fancyhead[LO,RE]{\large \sffamily \blue \textbf{\leftmark}}
  64.  
  65. %\fancyfoot[LE,RO]{\textsl{\thepage}}
  66.  
  67. %\fancyfoot[C]{\thepage}
  68.  
  69. %\rhead{\LARGE \sffamily \includegraphics[height=7mm]{./IMG/LOGO-ESCOLA-3D}}
  70. %\chead{\large \sffamily \thesection}
  71. %\lhead{\large \sffamily \blue \thepage} \includegraphics[height=5mm]{./IMG/linux3} \LARGE \thesubsection}
  72. %\lhead{\large \sffamily \textbf{\leftmark}}
  73.  
  74. \lhead{\large \sffamily Curso de Inform\'{a}tica Online}
  75. \chead{\large \sffamily %\textbf
  76. %   { \hyperref
  77. %{www.escoladeimpressao3d.com.br}
  78. %{category}
  79. %{name}
  80. %       {www.escoladeimpressao3d.com.br}
  81. {E. M. Professor Paulista}
  82.     }
  83. %   }
  84. %\lhead{\large \sffamily \blue \textbf{\leftmark}}
  85. \cfoot{\large \sffamily \LaTeX}
  86. \rhead{\large \sffamily Alexandre Aravecchia}
  87. %\rfoot{\large \sffamily \blue SUA MARCA AQUI}
  88. %\chead{\large \sffamily Alexandre Aravecchia}
  89. \rfoot{\Large \sffamily \thepage}
  90. %\rfoot{\normalsize \sffamily \blue \thepage}
  91. \renewcommand{\headrulewidth}{1pt}
  92. \renewcommand{\footrulewidth}{1pt}
  93.  
  94. %Parametros linguisticos
  95. \pagenumbering{arabic}
  96. \fontencoding{T1}
  97. \usepackage[utf8]{inputenc}
  98. \usepackage[brazil]{babel}
  99.  
  100. % Define comando BibTeX
  101. \def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
  102.         T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
  103.  
  104. % N\~ao imprime numero de se\c c\~ao
  105. %\setcounter{secnumdepth}{0}
  106.  
  107. \usepackage{multicol}
  108. \usepackage{vwcol}
  109. \usepackage{calc}
  110. \usepackage{ifthen}
  111. \usepackage{graphicx}
  112. \usepackage{color}
  113. \usepackage{hyperref}
  114. \usepackage{calc}
  115. \usepackage{ifthen}
  116. \usepackage{hyperref}
  117. \usepackage{amssymb}
  118. \usepackage{cite}
  119. \usepackage{lipsum}
  120. \usepackage{tikz}
  121. \usepackage{wrapfig}
  122. \usepackage{float}
  123. \usepackage{sidecap}
  124. \usepackage{wallpaper}
  125. \usepackage{lipsum}
  126. \usepackage{xcolor}
  127. \usepackage{tgheros}
  128. \usepackage{amsmath}
  129. \usepackage{amssymb}
  130. \usepackage{amsthm}
  131. \usepackage{textcomp}
  132. \usepackage{enumerate}
  133. \usepackage{courier}
  134. \usepackage{listings}
  135. \usepackage{setspace}
  136. \usepackage{fixme}
  137. \usepackage{csvsimple}
  138. %_______________________________________ BEAMER
  139. %\usepackage{beamer}
  140. \usepackage{media9}
  141. %_______________________________________ LATEXDRAW
  142. \usepackage[usenames,dvipsnames]{pstricks}
  143. \usepackage{epsfig}
  144. \usepackage{pst-grad}
  145. \usepackage{pst-plot}
  146. \usepackage{pgf}
  147. \usepackage{tikz}
  148. \usepackage{pgfplots}
  149. \usepackage{pstricks-add}
  150. \usepackage{tikz-3dplot}
  151. \usepackage{tkz-euclide}
  152.  
  153. \usetikzlibrary{arrows, arrows.meta, automata, backgrounds, calendar, chains, matrix, mindmap, patterns, petri, shadows, shapes.geometric, shapes.misc, spy, trees}
  154.  
  155. \usepackage[european]{circuitikz}
  156.  
  157. \tikzset{>=latex, %melhor aparência para as setas
  158.     inner sep=0pt,outer sep=0pt %sem separação entre os nós
  159. }
  160.  
  161. %%%%%% DEFINICAO DE CORES
  162. \definecolor{black}{rgb}{0,0,0}
  163. \definecolor{white}{rgb}{1,1,1}
  164. \definecolor{red}{rgb}{1,0,0}
  165. \definecolor{green}{rgb}{0,1,0.1}
  166. \definecolor{blue}{rgb}{0,0,1}
  167. \definecolor{lightblue}{rgb}{.75,.75,1}
  168. \definecolor{skyblue}{rgb}{.9,.9,1}
  169. \definecolor{orange}{rgb}{1,.33,0}
  170. \definecolor{gold}{rgb}{1, 0.8, 0.2}
  171. \definecolor{gray}{rgb}{.5,.5,.5}
  172.  
  173. \pagecolor{white}
  174. \color{white}
  175. %CHAMADA DE CONFIGURACOES PARA CÓDIGO-FONTE EM ARDUINO
  176. \input{ARDUINO_CODE.tex}
  177. %CHAMADA DE CONFIGURACOES PARA CÓDIGO-FONTE EM ARDUINO
  178. %\input{PYTHON-CODE.tex}
  179. %\usepackage{npn, ground, vcc, vin, vout, ci, legenda, transistorA, transistorB, transistorC, relay,  ssr, quedadetensao, motorA, motorB, triac, moc, kirchhoff, malha}
  180. %____________________________________________CODIGOS
  181. %lstset{language=Python,
  182. %morecomment={[s][{color{azul}}]{sequencia de caracteres 1}{sequencia de caracteres 2}, %diz
  183. %   que todo o texto entre a sequencia de caracteres 1 e a sequencia de caracteres 2 sera um comentario e
  184. %   sera pintada do tipo de cor 1
  185. %   morecomment={[l][{color{tipo de cor 2}}]{sequencia de caracteres}}, % diz que todo o texto a partir da
  186. %   sequencia de caracteres até a o final da linha sera considerado um comentario e sera pintado com tipo de
  187. %   cor 2
  188. %   keywordstyle=[1]color{tipo de cor 3}, %diz que todas as palavras reservadas da linguagem serão
  189. %   pintatadas com o tipo de cor 3.
  190. %
  191. %}
  192. \usepackage{mdframed}%complemento para wallpaper
  193. %'\makeindex
  194. \hypersetup{pdfpagemode=FullScreen}%para tela cheia
  195. \begin{document}
  196.     \setlength{\footskip}{1mm}
  197.     \CenterWallPaper{1.05}{./IMG/apresentacao.png} 
  198.     %\noindent
  199.     \setstretch{1.25} %espacamento entre linhas
  200.     %   \singlespacing % Para um espaçamento simples
  201.     %   \onehalfspacing % Para um espaçamento de 1,5
  202.     %   \doublespacing % Para um espaçamento duplo
  203.     \sffamily
  204.     \color{white}
  205.     \maketitle
  206. %   \CenterWallPaper{1.1}{./IMG3D/MAKER_02.png}    
  207.     %   \CenterWallPaper{1.25}{./IMG/wallpaper.png}
  208.     %           \noindent
  209.     %       \end{itemize}
  210.     %\makebox[235mm][c]{{\includegraphics[height=50mm,width=230mm]{./IMG_2018/FB_IMG_15320316603844789.jpg}}}   \end{itemize}
  211.     %       \makebox[235mm][c]{ \raisebox{-\totalheight}[0mm][0pt]      {\includegraphics[height=\altura-\dXa,width=\largura]{./IMG_2018/FB_IMG_15320316603844789.jpg}}}   
  212.     \pagebreak
  213.     \tableofcontents
  214. %   \CenterWallPaper{1.1}{./IMG3D/MAKER_02.png}
  215.     \pagebreak
  216.     \input{./CAPITULOS_YOUTUBE.tex}
  217.     %   \backmatter
  218.     % bibliography, glossary and index would go here.
  219. \end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top