Skip to content

Instantly share code, notes, and snippets.

View ponte-vecchio's full-sized avatar
🇦🇺

Leothelion ponte-vecchio

🇦🇺
View GitHub Profile
@ponte-vecchio
ponte-vecchio / boxed_theorem_heading.tex
Created July 10, 2022 06:23
How to have boxes around theorem heading
\documentclass{article}
\usepackage{amsthm}
\usepackage{mathpazo}
\catcode`@=11
% Define a custom theorem style
\newtheoremstyle{custom}{3pt}{3pt}{\rmfamily}{}{\scshape}{}{.5em}{}
% Redefine thmhead
% `fbox` is the key macro here.
% Alternatives include `fcolorbox` if you want coloured box around the heading.
@ponte-vecchio
ponte-vecchio / diagram.tex
Created July 3, 2022 03:17
Basic Boxes using TikZ arrows and rectangles.
\documentclass{article}
\usepackage{tikz, xcolor}
\definecolor{green}{RGB}{123, 202, 136}
\usetikzlibrary{shapes, arrows, positioning, calc}
\tikzstyle{foo} = [rectangle, minimum height=1em, text centered, draw=black, fill=green]
\tikzstyle{arrow} = [->, >=stealth]
\begin{document}
\begin{tikzpicture}
rsync -rlptH --safe-links --delete-delay --delay-updates rsync://mirror.aarnet.edu.au/archlinux/ archlinux/
def sana_gen(limit):
sanakirja = []
output = []
C_foreign = ['b', 'c', 'f', 'g', 'q', 'w', 'x', 'z', 'š', 'ž']
C_no_loan = ['h','j', 'k', 'l', 'm', 'n', 'p', 'r', 's', 't', 'v']
C_no_loan_initial = ['h','j', 'k', 'l', 'm', 'n', 'p', 'r', 's', 't', 'v']
C_final = ['t', 's', 'n', 'r', 'l']
C_double = ['hd', 'hh', 'hj', 'hk', 'hl', 'hm', 'hn', 'hp', 'ht', 'hv', 'jk',
'pp', 'tt', 'kk', 'mm', 'nn', 'ng', 'nj', 'nk', 'ns', 'nt', 'll', 'lt', 'lk', 'lj', 'ls', 'lv', 'lm', 'ln', 'rv', 'rr', 'rk']