From 49b522ac1a8c9b23a56a595fbca62de26a7237f4 Mon Sep 17 00:00:00 2001 From: ppizarror Date: Wed, 2 Oct 2019 13:19:07 -0300 Subject: [PATCH] Version 3.4.3 --- control.tex | 9 +- example.tex | 2 +- lib/cfg/init.tex | 21 +++- lib/cfg/page.tex | 2 +- lib/cmd/all.tex | 2 +- lib/cmd/control.tex | 2 +- lib/cmd/core.tex | 2 +- lib/cmd/equation.tex | 2 +- lib/cmd/image.tex | 2 +- lib/cmd/math.tex | 2 +- lib/cmd/other.tex | 2 +- lib/cmd/title.tex | 2 +- lib/config.tex | 5 +- lib/env/imports.tex | 2 +- lib/etc/example.tex | 2 +- lib/style/all.tex | 2 +- lib/style/code.tex | 276 +++++++++++++------------------------------ lib/style/color.tex | 2 +- lib/style/other.tex | 2 +- main.tex | 2 +- 20 files changed, 121 insertions(+), 222 deletions(-) diff --git a/control.tex b/control.tex index 30473ef..7b0d66e 100644 --- a/control.tex +++ b/control.tex @@ -1,6 +1,6 @@ % Template: Template Controles LaTeX % Documento: Archivo principal -% Versión: 3.4.2 (19/09/2019) +% Versión: 3.4.3 (02/10/2019) % Codificación: UTF-8 % % Autor: Pablo Pizarro R. @@ -79,6 +79,9 @@ \def\tablecaptiontop {true} % Leyenda arriba de las tablas % ANEXO, CITAS, REFERENCIAS +\def\apaciterefnumber {false} % Lista de referencias con números +\def\apaciterefnumberinit {[} % Caracter inicial números apacite +\def\apaciterefnumberfinal {]} % Caracter final números apacite \def\apaciterefsep {9} % Separación entre refs. {apacite} [pt] \def\appendixindepobjnum {true} % Anexo usa n° objetos independientes \def\bibtexrefsep {6} % Separación entre refs. {bibtex} [pt] @@ -222,13 +225,13 @@ % DECLARACIÓN DE ESTILOS \RequirePackage{enumitem}\makeatletter\def\greek#1{\expandafter\@greek\csname c@#1\endcsname}\def\Greek#1{\expandafter\@Greek\csname c@#1\endcsname}\def\@greek#1{\ifcase#1\or $\alpha$\or $\beta$\or $\gamma$\or $\delta$\or $\epsilon$\or $\zeta$\or $\eta$\or $\theta$\or $\iota$\or $\kappa$\or $\lambda$\or $\mu$\or $\nu$\or $\xi$\or $o$\or $\pi$\or $\rho$\or $\sigma$\or $\tau$\or $\upsilon$\or $\phi$\or $\chi$\or $\psi$\or $\omega$\fi}\def\@Greek#1{\ifcase#1\or $\mathrm{A}$\or $\mathrm{B}$\or $\Gamma$\or $\Delta$\or $\mathrm{E}$\or $\mathrm{Z}$\or $\mathrm{H}$\or $\Theta$\or $\mathrm{I}$\or $\mathrm{K}$\or $\Lambda$\or $\mathrm{M}$\or $\mathrm{N}$\or $\Xi$\or $\mathrm{O}$\or $\Pi$\or $\mathrm{P}$\or $\Sigma$\or $\mathrm{T}$\or $\mathrm{Y}$\or $\Phi$\or $\mathrm{X}$\or $\Psi$\or $\Omega$\fi}\makeatother\AddEnumerateCounter{\greek}{\@greek}{24}\AddEnumerateCounter{\Greek}{\@Greek}{12}\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} -\lstdefinelanguage[x64]{Assembler}[x86masm]{Assembler}{morekeywords={CDQE,CQO,CMPSQ,CMPXCHG16B,JRCXZ,LODSQ,MOVSXD,POPFQ,PUSHFQ,SCASQ,STOSQ,IRETQ,RDTSCP,SWAPGS,rax,rdx,rcx,rbx,rsi,rdi,rsp,rbp,r8,r8d,r8w,r8b,r9,r9d,r9w,r9b,r10,r10d,r10w,r10b,r11,r11d,r11w,r11b,r12,r12d,r12w,r12b,r13,r13d,r13w,r13b,r14,r14d,r14w,r14b,r15,r15d,r15w,r15b}}\lstdefinestyle{assemblerx64}{language=[x64]Assembler}\lstdefinestyle{assemblerx86}{language=[x86masm]Assembler}\lstdefinestyle{bash}{language=bash,breakatwhitespace=false,morecomment=[l]{rem},morecomment=[s]{::}{::},morekeywords={call,cp,dig,gcc,git,grep,ls,mv,python,rm,sudo,vim},sensitive=false}\lstdefinestyle{c}{language=C,breakatwhitespace=false,keepspaces=true}\lstdefinestyle{cpp}{language=C++,breakatwhitespace=false,morecomment=[l][\color{magenta}]{\#}}\lstdefinestyle{csharp}{language=csh,morecomment=[l]{//},morecomment=[s]{/*}{*/},morekeywords={abstract,as,base,bool,break,byte,case,catch,char,checked,class,const,continue,decimal,default,delegate,do,double,else,enum,event,explicit,extern,false,finally,fixed,float,for,foreach,goto,if,implicit,in,int,interface,internal,is,lock,long,namespace,new,null,object,operator,out,override,params,private,protected,public,readonly,ref,return,sbyte,sealed,short,sizeof,stackalloc,static,string,struct,switch,this,throw,true,try,typeof,uint,ulong,unchecked,unsafe,ushort,using,virtual,void,volatile,while}}\lstdefinelanguage{CSS}{morecomment=[s]{/*}{*/},morekeywords={-moz-binding,-moz-border-bottom-colors,-moz-border-left-colors,-moz-border-radius,-moz-border-radius-bottomleft,-moz-border-radius-bottomright,-moz-border-radius-topleft,-moz-border-radius-topright,-moz-border-right-colors,-moz-border-top-colors,-moz-opacity,-moz-outline,-moz-outline-color,-moz-outline-style,-moz-outline-width,-moz-user-focus,-moz-user-input,-moz-user-modify,-moz-user-select,-replace,-set-link-source,-use-link-source,accelerator,azimuth,background,background-attachment,background-color,background-image,background-position,background-position-x,background-position-y,background-repeat,behavior,border,border-bottom,border-bottom-color,border-bottom-style,border-bottom-width,border-collapse,border-color,border-left,border-left-color,border-left-style,border-left-width,border-right,border-right-color,border-right-style,border-right-width,border-spacing,border-style,border-top,border-top-color,border-top-style,border-top-width,border-width,bottom,caption-side,clear,clip,color,content,counter-increment,counter-reset,cue,cue-after,cue-before,cursor,direction,display,elevation,empty-cells,filter,float,font,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,height,ime-mode,include-source,layer-background-color,layer-background-image,layout-flow,layout-grid,layout-grid-char,layout-grid-char-spacing,layout-grid-line,layout-grid-mode,layout-grid-type,left,letter-spacing,line-break,line-height,list-style,list-style-image,list-style-position,list-style-type,margin,margin-bottom,margin-left,margin-right,margin-top,marker-offset,marks,max-height,max-width,min-height,min-width,orphans,outline,outline-color,outline-style,outline-width,overflow,overflow-X,overflow-Y,padding,padding-bottom,padding-left,padding-right,padding-top,page,page-break-after,page-break-before,page-break-inside,pause,pause-after,pause-before,pitch,pitch-range,play-during,position,quotes,richness,right,ruby-align,ruby-overhang,ruby-position,scrollbar-3d-light-color,scrollbar-arrow-color,scrollbar-base-color,scrollbar-dark-shadow-color,scrollbar-face-color,scrollbar-highlight-color,scrollbar-shadow-color,scrollbar-track-color,size,speak,speak-header,speak-numeral,speak-punctuation,speech-rate,stress,table-layout,text-align,text-align-last,text-autospace,text-decoration,text-indent,text-justify,text-kashida-space,text-overflow,text-shadow,text-transform,text-underline-position,top,unicode-bidi,vertical-align,visibility,voice-family,volume,white-space,widows,width,word-break,word-spacing,word-wrap,writing-mode,z-index,zoom},morestring=[s]{:}{;},sensitive=true}\lstdefinestyle{css}{language=CSS,breakatwhitespace=true}\lstdefinestyle{cuda}{language=C++,breakatwhitespace=false,emph={cudaFree,cudaMalloc,__device__,__global__,__host__,__shared__,__syncthreads},emphstyle=\color{dkcyan}\ttfamily,morecomment=[l][\color{magenta}]{\#},moredelim=[s][\ttfamily]{<<<}{>>>}}\lstdefinelanguage{docker}{comment=[l]{\#},keywords={ADD,CMD,COPY,ENTRYPOINT,ENV,EXPOSE,FROM,LABEL,MAINTAINER,ONBUILD,RUN,STOPSIGNAL,USER,VOLUME,WORKDIR},morestring=[b]',morestring=[b]"}\lstdefinestyle{docker}{language=docker,breakatwhitespace=true}\lstdefinestyle{fortran}{language=[95]Fortran,breakatwhitespace=false}\lstdefinelanguage{GLSL}{alsoletter={\#},morekeywords=[1]{attribute,bool,break,bvec2,bvec3,bvec4,case,centroid,const,continue,default,discard,do,else,false,flat,float,for,highp,if,in,inout,int,invariant,isampler1D,isampler1DArray,isampler2D,isampler2DArray,isampler2DMS,isampler2DMSArray,isampler2DRect,isampler3D,isamplerBuffer,isamplerCube,ivec2,ivec3,ivec4,layout,lowp,mat2,mat2x2,mat2x3,mat2x4,mat3,mat3x2,mat3x3,mat3x4,mat4,mat4x2,mat4x3,mat4x4,mediump,noperspective,out,precision,return,sampler1D,sampler1DArray,sampler1DArrayShadow,sampler1DShadow,sampler2D,sampler2DArray,sampler2DArrayShadow,sampler2DMS,sampler2DMSArray,sampler2DRect,sampler2DRectShadow,sampler2DShadow,sampler3D,samplerBuffer,samplerCube,samplerCubeShadow,smooth,struct,switch,true,uint,uniform,usampler1D,usampler1DArray,usampler2D,usampler2DArray,usampler2DMS,usampler2DMSArray,usampler2DRect,usampler3D,usamplerBuffer,usamplerCube,uvec2,uvec3,uvec4,varying,vec2,vec3,vec4,void,while},morekeywords=[2]{abs,acos,acosh,all,any,asin,asinh,atan,atan,atanh,ceil,clamp,cos,cosh,cross,degrees,determinant,dFdx,dFdy,distance,dot,EmitVertex,EndPrimitive,equal,exp,exp2,faceforward,floatBitsToInt,floatBitsToUint,floor,fract,fwidth,greaterThan,greaterThanEqual,intBitsToFloat,inverse,inversesqrt,isinf,isnan,length,lessThan,lessThanEqual,log,log2,matrixCompMult,max,min,mix,mod,modf,noise1,noise2,noise3,noise4,normalize,not,notEqual,outerProduct,pow,radians,reflect,refract,round,roundEven,shadow1D,shadow1DLod,shadow1DProj,shadow1DProjLod,shadow2D,shadow2DLod,shadow2DProj,shadow2DProjLod,sign,sin,sinh,smoothstep,sqrt,step,tan,tanh,texelFetch,texelFetchOffset,texture,texture1D,texture1DProj,texture1DProjLod,texture2D,texture2DLod,texture2DProj,texture2DProjLod,texture3D,texture3DLod,texture3DProj,texture3DProjLod,textureCube,textureCubeLod,textureGrad,textureGradOffset,textureLod,textureLodOffset,textureOffset,textureProj,textureProjGrad,textureProjGradOffset,textureProjLod,textureProjLodOffset,textureProjOffset,textureSize,transpose,trunc,uintBitsToFloat},morekeywords=[3]{\#version,core,gl_ClipDistance,gl_ClipDistance,gl_ClipVertex,gl_DepthRange,gl_FragColor,gl_FragCoord,gl_FragData,gl_FragDepth,gl_FrontFacing,gl_InstanceID,gl_Layer,gl_MaxClipDistances,gl_MaxCombinedTextureImageUnits,gl_MaxDrawBuffers,gl_MaxDrawBuffers,gl_MaxFragmentInputComponents,gl_MaxFragmentUniformComponents,gl_MaxGeometryInputComponents,gl_MaxGeometryOutputComponents,gl_MaxGeometryOutputVertices,gl_MaxGeometryOutputVertices,gl_MaxGeometryTextureImageUnits,gl_MaxGeometryTotalOutputComponents,gl_MaxGeometryUniformComponents,gl_MaxGeometryVaryingComponents,gl_MaxTextureImageUnits,gl_MaxVaryingComponents,gl_MaxVaryingFloats,gl_MaxVertexAttribs,gl_MaxVertexOutputComponents,gl_MaxVertexTextureImageUnits,gl_MaxVertexUniformComponents,gl_PerVertex,gl_PointCoord,gl_PointSize,gl_Position,gl_PrimitiveID,gl_VertexID},morecomment=[l]{//},morecomment=[s]{/*}{*/}}\lstdefinestyle{glsl}{language=GLSL,keywordstyle=[3]\color{dkcyan}\ttfamily,prebreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},sensitive=true,upquote=true}\lstdefinestyle{haskell}{language=haskell,morecomment=[l]\%}\lstdefinelanguage{HTML5}{language=html,alsoletter={<>=-},morecomment=[s]{},ndkeywords={-moz-transform:,,,,,,,,,,,,,,,,,,,,,,,