Skip to content

Instantly share code, notes, and snippets.

@wesleyit
Created June 14, 2023 22:33
Show Gist options
  • Save wesleyit/624e27f3a3c4147f170c52badc525986 to your computer and use it in GitHub Desktop.
Save wesleyit/624e27f3a3c4147f170c52badc525986 to your computer and use it in GitHub Desktop.
Template for laws in Biblatex format
@brlaw{LGPD2018,
author = {BRASIL},
title = {Lei nº 13.709, de 18 de agosto de 2018},
year = {2018},
subtitle = {Lei Geral de Proteção de Dados Pessoais},
publisher = {Diário Oficial da União},
address = {Brasília, DF},
url = {http://www.planalto.gov.br/ccivil_03/_ato2015-2018/2018/lei/L13709.htm},
addendum = {Acesso em: 14/06/2023.}
}
\DeclareBibliographyDriver{brlaw}{%
\printnames{author}
\newunit\newblock
\printfield{title}
\newunit\newblock
\printfield{subtitle}
\newunit\newblock
\printlist{location}
\newunit
\printlist{publisher}
\newunit
\printfield{year}
\newunit
\printfield{url}
\newunit
\printfield{addendum}
\newunit
\usebibmacro{pageref}
\finentry
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment