Skip to content

Instantly share code, notes, and snippets.

Avatar

Paulo Cereda cereda

View GitHub Profile
@cereda
cereda / wyd2023.tex
Created Oct 16, 2020
Logo for the WYD Lisbon 2023.
View wyd2023.tex
\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 / simpledoc_abnt.tex
Created Nov 25, 2019
A simple ABNT-compliant document structure.
View simpledoc_abnt.tex
\documentclass[12pt, oneside, a4paper]{memoir}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[brazilian]{babel}
\setulmarginsandblock{3cm}{2cm}{*}
\setlrmarginsandblock{3cm}{2cm}{*}
\checkandfixthelayout
View lifeofpi.tex
\documentclass[margin=1cm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[y=0.80pt, x=0.80pt, yscale=-3.000000, xscale=3.000000, inner sep=0pt, outer sep=0pt]
\path[scale=0.265,fill=black,nonzero rule,line width=0.175pt]
(446.9277,475.1484) .. controls (446.6095,475.1574) and (446.2663,475.1797) ..
(445.8945,475.2109) .. controls (442.7456,475.4650) and (442.1494,475.8050) ..
(441.1289,478.1875) -- (439.8555,480.9961) -- (429.2207,481.0781) .. controls
View pizza.tex
% !Mode:: "TeX:UTF-8:Main"
% !Mode:: "TeX:UTF-8:Main"
% arara: pdflatex
% arara: convert: {density: 96, otheroptions: -dispose previous -delay 20 -loop 1, format: gif}
% xarara: showfile: {format: gif}
\documentclass{article}
\usepackage[utf8]{inputenc} %probably not needed ...
\usepackage[T1]{fontenc}
\usepackage[svgnames,x11names]{xcolor}
View indent.yaml
!config
identifier: indent
name: Indent
command: <arara> latexindent @{silent} @{trace} @{settings} @{cruft} @{overwrite} @{output} @{file} @{modifylinebreaks} @{logfile}
arguments:
- identifier: silent
flag: "@{isTrue(parameters.silent, '-s')}"
- identifier: overwrite
flag: "@{isTrue(parameters.overwrite, '-w')}"
- identifier: trace
View georgeduck.tex
\documentclass[margin=1cm]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{tikzducks}
\definecolor{c3d7465}{RGB}{61,116,101}
\definecolor{c7cb964}{RGB}{124,185,100}
\definecolor{cdaeb7f}{RGB}{218,235,127}
\definecolor{c366b59}{RGB}{54,107,89}
View duck-harrypotter.tex
\documentclass[margin=1cm]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\definecolor{cb3b3b3}{RGB}{179,179,179}
\definecolor{cffffff}{RGB}{255,255,255}
\definecolor{cd4aa00}{RGB}{212,170,0}
\definecolor{cffcc00}{RGB}{255,204,0}
\definecolor{ce6e6e6}{RGB}{230,230,230}
\definecolor{c333333}{RGB}{51,51,51}
View rick.tex
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[margin=1cm]{geometry}
\usepackage{xcolor}
\usepackage{inconsolata}
\begin{document}
\thispagestyle{empty}
@cereda
cereda / swirling-hexagon.tex
Created Jul 1, 2016
Swirling hexagon using TikZ.
View swirling-hexagon.tex
This file has been truncated, but you can view the full file.
\documentclass[margin=1cm]{standalone}
\usepackage{tikz}
\definecolor{cd2d5da}{RGB}{210,213,218}
\definecolor{cb6bbb9}{RGB}{182,187,185}
\definecolor{ccdd2d4}{RGB}{205,210,212}
\definecolor{cc5c6c6}{RGB}{197,198,198}
\definecolor{c806051}{RGB}{128,96,81}
\definecolor{c7e5641}{RGB}{126,86,65}
\definecolor{c5c3a26}{RGB}{92,58,38}
View duck-donkey2.tex
\documentclass[margin=1cm]{standalone}
\usepackage{tikz}
\definecolor{c87cdde}{RGB}{135,205,222}
\definecolor{cffffff}{RGB}{255,255,255}
\definecolor{cd4aa00}{RGB}{212,170,0}
\definecolor{ce6e6e6}{RGB}{230,230,230}
\newcommand{\duck}{\begin{tikzpicture}[y=0.80pt, x=0.80pt, yscale=-1.000000, xscale=1.000000, inner sep=0pt, outer sep=0pt]
You can’t perform that action at this time.