From 00397f27f78d5c2f10e395edf3755910873d9fa3 Mon Sep 17 00:00:00 2001 From: Louis Vignoli Date: Wed, 17 May 2023 23:26:28 +0200 Subject: [PATCH] Transition to kebab case --- long_example.pdf | Bin 228796 -> 230003 bytes long_example.typ | 6 +++--- template.typ | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/long_example.pdf b/long_example.pdf index a35b7da1f804d8694dc25ea708dee6da9dbe8c0d..46e1355e5a23ad6aa41a6feae3907f25aee39962 100644 GIT binary patch delta 2721 zcma)7dsq{97L^Q$20;+qE($UtsMrOQOftzRqP!mqq68ELlmG)n^H`DzFX;~U151?; zL6D%LVoOC~MRB2l3JNxWB8DnUtm0CrP~%#uDA+36-5DU5z<#^VKgsWY_slu>+*dR3 z6;?;QZlCo?Q9AK@8yj49J1%-`W!yH<`phQwqmu~@)a2|j)k$^UzyExhmUO-tZ*xDl zU{Ouqm3E_Y%6;F+X6MqDxx@X`VWA+XOPC^jLs7R{s^!Ct%b-ubut|@9QSQ6)+pn7i zou5&>h0pvV>i4rcjqi@z zJ?}Ua(5|}ZpAb0svIH5oDLr9V(npD6$deKQOSwD_$fGbAh0*&Q@a(W#qV7#rwgvwb zY;ixgG|MNZ`%fk5eUF@jxRyr86D&hzo)&&N_IF&q2kctbj%+WrK5Vw|v{HV-m<+A!LtS43ZCHoz}~Vl(fa#anx7$#qfgcxm9Jotu=k{`k$v8-Cw~HZT9z z&jn{9ZzP9qofB&!x5f-BY{wVmqWSyj&vz;J9#WXUfcw^-8Ey;=U3jb@^7wIKcR=)h zg|+$0W}DW*yqM6B%jCZdaSeJcYGqJ(ySIJn=|SU9ohjdYDWd#*WyKjqA(^SibE*~@ zc3h2a>`z-9XzgQ>eZXoip1VkB;Bde4CTC1lt$AA1=XUm?nR^R>`*Q>(4fSxUC>}PgDf?4z1}dFu}BO1*uwZe3$L|DJ7kUZH#X>4;WbpbGnmTlwVl z654OAmb@@lz2d7&t|>lyyT2BB_0$%dsZ}fH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G7}oDh!~pg0(<-Zo)(bD^@T0j zvG(Kvuq1cg>%{4rs0bPLddfhg_Yfo=c`NpAKIx`toswqSx6F~@RqY;M%zaro_#l#N zJj6YmtyS)zma%ARa^E|x;!^9j=;{-rELxmI<|1iup)7o`=OpWVUt9R7R2VLqI_0Uq z!=2{KR4C3Q&&+uM8Vm0aS|2uNDKp#_UEXv*+kbx^p}U=b!1N|+r;hD%?W2?)r|Le2 zBWbVifU}ls$je(W|5ZBt3a-(|qW@Jt`*HG;vx^Co%B~rE&lR1o`;@f|F`hKSO53DL z_J`KK?$P;Iv~c10-b(1&At4a9%O(@mI*-<4vdH&7N4$y>N9s+S1Hp=!Ia>{W;2W$Mwj`%ss1gpj)FqiG(FLa5%60t zVo_UcK?1nN7K=gsVu42EFqj{<2LHd01MypA@K_Xvr=14q?89Q9aJZ!xl}d+W(Qqrc o*JdQeoTkFD8|ycstu2&B500b9$Az7SqS1I9NPrp{Ie9q$2ZGyps{jB1 diff --git a/long_example.typ b/long_example.typ index 5e8d402..db90fda 100644 --- a/long_example.typ +++ b/long_example.typ @@ -4,8 +4,8 @@ title: "Elucidation of the mechanical energy", author: "Émilie du Châtelet", date: "1759-04-19", - // display_lastpage: false, - // short_title: "The mechanical energy", + // display-lastpage: false, + // short-title: "The mechanical energy", ) = Introduction @@ -56,7 +56,7 @@ Top text Bottom text -#transition(accent_color: navy)[We are about to conclude] +#transition(accent-color: navy)[We are about to conclude] = Conclusion diff --git a/template.typ b/template.typ index 9cc6b68..896ea3e 100644 --- a/template.typ +++ b/template.typ @@ -2,7 +2,7 @@ #let transition( // The slide accent color. Default is a vibrant yellow. - accent_color: rgb("f3bc54"), + accent-color: rgb("f3bc54"), // The slide content. body, @@ -10,7 +10,7 @@ page( width: 15cm, height: 10cm, - background: rect(width: 100%, height: 100%, fill: accent_color), + background: rect(width: 100%, height: 100%, fill: accent-color), header: none, footer: none, )[ @@ -31,10 +31,10 @@ date: none, // If true, display the total number of slide of the presentation. - display_lastpage: true, + display-lastpage: true, // If set, this will be displayed on top of each slide. - short_title: none, + short-title: none, // The presentation's content. body @@ -47,17 +47,17 @@ set page( width: 15cm, height: 10cm, - header: if short_title != none { + header: if short-title != none { set align(right) set text(size: scriptsize) - short_title + short-title }, footer: [ - #let lastpage_number = locate(pos => counter(page).final(pos).at(0)) + #let lastpage-number = locate(pos => counter(page).final(pos).at(0)) #set align(right) #text(size: scriptsize)[ *#counter(page).display("1")* - #if (display_lastpage) [\/ #lastpage_number] + #if (display-lastpage) [\/ #lastpage-number] ] ], )