From a02320d12634e6c385e5c3b6b4311f186ced85f5 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 20 Jan 2025 08:27:05 +0900 Subject: rename slide.saty to slides.saty --- .gitignore | 4 ++-- Makefile | 4 ++-- slide.saty | 73 ------------------------------------------------------------- slides.saty | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 77 deletions(-) delete mode 100644 slide.saty create mode 100644 slides.saty diff --git a/.gitignore b/.gitignore index effbf03..a352fa4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /.satysfi -/slide.pdf -/slide.satysfi-aux +/slides.pdf +/slides.satysfi-aux diff --git a/Makefile b/Makefile index 1d3a193..78a02d5 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,9 @@ all: build # Build slide PDF. .PHONY: build -build: slide.pdf +build: slides.pdf -slide.pdf: slide.saty +slides.pdf: slides.saty $(SATYSFI_BIN) $^ # Enter Docker shell. diff --git a/slide.saty b/slide.saty deleted file mode 100644 index 61b3439..0000000 --- a/slide.saty +++ /dev/null @@ -1,73 +0,0 @@ -@require: class-slydifi/theme/akasaka -@require: code-printer/code-design -@require: code-printer/code-printer -@require: code-printer/code-syntax -@require: code-printer/code-theme -@require: figbox/figbox - -let ex-big-textbox ?:size-opt it = - let size = Option.from 48pt size-opt in - FigBox.textbox?:(set-font-size size) it - -let big-textbox ?:size-opt it = - let size = Option.from 32pt size-opt in - FigBox.textbox?:(set-font-size size) it - -let mid-textbox ?:size-opt it = - let size = Option.from 24pt size-opt in - FigBox.textbox?:(set-font-size size) it - -let with-frame figbox = figbox - |> FigBox.hvmargin 16pt - |> FigBox.frame 2pt Color.black - -let-block +code-block-php source = - '< - +code-printer?:( - CodePrinter.make-config CodeSyntax.php CodeTheme.iceberg-light - |> CodePrinter.set-number-fun CodeDesign.number-fun-null - )(source); - > - -open FigBox -in - -document '< - +set-config(| - SlydifiThemeAkasaka.default-config with - color-emph = Color.black; - |); - - +make-title(| - title = { - |TODO - |}; - author = {|nsfisis (いまむら)|}; - date = {|第TODO回PHP勉強会@東京|}; - |); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - +frame{自己紹介}< - +fig-center(vconcat [ - gap 30pt; - big-textbox{いまむら}; - ]); - +fig-center(vconcat [ - ex-big-textbox{nsfisis}; - ]); - +fig-center(vconcat [ - include-image 128pt `assets/me_1200x1200.png`; - ]); - +fig-center(vconcat [ - big-textbox{\@ デジタルサーカス株式会社}; - ]); - > - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - +frame{まとめ}< - +p{TODO} - > - -> diff --git a/slides.saty b/slides.saty new file mode 100644 index 0000000..61b3439 --- /dev/null +++ b/slides.saty @@ -0,0 +1,73 @@ +@require: class-slydifi/theme/akasaka +@require: code-printer/code-design +@require: code-printer/code-printer +@require: code-printer/code-syntax +@require: code-printer/code-theme +@require: figbox/figbox + +let ex-big-textbox ?:size-opt it = + let size = Option.from 48pt size-opt in + FigBox.textbox?:(set-font-size size) it + +let big-textbox ?:size-opt it = + let size = Option.from 32pt size-opt in + FigBox.textbox?:(set-font-size size) it + +let mid-textbox ?:size-opt it = + let size = Option.from 24pt size-opt in + FigBox.textbox?:(set-font-size size) it + +let with-frame figbox = figbox + |> FigBox.hvmargin 16pt + |> FigBox.frame 2pt Color.black + +let-block +code-block-php source = + '< + +code-printer?:( + CodePrinter.make-config CodeSyntax.php CodeTheme.iceberg-light + |> CodePrinter.set-number-fun CodeDesign.number-fun-null + )(source); + > + +open FigBox +in + +document '< + +set-config(| + SlydifiThemeAkasaka.default-config with + color-emph = Color.black; + |); + + +make-title(| + title = { + |TODO + |}; + author = {|nsfisis (いまむら)|}; + date = {|第TODO回PHP勉強会@東京|}; + |); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +frame{自己紹介}< + +fig-center(vconcat [ + gap 30pt; + big-textbox{いまむら}; + ]); + +fig-center(vconcat [ + ex-big-textbox{nsfisis}; + ]); + +fig-center(vconcat [ + include-image 128pt `assets/me_1200x1200.png`; + ]); + +fig-center(vconcat [ + big-textbox{\@ デジタルサーカス株式会社}; + ]); + > + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +frame{まとめ}< + +p{TODO} + > + +> -- cgit v1.2.3-70-g09d2