Skip to content

Commit 15b28c9

Browse files
committed
Agrego inverted-slide
1 parent 0989cc9 commit 15b28c9

2 files changed

Lines changed: 22 additions & 10 deletions

File tree

slides/01.typ

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#import "@preview/codly-languages:0.1.10": *
44
#import "@preview/gentle-clues:1.3.1": *
55
#import "@preview/pinit:0.2.2": *
6-
#import "template.typ": setup-template, new-section-slide
6+
#import "template.typ": setup-template, new-section-slide, inverted-slide
77

88
#show: codly-init.with()
99
#codly(
@@ -65,7 +65,7 @@
6565
]
6666
]
6767

68-
#new-section-slide[A jugar con Python #emoji.laptop]
68+
#inverted-slide[A laburar]
6969

7070
#new-section-slide[Tipos de datos elementales]
7171

@@ -456,7 +456,7 @@
456456
pin11returnpin12 pin13valorpin14
457457
```
458458

459-
#uncover(1)[
459+
#uncover(2)[
460460
#pinit-highlight(1, 2, dy: -1.1em, fill: rgb(0, 0, 255, 50))
461461

462462
#pinit-point-from(
@@ -475,7 +475,7 @@
475475
]
476476
]
477477

478-
#uncover(2)[
478+
#uncover(3)[
479479
#pinit-highlight(3, 4, dy: -1.1em, fill: rgb(0, 0, 255, 50))
480480

481481
#pinit-point-from(
@@ -495,7 +495,7 @@
495495
]
496496

497497

498-
#uncover(3)[
498+
#uncover(4)[
499499
#pinit-highlight(5, 6, dy: -1.2em, extended-height: 1.6em, fill: rgb(0, 0, 255, 50))
500500

501501
#pinit-point-from(
@@ -511,7 +511,7 @@
511511
]
512512
]
513513

514-
#uncover(4)[
514+
#uncover(5)[
515515
#pinit-highlight(7, 8, dy: -1.2em, extended-height: 1.6em, fill: rgb(0, 0, 255, 50))
516516

517517
#pinit-point-from(
@@ -527,7 +527,7 @@
527527
]
528528
]
529529

530-
#uncover(5)[
530+
#uncover(6)[
531531
#pinit-highlight(9, 10, dy: -1.2em, extended-height: 1.6em, fill: rgb(0, 0, 255, 50))
532532

533533
#pinit-point-from(
@@ -543,7 +543,7 @@
543543
]
544544
]
545545

546-
#uncover(6)[
546+
#uncover(7)[
547547
#pinit-highlight(11, 12, dy: -1.2em, extended-height: 1.6em, fill: rgb(0, 0, 255, 50))
548548

549549
#pinit-point-from(
@@ -555,12 +555,12 @@
555555
pin-dx: 0pt,
556556
pin-dy: 10pt
557557
)[
558-
#annotation[Indica que se devuelve un valor \ y el fin de la ejecución \
558+
#annotation[Indica que se devuelve un valor \ y el fin de la ejecución \
559559
de la función]
560560
]
561561
]
562562

563-
#uncover(7)[
563+
#uncover(8)[
564564
#pinit-highlight(13, 14, dy: -1.2em, extended-height: 1.6em, fill: rgb(0, 0, 255, 50))
565565

566566
#pinit-point-from(
@@ -577,6 +577,7 @@
577577
]
578578
]
579579

580+
#inverted-slide[A laburar]
580581

581582
#new-section-slide[Ejecución condicional]
582583

slides/template.typ

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,14 @@
7171
#line(stroke: new-section-stroke, length: 100%)
7272
#toolbox.register-section(title)
7373
]
74+
75+
76+
#let inverted-slide(title) = slide[
77+
#let color = course-red.lighten(20%)
78+
#set page(footer: none, header: none, fill: color)
79+
#set align(horizon)
80+
#set text(size: 2em, fill: white)
81+
#set align(center)
82+
#strong(title)
83+
#line(stroke: 3pt + white, length: 100%)
84+
]

0 commit comments

Comments
 (0)