ipe: Add thickness style file master
authorStefan Huber <shuber@sthu.org>
Thu, 4 Jun 2020 09:32:50 +0000 (11:32 +0200)
committerStefan Huber <shuber@sthu.org>
Mon, 15 Nov 2021 14:37:40 +0000 (15:37 +0100)
customize.lua
styles/10pt.isy [new file with mode: 0644]
styles/a4paper-landscape.isy [new file with mode: 0644]
styles/dashstyles.isy
styles/palantino-euler.isy [deleted file]
styles/presentation-fullhd.isy [new file with mode: 0644]
styles/thicknesses.isy [new file with mode: 0644]
styles/tiling.isy [new file with mode: 0644]

index a2fd42e8a3e77966a46b06667242a1f2b073f467..968f7dc763d9a6db8a0f11eb6801af44ea8bd0de 100644 (file)
@@ -4,8 +4,9 @@
 
 shortcuts.hide_axes = "Shift+F1"
 shortcuts.reset_direction = "Shift+F2"
-shortcuts.ipelet_4_goodies = "9"  -- Rotate 90 degrees
+shortcuts.ipelet_5_goodies = "9"  -- Rotate 90 degrees
 shortcuts.ipelet_3_goodies = "Shift+M"  -- Mirror at x-axis
+shortcuts.ipelet_1_libCGAL_skeleton = "Shift+S"  -- Compute interior SK
 
 prefs.max_zoom = 200
 prefs.external_editor = "gvim -f %s"
@@ -13,3 +14,5 @@ prefs.external_editor = "gvim -f %s"
 prefs.autosave_filename = "/tmp/%s.autosave"
 prefs.browser = "firefox %s"
 
+-- coordinates format in GUI
+prefs.coordinates_format = "%f%s, %f%s"
diff --git a/styles/10pt.isy b/styles/10pt.isy
new file mode 100644 (file)
index 0000000..5c1bd38
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE ipestyle SYSTEM "ipe.dtd">
+<ipestyle name="10pt">
+        <preamble>
+               \makeatletter
+               \input{scrsize10pt.clo}
+               \makeatother
+        </preamble>
+</ipestyle>
+
diff --git a/styles/a4paper-landscape.isy b/styles/a4paper-landscape.isy
new file mode 100644 (file)
index 0000000..decba49
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<!DOCTYPE ipestyle SYSTEM "ipe.dtd">
+<ipestyle name="a4paper">
+       <layout paper="843 596" origin="0 0" frame="843 596" crop="no"/>
+       <titlestyle pos="10 10" color="title" size="LARGE" halign="left" valign="baseline" />
+</ipestyle>
index 59d45d521d71076d127f1a27a3f5182acd6da19f..d27badd7301c4e4f208c9618670c001525ae00d4 100644 (file)
@@ -3,5 +3,7 @@
 <ipestyle name="dashstyles">
 <dashstyle name="dashed-narrow" value="[2] 0"/>
 <dashstyle name="dotted-narrow" value="[1 1] 0"/>
+<dashstyle name="dashed-narrower" value="[1] 0"/>
+<dashstyle name="dotted-narrower" value="[0.5 0.5] 0"/>
 </ipestyle>
 
