Advertisement
Guest User

Untitled

a guest
Apr 18th, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.67 KB | None | 0 0
  1. documentclass[preview]{standalone}
  2. usepackage[latin1]{inputenc}
  3. usepackage[spanish]{babel}
  4. usepackage{latexsym,amsmath,amssymb,amsfonts}
  5. %----------------------------------------------------------------------------------------
  6. usepackage{xcolor}
  7. usepackage{textcomp}
  8. usepackage{listings}
  9. usepackage{matlab-prettifier}
  10. %----------------------------------------------------------------------------------------
  11. begin{document}
  12. begin{lstlisting}[style = Matlab-editor, basicstyle = mlttfamily]
  13. clc, close all, clear all;
  14. %****************************************************
  15. R = 1;
  16. c = 1;
  17. L = 1;
  18. A = 5;
  19. w = 2*pi;
  20. t = 0:0.04:10;
  21. vout = A.*w.*(1+c.^2.*R.^2.*w.^2).^(-1).*(c.*exp(1).^((-1).*c.^(-1).*R.^(-1).*t).*R+(-1).*c.*R.*cos(t.*w)+w.^(-1).*sin(t.*w));
  22. plot(t,vout,'LineWidth',2), grid on;
  23. title('Respuesta del filtro eléctrico pasivo de primer orden.');
  24. xlabel('Tiempo (s)'), ylabel('Amplitud (V)');
  25. axis([min(t) max(t) min(vout) max(vout)])
  26. end{lstlisting}
  27. end{document}
  28.  
  29. LOG FILE :
  30. This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9 64-bit) (preloaded format=pdflatex 2014.11.9) 18 APR 2015 09:58
  31. entering extended mode
  32. **primero.tex
  33. ("D:DocumentosTesisCircuitos EléctricosLatexFiltros1. Capacitivografic
  34. osscriptsprimeroprimero.tex"
  35. LaTeX2e <2011/06/27>
  36. Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
  37. abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
  38. croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
  39. lician, german, german-x-2013-05-26, greek, gujarati, hindi, hungarian, iceland
  40. ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
  41. lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
  42. german-x-2013-05-26, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
  43. ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
  44. an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
  45. ishmax, welsh, loaded.
  46. ("C:Program FilesMiKTeX 2.9texlatexstandalonestandalone.cls"
  47. Document Class: standalone 2012/09/15 v1.1b Class to compile TeX sub-files stan
  48. dalone
  49. ("C:Program FilesMiKTeX 2.9texgenericoberdiekifluatex.sty"
  50. Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
  51. Package ifluatex Info: LuaTeX not detected.
  52. )
  53. ("C:Program FilesMiKTeX 2.9texgenericoberdiekifpdf.sty"
  54. Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
  55. Package ifpdf Info: pdfTeX in PDF mode is detected.
  56. )
  57. ("C:Program FilesMiKTeX 2.9texgenericifxetexifxetex.sty"
  58. Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
  59. )
  60. ("C:Program FilesMiKTeX 2.9texlatexxkeyvalxkeyval.sty"
  61. Package: xkeyval 2012/10/14 v2.6b package option processing (HA)
  62. ("C:Program FilesMiKTeX 2.9texgenericxkeyvalxkeyval.tex"
  63. XKV@toks=toks14
  64. XKV@tempa@toks=toks15
  65. XKV@depth=count79
  66. File: xkeyval.tex 2012/10/14 v2.6b key=value parser (HA)
  67. ("C:Program FilesMiKTeX 2.9texgenericxkeyvalkeyval.tex")))
  68. sa@internal=count80
  69. ("C:Program FilesMiKTeX 2.9texlatexstandalonestandalone.cfg"
  70. File: standalone.cfg 2012/09/15 v1.1b Default configuration file for 'standalon
  71. e' class
  72. )
  73. ("C:Program FilesMiKTeX 2.9texlatexbasearticle.cls"
  74. Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
  75. ("C:Program FilesMiKTeX 2.9texlatexbasesize10.clo"
  76. File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
  77. )
  78. c@part=count81
  79. c@section=count82
  80. c@subsection=count83
  81. c@subsubsection=count84
  82. c@paragraph=count85
  83. c@subparagraph=count86
  84. c@figure=count87
  85. c@table=count88
  86. abovecaptionskip=skip41
  87. belowcaptionskip=skip42
  88. bibindent=dimen102
  89. )
  90. ("C:Program FilesMiKTeX 2.9texlatexpreviewpreview.sty"
  91. Package: preview 2010/02/14 11.88 (AUCTeX/preview-latex)
  92. ("C:Program FilesMiKTeX 2.9texlatexpreviewprtightpage.def"
  93. PreviewBorder=dimen103
  94. )
  95. pr@snippet=count89
  96. pr@box=box26
  97. pr@output=toks16
  98. ))
  99. ("C:Program FilesMiKTeX 2.9texlatexbaseinputenc.sty"
  100. Package: inputenc 2008/03/30 v1.1d Input encoding file
  101. inpenc@prehook=toks17
  102. inpenc@posthook=toks18
  103. ("C:Program FilesMiKTeX 2.9texlatexbaselatin1.def"
  104. File: latin1.def 2008/03/30 v1.1d Input encoding file
  105. ))
  106. ("C:Program FilesMiKTeX 2.9texgenericbabelbabel.sty"
  107. Package: babel 2008/07/08 v3.8m The Babel package
  108. *************************************
  109. * Local config file bblopts.cfg used
  110. *
  111. ("C:Program FilesMiKTeX 2.9texlatex0miktexbblopts.cfg"
  112. File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
  113. )
  114. ("C:Program FilesMiKTeX 2.9texgenericbabelspanish.ldf"
  115. Language: spanish.ldf 2009/01/02 v5.0h Spanish support from the babel system
  116. ("C:Program FilesMiKTeX 2.9texgenericbabelbabel.def"
  117. File: babel.def 2008/07/08 v3.8m Babel common definitions
  118. babel@savecnt=count90
  119. U@D=dimen104
  120. )
  121. es@datefmt=count91
  122. es@quottoks=toks19
  123. es@quotdepth=count92
  124. Package babel Info: Making " an active character on input line 492.
  125. Package babel Info: Making . an active character on input line 585.
  126. Package babel Info: Making < an active character on input line 630.
  127. Package babel Info: Making > an active character on input line 630.
  128. ))
  129. ("C:Program FilesMiKTeX 2.9texlatexbaselatexsym.sty"
  130. Package: latexsym 1998/08/17 v2.2e Standard LaTeX package (lasy symbols)
  131. symlasy=mathgroup4
  132. LaTeX Font Info: Overwriting symbol font `lasy' in version `bold'
  133. (Font) U/lasy/m/n --> U/lasy/b/n on input line 47.
  134. )
  135. ("C:Program FilesMiKTeX 2.9texlatexamsmathamsmath.sty"
  136. Package: amsmath 2013/01/14 v2.14 AMS math features
  137. @mathmargin=skip43
  138. For additional information on amsmath, use the `?' option.
  139. ("C:Program FilesMiKTeX 2.9texlatexamsmathamstext.sty"
  140. Package: amstext 2000/06/29 v2.01
  141. ("C:Program FilesMiKTeX 2.9texlatexamsmathamsgen.sty"
  142. File: amsgen.sty 1999/11/30 v2.0
  143. @emptytoks=toks20
  144. ex@=dimen105
  145. ))
  146. ("C:Program FilesMiKTeX 2.9texlatexamsmathamsbsy.sty"
  147. Package: amsbsy 1999/11/29 v1.2d
  148. pmbraise@=dimen106
  149. )
  150. ("C:Program FilesMiKTeX 2.9texlatexamsmathamsopn.sty"
  151. Package: amsopn 1999/12/14 v2.01 operator names
  152. )
  153. inf@bad=count93
  154. LaTeX Info: Redefining frac on input line 210.
  155. uproot@=count94
  156. leftroot@=count95
  157. LaTeX Info: Redefining overline on input line 306.
  158. classnum@=count96
  159. DOTSCASE@=count97
  160. LaTeX Info: Redefining ldots on input line 378.
  161. LaTeX Info: Redefining dots on input line 381.
  162. LaTeX Info: Redefining cdots on input line 466.
  163. Mathstrutbox@=box27
  164. strutbox@=box28
  165. big@size=dimen107
  166. LaTeX Font Info: Redeclaring font encoding OML on input line 566.
  167. LaTeX Font Info: Redeclaring font encoding OMS on input line 567.
  168. macc@depth=count98
  169. c@MaxMatrixCols=count99
  170. dotsspace@=muskip10
  171. c@parentequation=count100
  172. dspbrk@lvl=count101
  173. tag@help=toks21
  174. row@=count102
  175. column@=count103
  176. maxfields@=count104
  177. andhelp@=toks22
  178. eqnshift@=dimen108
  179. alignsep@=dimen109
  180. tagshift@=dimen110
  181. tagwidth@=dimen111
  182. totwidth@=dimen112
  183. lineht@=dimen113
  184. @envbody=toks23
  185. multlinegap=skip44
  186. multlinetaggap=skip45
  187. mathdisplay@stack=toks24
  188. LaTeX Info: Redefining [ on input line 2665.
  189. LaTeX Info: Redefining ] on input line 2666.
  190. )
  191. ("C:Program FilesMiKTeX 2.9texlatexamsfontsamssymb.sty"
  192. Package: amssymb 2013/01/14 v3.01 AMS font symbols
  193. ("C:Program FilesMiKTeX 2.9texlatexamsfontsamsfonts.sty"
  194. Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
  195. symAMSa=mathgroup5
  196. symAMSb=mathgroup6
  197. LaTeX Font Info: Overwriting math alphabet `mathfrak' in version `bold'
  198. (Font) U/euf/m/n --> U/euf/b/n on input line 106.
  199. ))
  200. ("D:DocumentosTesisCircuitos EléctricosLatexFiltros1. Capacitivografic
  201. osscriptsprimeroxcolor.sty"
  202. Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)
  203. ("C:Program FilesMiKTeX 2.9texlatex0miktexcolor.cfg"
  204. File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
  205. )
  206. Package xcolor Info: Driver file: pdftex.def on input line 225.
  207. ("C:Program FilesMiKTeX 2.9texlatexpdftex-defpdftex.def"
  208. File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
  209. ("C:Program FilesMiKTeX 2.9texgenericoberdiekinfwarerr.sty"
  210. Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
  211. )
  212. ("C:Program FilesMiKTeX 2.9texgenericoberdiekltxcmds.sty"
  213. Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
  214. )
  215. Gread@gobject=count105
  216. )
  217. Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
  218. Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341.
  219. Package xcolor Info: Model `RGB' extended on input line 1353.
  220. Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
  221. Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
  222. Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
  223. Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
  224. Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
  225. Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
  226. )
  227. ("D:DocumentosTesisCircuitos EléctricosLatexFiltros1. Capacitivografic
  228. osscriptsprimerotextcomp.sty")
  229. ("C:Program FilesMiKTeX 2.9texlatexlistingslistings.sty"
  230. lst@mode=count106
  231. lst@gtempboxa=box29
  232. lst@token=toks25
  233. lst@length=count107
  234. lst@currlwidth=dimen114
  235. lst@column=count108
  236. lst@pos=count109
  237. lst@lostspace=dimen115
  238. lst@width=dimen116
  239. lst@newlines=count110
  240. lst@lineno=count111
  241. lst@maxwidth=dimen117
  242. ("C:Program FilesMiKTeX 2.9texlatexlistingslstmisc.sty"
  243. File: lstmisc.sty 2014/09/06 1.5e (Carsten Heinz)
  244. c@lstnumber=count112
  245. lst@skipnumbers=count113
  246. lst@framebox=box30
  247. )
  248. ("C:Program FilesMiKTeX 2.9texlatexlistingslistings.cfg"
  249. File: listings.cfg 2014/09/06 1.5e listings configuration
  250. ))
  251. Package: listings 2014/09/06 1.5e (Carsten Heinz)
  252. ("D:DocumentosTesisCircuitos EléctricosLatexFiltros1. Capacitivografic
  253. osscriptsprimeromatlab-prettifier.sty"
  254. Package: matlab-prettifier 2014/06/19 v0.3 A package for prettyprinting Matlab
  255. source code
  256. LaTeX Warning: You have requested, on input line 61, version
  257. `2005/09/27' of package textcomp,
  258. but only version
  259. `'
  260. is available.
  261. netBracketCount@mlpr=count114
  262. blkLvl@mlpr=count115
  263. blkLvlAtClassdef@mlpr=count116
  264. emHeight@mlpr=skip46
  265. jayDepth@mlpr=skip47
  266. sectionRuleOffset@mlpr=skip48
  267. toks@mlpr=toks26
  268. )
  269. ("D:DocumentosTesisCircuitos EléctricosLatexFiltros1. Capacitivografic
  270. osscriptsprimeroprimero.aux")
  271. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 12.
  272. LaTeX Font Info: ... okay on input line 12.
  273. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 12.
  274. LaTeX Font Info: ... okay on input line 12.
  275. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 12.
  276. LaTeX Font Info: ... okay on input line 12.
  277. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 12.
  278. LaTeX Font Info: ... okay on input line 12.
  279. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 12.
  280. LaTeX Font Info: ... okay on input line 12.
  281. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 12.
  282. LaTeX Font Info: ... okay on input line 12.
  283. LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 12.
  284. LaTeX Font Info: Try loading font information for TS1+cmr on input line 12.
  285. ("C:Program FilesMiKTeX 2.9texlatexbasets1cmr.fd"
  286. File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
  287. )
  288. LaTeX Font Info: ... okay on input line 12.
  289. Preview: Fontsize 10pt
  290. Preview: PDFoutput 1
  291. ("C:Program FilesMiKTeX 2.9texcontextbasesupp-pdf.mkii"
  292. [Loading MPS to PDF converter (version 2006.09.02).]
  293. scratchcounter=count117
  294. scratchdimen=dimen118
  295. scratchbox=box31
  296. nofMPsegments=count118
  297. nofMParguments=count119
  298. everyMPshowfont=toks27
  299. MPscratchCnt=count120
  300. MPscratchDim=dimen119
  301. MPnumerator=count121
  302. makeMPintoPDFobject=count122
  303. everyMPtoPDFconversion=toks28
  304. )
  305. c@lstlisting=count123
  306. ! Package Listings Error: Option `upquote' requires `textcomp'package.
  307. (Listings) The option has been disabled.
  308. See the Listings package documentation for explanation.
  309. Type H <return> for immediate help.
  310. ...
  311. l.13 ...= Matlab-editor, basicstyle = mlttfamily]
  312. Add usepackage{textcomp} to your preamble.
  313. LaTeX Font Info: Try loading font information for OT1+fvm on input line 13.
  314. LaTeX Font Info: No file OT1fvm.fd. on input line 13.
  315. LaTeX Font Warning: Font shape `OT1/fvm/m/n' undefined
  316. (Font) using `OT1/cmr/m/n' instead on input line 13.
  317. LaTeX Font Info: Try loading font information for U+lasy on input line 15.
  318. ("C:Program FilesMiKTeX 2.9texlatexbaseulasy.fd"
  319. File: ulasy.fd 1998/08/17 v2.2e LaTeX symbol font definitions
  320. )
  321. LaTeX Font Info: Try loading font information for U+msa on input line 15.
  322. ("C:Program FilesMiKTeX 2.9texlatexamsfontsumsa.fd"
  323. File: umsa.fd 2013/01/14 v3.01 AMS symbols A
  324. )
  325. LaTeX Font Info: Try loading font information for U+msb on input line 15.
  326. ("C:Program FilesMiKTeX 2.9texlatexamsfontsumsb.fd"
  327. File: umsb.fd 2013/01/14 v3.01 AMS symbols B
  328. )
  329. LaTeX Font Info: Try loading font information for OMS+fvm on input line 15.
  330. LaTeX Font Info: No file OMSfvm.fd. on input line 15.
  331. LaTeX Font Warning: Font shape `OMS/fvm/m/n' undefined
  332. (Font) using `OMS/cmsy/m/n' instead
  333. (Font) for symbol `textasteriskcentered' on input line 15.
  334. Preview: Tightpage 0 0 0 0
  335. [1{C:/Users/Luis Rivera/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
  336. ("D:DocumentosTesisCircuitos EléctricosLatexFiltros1. Capacitivografic
  337. osscriptsprimeroprimero.aux")
  338. LaTeX Font Warning: Some font shapes were not available, defaults substituted.
  339. )
  340. Here is how much of TeX's memory you used:
  341. 5676 strings out of 493921
  342. 76494 string characters out of 3147264
  343. 179811 words of memory out of 3000000
  344. 8912 multiletter control sequences out of 15000+200000
  345. 5657 words of font info for 25 fonts, out of 3000000 for 9000
  346. 841 hyphenation exceptions out of 8191
  347. 55i,5n,120p,222b,1571s stack positions out of 5000i,500n,10000p,200000b,50000s
  348. <C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb><C:/Pro
  349. gram Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy10.pfb>
  350. Output written on primero.pdf (1 page, 28712 bytes).
  351. PDF statistics:
  352. 14 PDF objects out of 1000 (max. 8388607)
  353. 0 named destinations out of 1000 (max. 500000)
  354. 1 words of extra memory for PDF output out of 10000 (max. 10000000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement