Skip to content

Instantly share code, notes, and snippets.

View cereda's full-sized avatar

Paulo Cereda cereda

View GitHub Profile
@cereda
cereda / simpledoc_abnt.tex
Created November 25, 2019 11:38
A simple ABNT-compliant document structure.
\documentclass[12pt, oneside, a4paper]{memoir}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[brazilian]{babel}
\setulmarginsandblock{3cm}{2cm}{*}
\setlrmarginsandblock{3cm}{2cm}{*}
\checkandfixthelayout
@cereda
cereda / wyd2023.tex
Created October 16, 2020 11:46
Logo for the WYD Lisbon 2023.
\documentclass[margin=1cm]{standalone}
\usepackage{tikz}
\definecolor{c00873e}{RGB}{0,135,62}
\definecolor{cd63f31}{RGB}{214,63,49}
\definecolor{cfbc112}{RGB}{251,193,18}
\begin{document}
\def \globalscale {4.000000}
@cereda
cereda / mona.tex
Created January 14, 2021 14:46
Mona Lisa with pxpic
\documentclass{standalone}
\usepackage{pxpic}
\begin{document}
\pxpicsetup{
mode = px,
colours = {a=[HTML]{969660},b=[HTML]{424140},c=[HTML]{615032},d=[HTML]{946833},e=[HTML]{523226},f=[HTML]{D3AA52},g=[HTML]{636B4A},h=[HTML]{AEB083},i=[HTML]{241625},j=[HTML]{7A8555}},
size = 4pt
@cereda
cereda / .zshrc
Created December 6, 2021 17:08
My .zshrc file
# directory to store all antigen stuff -- optional,
# I just like to keep things out of my home dir
ADOTDIR=/opt/paulo/applications/antigen/payload
# source to the antigen script, obtained from
# curl -L git.io/antigen > antigen.zsh
source /opt/paulo/applications/antigen/antigen.zsh
# tell antigen to use the omz framework
antigen use oh-my-zsh