diff options
| author | nsfisis <54318333+nsfisis@users.noreply.github.com> | 2024-04-20 19:24:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-20 19:24:14 +0900 |
| commit | 625e1d18496e787dbd68e9babf4daa1fc1e2f267 (patch) | |
| tree | dfb1e3cfe29df7051052e4ad9971f6c3772268ed /slide.saty | |
| download | phpstudy-163-slides-625e1d18496e787dbd68e9babf4daa1fc1e2f267.tar.gz phpstudy-163-slides-625e1d18496e787dbd68e9babf4daa1fc1e2f267.tar.zst phpstudy-163-slides-625e1d18496e787dbd68e9babf4daa1fc1e2f267.zip | |
Initial commit
Diffstat (limited to 'slide.saty')
| -rw-r--r-- | slide.saty | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/slide.saty b/slide.saty new file mode 100644 index 0000000..528e69b --- /dev/null +++ b/slide.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.jpeg`; + ]); + +fig-center(vconcat [ + big-textbox{\@ デジタルサーカス株式会社}; + ]); + > + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +frame{まとめ}< + +p{TODO} + > + +> |
