diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-01-20 08:27:05 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-01-20 08:27:05 +0900 |
| commit | a02320d12634e6c385e5c3b6b4311f186ced85f5 (patch) | |
| tree | 16afef89857bcd92ce0b15343d9b59cd80884599 /slides.saty | |
| parent | c16b4988b447e6cbe2cda0283c4c91264d101610 (diff) | |
| download | phpstudy-N-slides-template-a02320d12634e6c385e5c3b6b4311f186ced85f5.tar.gz phpstudy-N-slides-template-a02320d12634e6c385e5c3b6b4311f186ced85f5.tar.zst phpstudy-N-slides-template-a02320d12634e6c385e5c3b6b4311f186ced85f5.zip | |
rename slide.saty to slides.saty
Diffstat (limited to 'slides.saty')
| -rw-r--r-- | slides.saty | 73 |
1 files changed, 73 insertions, 0 deletions
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} + > + +> |
