-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
touying-brandred-uobristol:0.1.3 (#1683)
- Loading branch information
Showing
10 changed files
with
616 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Yigong Hu | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
17 changes: 17 additions & 0 deletions
17
packages/preview/touying-brandred-uobristol/0.1.3/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Touying slide template for University of Bristol | ||
|
||
Inspired by the brand guidelines of University of Bristol and modified from the Metropolis theme. | ||
|
||
## Use as Typst Template Package | ||
|
||
Use the following command to create a new project with this theme. | ||
|
||
```bash | ||
typst init @preview/touying-uobristol | ||
``` | ||
|
||
## Examples | ||
|
||
See the [examples](./examples/example.typ) and [output](./examples/example.pdf) for more details. | ||
|
||
Licensed under the [MIT License](LICENSE). |
Binary file added
BIN
+81.7 KB
packages/preview/touying-brandred-uobristol/0.1.3/examples/example.pdf
Binary file not shown.
82 changes: 82 additions & 0 deletions
82
packages/preview/touying-brandred-uobristol/0.1.3/examples/example.typ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
#import "@preview/touying-brandred-uobristol:0.1.3": * | ||
|
||
#show: uobristol-theme.with( | ||
aspect-ratio: "16-9", | ||
footer: self => self.info.institution, | ||
config-info( | ||
title: [Title], | ||
subtitle: [Subtitle], | ||
author: [Authors], | ||
date: datetime.today(), | ||
institution: [Institution], | ||
logo: emoji.city, | ||
), | ||
) | ||
|
||
#title-slide() | ||
|
||
#outline-slide([Outline]) | ||
|
||
= First Section | ||
|
||
A slide without a title but with some *important* information. | ||
|
||
=== Heading of level next to the "slide level" | ||
|
||
If the "slide level" is 2, the level-2 heading will be renderred as a new slide, and the level-3 heading will be shown as a special heading. | ||
|
||
==== Other headings are renderred as normal | ||
|
||
Headings of levels greater than $"slide level" + 1$ are shown as normal. | ||
|
||
=== Highlight | ||
|
||
The `highlight` is changed to show text like #highlight[this]. | ||
|
||
--- | ||
|
||
=== Tables | ||
|
||
The lines of tables are shown with the primary color. | ||
|
||
#table( | ||
columns: (1fr, ) * 3, | ||
align: center, | ||
inset: .5em, | ||
table.header[*Column1*][*Column2*][*Column2*], | ||
[Content], [Content], [Content], | ||
[Content], [Content], [Content], | ||
) | ||
|
||
== A long long long long long long long long long long long long long long long long long long long long long long long long Title | ||
|
||
A slide with equation: | ||
|
||
$ x_(n+1) = (x_n + a/x_n) / 2 $ | ||
|
||
#lorem(200) | ||
|
||
= Second Section | ||
|
||
#focus-slide[ | ||
Wake up! | ||
] | ||
|
||
== Simple Animation | ||
|
||
We can use `#pause` to #pause display something later. | ||
|
||
#meanwhile | ||
|
||
Meanwhile, #pause we can also use `#meanwhile` to display other content synchronously. | ||
|
||
#speaker-note[ | ||
+ This is a speaker note. | ||
+ You won't see it unless you use `#let s = (s.math.show-notes-on-second-screen)(self: s, right)` | ||
] | ||
|
||
#show: appendix | ||
|
||
= Appendix | ||
|
||
Please pay attention to the current slide number. |
Oops, something went wrong.