diff --git a/styles/palantino-euler.isy b/styles/palantino-euler.isy
deleted file mode 100644 (file)
index 05fee1a..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE ipestyle SYSTEM "ipe.dtd">
-<ipestyle name="palantino-euler">
-       <preamble>
-               \usepackage{mathpazo}
-               \linespread{1.05}
-               \usepackage[OT1]{eulervm}
-       </preamble>
-</ipestyle>
diff --git a/styles/presentation-fullhd.isy b/styles/presentation-fullhd.isy
new file mode 100644 (file)
index 0000000..c1e40b3
--- /dev/null
@@ -0,0 +1,169 @@
+<?xml version="1.0"?>
+<!DOCTYPE ipestyle SYSTEM "ipe.dtd">
+<ipestyle name="presentation-big">
+<color name="red" value="1 0 0"/>
+<color name="green" value="0 1 0"/>
+<color name="blue" value="0 0 1"/>
+<color name="yellow" value="1 1 0"/>
+<color name="orange" value="1 0.647 0"/>
+<color name="gold" value="1 0.843 0"/>
+<color name="purple" value="0.627 0.125 0.941"/>
+<color name="gray" value="0.745 0.745 0.745"/>
+<color name="brown" value="0.647 0.165 0.165"/>
+<color name="navy" value="0 0 0.502"/>
+<color name="pink" value="1 0.753 0.796"/>
+<color name="seagreen" value="0.18 0.545 0.341"/>
+<color name="turquoise" value="0.251 0.878 0.816"/>
+<color name="violet" value="0.933 0.51 0.933"/>
+<color name="darkblue" value="0 0 0.545"/>
+<color name="darkcyan" value="0 0.545 0.545"/>
+<color name="darkgray" value="0.663 0.663 0.663"/>
+<color name="darkgreen" value="0 0.392 0"/>
+<color name="darkmagenta" value="0.545 0 0.545"/>
+<color name="darkorange" value="1 0.549 0"/>
+<color name="darkred" value="0.545 0 0"/>
+<color name="lightblue" value="0.678 0.847 0.902"/>
+<color name="lightcyan" value="0.878 1 1"/>
+<color name="lightgray" value="0.827 0.827 0.827"/>
+<color name="lightgreen" value="0.565 0.933 0.565"/>
+<color name="lightyellow" value="1 1 0.878"/>
+<color name="title" value="0.4 0 0.4"/>
+<dashstyle name="dashed" value="[4] 0"/>
+<dashstyle name="dotted" value="[1 3] 0"/>
+<dashstyle name="dash dotted" value="[4 2 1 2] 0"/>
+<dashstyle name="dash dot dotted" value="[4 2 1 2 1 2] 0"/>
+<pen name="normal" value="1.2"/>
+<pen name="heavier" value="2.4"/>
+<pen name="fat" value="3.6"/>
+<pen name="ultrafat" value="6"/>
+<textsize name="normal" value="\normalsize"/>
+<textsize name="large" value="\large"/>
+<textsize name="huge" value="\LARGE"/>
+<textsize name="small" value="\normalsize"/>
+<textstretch name="normal" value="2.8"/>
+<textstretch name="large" value="2.8"/>
+<textstretch name="huge" value="2.8"/>
+<textstretch name="small" value="2.4"/>
+<symbolsize name="normal" value="9"/>
+<symbolsize name="large" value="15"/>
+<symbolsize name="small" value="6"/>
+<symbolsize name="tiny" value="3.3"/>
+<arrowsize name="normal" value="15"/>
+<arrowsize name="large" value="20"/>
+<arrowsize name="small" value="10"/>
+<arrowsize name="tiny" value="6"/>
+<gridsize name="16 pts (~6 mm)" value="16"/>
+<gridsize name="32 pts (~12 mm)" value="32"/>
+<gridsize name="10 pts (~3.5 mm)" value="10"/>
+<gridsize name="20 pts (~7 mm)" value="20"/>
+<gridsize name="14 pts (~5 mm)" value="14"/>
+<gridsize name="28 pts (~10 mm)" value="28"/>
+<gridsize name="56 pts (~20 mm)" value="56"/>
+<anglesize name="90 deg" value="90"/>
+<anglesize name="60 deg" value="60"/>
+<anglesize name="45 deg" value="45"/>
+<anglesize name="30 deg" value="30"/>
+<anglesize name="22.5 deg" value="22.5"/>
+<tiling name="falling" angle="-60" width="3" step="12"/>
+<tiling name="rising" angle="30" width="3" step="12"/>
+<textstyle name="center" begin="\begin{center}" end="\end{center}"/>
+<textstyle name="itemize" begin="\begin{flushleft}\begin{itemize}" end="\end{itemize}\end{flushleft}"/>
+<textstyle name="item" begin="\begin{flushleft}\begin{itemize}\item{}" end="\end{itemize}\end{flushleft}"/>
+<textstyle name="normal" begin="\begin{flushleft}" end="\end{flushleft}"/>
+<symbol name="mark/circle(sx)" transformations="translations">
+<path fill="sym-stroke">
+0.6 0 0 0.6 0 0 e 0.4 0 0 0.4 0 0 e
+</path></symbol>
+<symbol name="mark/disk(sx)" transformations="translations">
+<path fill="sym-stroke">
+0.6 0 0 0.6 0 0 e
+</path></symbol>
+<symbol name="mark/fdisk(sfx)" transformations="translations">
+<group><path fill="sym-fill">
+0.5 0 0 0.5 0 0 e
+</path><path fill="sym-stroke" fillrule="eofill">
+0.6 0 0 0.6 0 0 e 0.4 0 0 0.4 0 0 e
+</path></group></symbol>
+<symbol name="mark/box(sx)" transformations="translations">
+<path fill="sym-stroke" fillrule="eofill">
+-0.6 -0.6 m 0.6 -0.6 l 0.6 0.6 l -0.6 0.6 l h
+-0.4 -0.4 m 0.4 -0.4 l 0.4 0.4 l -0.4 0.4 l h</path></symbol>
+<symbol name="mark/square(sx)" transformations="translations">
+<path fill="sym-stroke">
+-0.6 -0.6 m 0.6 -0.6 l 0.6 0.6 l -0.6 0.6 l h</path></symbol>
+<symbol name="mark/fsquare(sfx)" transformations="translations">
+<group><path fill="sym-fill">
+-0.5 -0.5 m 0.5 -0.5 l 0.5 0.5 l -0.5 0.5 l h</path>
+<path fill="sym-stroke" fillrule="eofill">
+-0.6 -0.6 m 0.6 -0.6 l 0.6 0.6 l -0.6 0.6 l h
+-0.4 -0.4 m 0.4 -0.4 l 0.4 0.4 l -0.4 0.4 l h</path></group></symbol>
+<symbol name="mark/cross(sx)" transformations="translations">
+<group><path fill="sym-stroke">
+-0.43 -0.57 m 0.57 0.43 l 0.43 0.57 l -0.57 -0.43 l h</path>
+<path fill="sym-stroke">
+-0.43 0.57 m 0.57 -0.43 l 0.43 -0.57 l -0.57 0.43 l h</path>
+</group></symbol>
+<symbol name="arrow/arc(spx)">
+<path pen="sym-pen" stroke="sym-stroke" fill="sym-stroke">
+0 0 m -1.0 0.333 l -1.0 -0.333 l h</path></symbol>
+<symbol name="arrow/farc(spx)">
+<path pen="sym-pen" stroke="sym-stroke" fill="white">
+0 0 m -1.0 0.333 l -1.0 -0.333 l h</path></symbol>
+<symbol name="arrow/fnormal(spx)">
+<path pen="sym-pen" stroke="sym-stroke" fill="white">
+0 0 m -1.0 0.333 l -1.0 -0.333 l h</path></symbol>
+<symbol name="arrow/pointed(spx)">
+<path pen="sym-pen" stroke="sym-stroke" fill="sym-stroke">
+0 0 m -1.0 0.333 l -0.8 0 l -1.0 -0.333 l h</path></symbol>
+<symbol name="arrow/fpointed(spx)">
+<path pen="sym-pen" stroke="sym-stroke" fill="white">
+0 0 m -1.0 0.333 l -0.8 0 l -1.0 -0.333 l h</path></symbol>
+<symbol name="arrow/linear(spx)">
+<path pen="sym-pen" stroke="sym-stroke">
+-1.0 0.333 m 0 0 l -1.0 -0.333 l</path></symbol>
+<symbol name="arrow/fdouble(spx)">
+<path pen="sym-pen" stroke="sym-stroke" fill="white">
+0 0 m -1.0 0.333 l -1.0 -0.333 l h
+-1 0 m -2.0 0.333 l -2.0 -0.333 l h
+</path></symbol>
+<symbol name="arrow/double(spx)">
+<path pen="sym-pen" stroke="sym-stroke" fill="sym-stroke">
+0 0 m -1.0 0.333 l -1.0 -0.333 l h
+-1 0 m -2.0 0.333 l -2.0 -0.333 l h
+</path></symbol>
+<opacity name="10%" value="0.1"/>
+<opacity name="30%" value="0.3"/>
+<opacity name="50%" value="0.5"/>
+<opacity name="75%" value="0.75"/>
+<preamble>
+\renewcommand\rmdefault{cmss}
+\makeatletter
+\leftmargini 1.5em
+\leftmargin \leftmargini
+\leftmarginii  1.2em
+\leftmarginiii 1em
+\def\@listI{\leftmargin\leftmargini
+            \parsep \z@
+           \partopsep 3pt
+           \topsep \z@
+            \itemsep \z@}
+\@listI
+\def\@listii {\leftmargin\leftmarginii
+              \labelwidth\leftmarginii
+              \advance\labelwidth-\labelsep
+              \topsep    \z@
+              \parsep    \z@
+              \itemsep   \parsep}
+\def\@listiii{\leftmargin\leftmarginiii
+              \labelwidth\leftmarginiii
+              \advance\labelwidth-\labelsep
+              \topsep    \z@
+              \parsep    \z@
+              \partopsep \z@
+              \itemsep   \topsep}
+\makeatother
+</preamble>
+<layout paper="1920 1080" origin="32 0" frame="1856 950" skip="32" crop="no"/>
+<titlestyle pos="368 554" size="large" color="title"  
+           halign="center" valign="baseline"/>
+</ipestyle>
diff --git a/styles/thicknesses.isy b/styles/thicknesses.isy
new file mode 100644 (file)
index 0000000..008285e
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<!DOCTYPE ipestyle SYSTEM "ipe.dtd">
+<ipestyle name="thicknesses">
+       <pen name="thick-3" value="3"/>
+       <pen name="thick-5" value="5"/>
+       <pen name="thick-7" value="7"/>
+       <pen name="thick-7" value="7"/>
+       <pen name="thick-9" value="9"/>
+       <pen name="thick-11" value="11"/>
+</ipestyle>
+
diff --git a/styles/tiling.isy b/styles/tiling.isy
new file mode 100644 (file)
index 0000000..2ce217a
--- /dev/null
@@ -0,0 +1,6 @@
+<ipestyle name="tilings">
+    <tiling name="vertical-narrow" angle="90" width="0.3" step="0.7" />
+    <tiling name="horizontal-narrow" angle="0" width="0.3" step="0.7" />
+    <tiling name="vertical" angle="90" width="1" step="2" />
+    <tiling name="horizontal" angle="0" width="1" step="2" />
+</ipestyle>