typst

Repositório typst
git clone git://git.sivaldodavi.com/typst.git
Log | Files | Refs | README

typst-show.typ (1025B)


      1 #show: doc => abnt-doc(
      2 $if(title)$
      3   titulo: "$title$",
      4 $endif$
      5   numeracao: $if(abnt-numeracao)$"$abnt-numeracao$"$else$"1"$endif$,
      6   numeracao-secoes: $if(abnt-numeracao-secoes)$"$abnt-numeracao-secoes$"$else$"1.1"$endif$,
      7   pagina-inicial: $if(abnt-pagina-inicial)$$abnt-pagina-inicial$$else$none$endif$,
      8   quebra-secoes: $if(abnt-sem-quebra-secoes)$false$else$true$endif$,
      9   entrelinha: $if(abnt-entrelinha)$$abnt-entrelinha$$else$1.04em$endif$,
     10   sumario: $if(abnt-sumario)$true$else$false$endif$,
     11 $if(abnt-fonte)$
     12   fonte: "$abnt-fonte$",
     13 $endif$
     14 $if(abnt-capa)$
     15   capa: (
     16     instituicao: "$abnt-instituicao$",
     17     curso: "$abnt-curso$",
     18     titulo: "$title$",
     19     subtitulo: "$abnt-subtitulo$",
     20     autores: ($for(abnt-autores)$"$abnt-autores$",$endfor$),
     21     dados: ($for(abnt-dados)$"$abnt-dados$",$endfor$),
     22     natureza: "$abnt-natureza$",
     23     orientador: "$abnt-orientador$",
     24     local: "$abnt-local$",
     25     ano: "$abnt-ano$",
     26     folha-rosto: $if(abnt-folha-rosto)$true$else$false$endif$,
     27   ),
     28 $endif$
     29   doc,
     30 )