Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit 6e0c625c authored by Mattéo Delabre's avatar Mattéo Delabre
Browse files

Improve visuals

parent dfee3419
No related branches found
No related tags found
No related merge requests found
latexmk -xelatex -output-directory=build \
home power scroll-x scroll-y setup tap
for file in build/*.pdf
do
inkscape $file --export-plain-svg ${file/.pdf/.svg}
done
mv build/*.svg .
rm -rf build
......@@ -70,7 +70,7 @@
id="g76"><g
id="g78"><path
id="path80"
style="fill:none;stroke:#666666;stroke-width:0.29887;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
style="fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:#333333;stroke-width:0.29887;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
d="m 27.38924,8.50455 h -5.17157 c -0.13755,0 -0.24907,-0.11153 -0.24907,-0.24907 V 3.08391 c 0,-0.13754 0.11152,-0.24907 0.24907,-0.24907 h 5.17157 c 0.13754,0 0.24906,0.11153 0.24906,0.24907 v 5.17157 c 0,0.13754 -0.11152,0.24907 -0.24906,0.24907 z" /></g><g
id="g82"><g
transform="scale(-1)"
......@@ -99,29 +99,13 @@
id="g112" /><g
transform="translate(-68.966,-3.866)"
id="g114" /></g></g></g></g></g><g
id="g116"><g
id="g118"><path
id="path120"
style="fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:#666666;stroke-width:0.29887;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
d="m 27.38924,8.50455 h -5.17157 c -0.13755,0 -0.24907,-0.11153 -0.24907,-0.24907 V 3.08391 c 0,-0.13754 0.11152,-0.24907 0.24907,-0.24907 h 5.17157 c 0.13754,0 0.24906,0.11153 0.24906,0.24907 v 5.17157 c 0,0.13754 -0.11152,0.24907 -0.24906,0.24907 z" /></g><g
id="g122"><g
transform="scale(-1)"
id="g124"><g
id="g126" /><g
transform="rotate(180,-34.483,-1.933)"
id="g128"><g
id="g130" /><g
transform="translate(24.803,5.67)"
id="g132" /><g
transform="translate(-68.966,-3.866)"
id="g134" /></g></g></g></g><g
id="g136"><path
id="path138"
id="g116"><path
id="path118"
style="fill:none;stroke:#333333;stroke-width:1.59404004;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
d="m 25.13951,15.67369 c 0.08409,1.39957 1.46845,5.5522 5.33321,11.40595" /><g
transform="matrix(-0.05988,-0.99815,0.99815,-0.05988,25.13951,15.67369)"
id="g140"><g
id="g142"><path
id="path144"
id="g120"><g
id="g122"><path
id="path124"
style="fill:#333333;fill-opacity:1;fill-rule:nonzero;stroke:#333333;stroke-width:1.24722004;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
d="M 3.04147,0 C 2.66795,0.09763 1.02614,0.65083 0,1.25287 V -1.25287 C 1.02614,-0.65083 2.66795,-0.09763 3.04147,0 Z" /></g></g></g></g></g></g></g></g></svg>
\ No newline at end of file
......@@ -4,11 +4,10 @@
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}
\newcommand\HighlightHomeKey{}
\input{remarkable}
\newcommand\radius{.15}
\node[lower key, fill=annotation] at (key-c) {};
\draw[annotation, ultra thick, {Latex[length=2.2mm]}-]
($(key-c.north)+(0, .05)$)
to [bend left=15] ++(.2, .6);
......
......@@ -70,7 +70,7 @@
id="g76"><g
id="g78"><path
id="path80"
style="fill:none;stroke:#666666;stroke-width:0.29887;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#666666;stroke-width:0.29887;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
d="m 27.38924,8.50455 h -5.17157 c -0.13755,0 -0.24907,-0.11153 -0.24907,-0.24907 V 3.08391 c 0,-0.13754 0.11152,-0.24907 0.24907,-0.24907 h 5.17157 c 0.13754,0 0.24906,0.11153 0.24906,0.24907 v 5.17157 c 0,0.13754 -0.11152,0.24907 -0.24906,0.24907 z" /></g><g
id="g82"><g
transform="scale(-1)"
......
......@@ -4,7 +4,7 @@
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}
\newcommand{\uppercolor}{annotation}
\newcommand\HighlightUpperKey{}
\input{remarkable}
\newcommand\radius{.15}
......
......@@ -7,7 +7,18 @@
\newcommand\outborder{.1}
\newcommand\button{2 * \outborder}
\ifdefined\uppercolor\else\newcommand\uppercolor{border}\fi
\newcommand\definehighlightoption[3]{
\ifcsname Highlight#1\endcsname
\expandafter\newcommand\csname #1FillColor\endcsname{annotation}
\expandafter\newcommand\csname #1DrawColor\endcsname{annotation}
\else
\expandafter\newcommand\csname #1FillColor\endcsname{#2}
\expandafter\newcommand\csname #1DrawColor\endcsname{#3}
\fi
}
\definehighlightoption{UpperKey}{border}{}
\definehighlightoption{HomeKey}{white}{border}
\tikzset{
secondary/.style={line width=.3},
......@@ -23,7 +34,7 @@
inner sep=0pt,
},
upper key/.style={
fill=\uppercolor, rectangle,
fill=\UpperKeyFillColor, rectangle,
rounded corners=0.25,
minimum width={2 * \outborder cm},
minimum height=2pt,
......@@ -45,6 +56,10 @@
\coordinate (screen-c) at ($(screen-bl)!.5!(screen-tr)$);
\node[lower key] at (2 * \outborder, 2 * \outborder) (key-l) {};
\node[lower key] at (.5 * \width, 2 * \outborder) (key-c) {};
\node[
lower key,
fill=\HomeKeyFillColor,
draw=\HomeKeyDrawColor
] at (.5 * \width, 2 * \outborder) (key-c) {};
\node[lower key] at (\width - 2 * \outborder, 2 * \outborder) (key-r) {};
\end{scope}
......@@ -70,7 +70,7 @@
id="g76"><g
id="g78"><path
id="path80"
style="fill:none;stroke:#666666;stroke-width:0.29887;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#666666;stroke-width:0.29887;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
d="m 27.38924,8.50455 h -5.17157 c -0.13755,0 -0.24907,-0.11153 -0.24907,-0.24907 V 3.08391 c 0,-0.13754 0.11152,-0.24907 0.24907,-0.24907 h 5.17157 c 0.13754,0 0.24906,0.11153 0.24906,0.24907 v 5.17157 c 0,0.13754 -0.11152,0.24907 -0.24906,0.24907 z" /></g><g
id="g82"><g
transform="scale(-1)"
......
......@@ -70,7 +70,7 @@
id="g76"><g
id="g78"><path
id="path80"
style="fill:none;stroke:#666666;stroke-width:0.29887;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#666666;stroke-width:0.29887;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
d="m 27.38924,8.50455 h -5.17157 c -0.13755,0 -0.24907,-0.11153 -0.24907,-0.24907 V 3.08391 c 0,-0.13754 0.11152,-0.24907 0.24907,-0.24907 h 5.17157 c 0.13754,0 0.24906,0.11153 0.24906,0.24907 v 5.17157 c 0,0.13754 -0.11152,0.24907 -0.24906,0.24907 z" /></g><g
id="g82"><g
transform="scale(-1)"
......
......@@ -70,7 +70,7 @@
id="g76"><g
id="g78"><path
id="path80"
style="fill:none;stroke:#666666;stroke-width:0.29887;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#666666;stroke-width:0.29887;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
d="m 27.38924,8.50455 h -5.17157 c -0.13755,0 -0.24907,-0.11153 -0.24907,-0.24907 V 3.08391 c 0,-0.13754 0.11152,-0.24907 0.24907,-0.24907 h 5.17157 c 0.13754,0 0.24906,0.11153 0.24906,0.24907 v 5.17157 c 0,0.13754 -0.11152,0.24907 -0.24906,0.24907 z" /></g><g
id="g82"><g
transform="scale(-1)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment