• R/O
  • SSH

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision3250dcd18a9f319b692868103bde9211fc5ee6dc (tree)
Zeit2022-04-28 04:48:47
AutorLorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

Simple code to generate a hand-written signature.

Ändern Zusammenfassung

Diff

diff -r b308b7dbd5b1 -r 3250dcd18a9f latex-documents/signature_comune.tex
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/latex-documents/signature_comune.tex Wed Apr 27 21:48:47 2022 +0200
@@ -0,0 +1,59 @@
1+% \documentclass[12pt]{article}
2+
3+
4+% Use xelatex (and not pdflatex!!!) to compile
5+
6+\documentclass[17pt]{extarticle}
7+
8+\usepackage{fontspec}
9+
10+\usepackage[doublespacing]{setspace}% line spacing
11+% \usepackage[T1]{fontenc}
12+
13+\usepackage[svgnames]{xcolor}
14+\usepackage{graphicx}
15+
16+% thanks to Bruno Le Floch: http://tex.stackexchange.com/q/9331/4012
17+% and in his comments to http://tex.stackexchange.com/a/29458/4012
18+\usepackage{rotating}
19+\usepackage[first=-6,last=6]{lcg}% you can play around with these values
20+\makeatletter
21+\newcommand{\globalrand}{\rand\global\cr@nd\cr@nd}
22+\makeatother
23+
24+\newcommand{\randomrotation}[1]{\globalrand\turnbox{\value{rand}}{#1}\phantom{#1}}
25+
26+
27+\setmainfont{FountainPen.ttf}
28+
29+
30+% thanks to Martin Scharrer: http://tex.stackexchange.com/q/11598/4012
31+\makeatletter
32+\def\cthulhu#1{%
33+ \@cthulhu#1 \@empty
34+}
35+\def\@cthulhu#1 #2{%
36+ \randomrotation{#1}\space
37+ \ifx #2\@empty\else
38+ \expandafter\@cthulhu
39+ \fi
40+ #2%
41+}
42+\makeatother
43+% ----------
44+
45+
46+
47+% \renewcommand*{\rmdefault}{fts}
48+
49+
50+\begin{document}\pagestyle{empty}
51+
52+%% \cthulhu{
53+\textcolor{blue}{Sophie Hemeleers}
54+%% }
55+
56+
57+
58+
59+\end{document}