Skip to content

Commit ea97369

Browse files
committed
0.1.3
1 parent 1f14c13 commit ea97369

File tree

4 files changed

+34
-4
lines changed

4 files changed

+34
-4
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Follow formatting guidelines from https://gsas.harvard.edu/resource/dissertation
55

66
# Changelog
77

8+
## 0.1.3
9+
- Improved figure caption alignment, size, and separation
10+
811
## 0.1.2
912
- Fixed title style
1013
- Added Numbering for equations and figures

lib.typ

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
// to mimic Double Spacing
110110
// https://github.com/typst/typst/issues/106#issuecomment-2041051807
111111
set text(top-edge: 0.7em, bottom-edge: -0.4em)
112-
set par(justify:true, leading: 1em)
112+
set par(justify:true, spacing: 1.8em, leading: 1em)
113113

114114

115115
[*Abstract*]
@@ -121,6 +121,16 @@
121121
show outline.entry.where(level: 1): set outline.entry(fill: none)
122122
show outline.entry.where(level: 1): it => {smallcaps(it)}
123123

124+
show ref: it => {set text(fill: school-color); it}
125+
show figure.caption: it => [
126+
#set text(size: 10pt)
127+
#set par(justify:true)
128+
#set align(left)
129+
#strong([#it.supplement
130+
#context it.counter.display(it.numbering):
131+
]) #it.body
132+
]
133+
124134
outline(
125135
title: grid([
126136
#set text(23pt)

templates/main.typ

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "@preview/harvard-gsas-thesis-oat:0.1.2": frontmatter, school-color
1+
#import "@preview/harvard-gsas-thesis-oat:0.1.3": frontmatter, school-color
22

33
#let ifb = $"fb"^(-1)$
44
#let total-lumi = [140 #ifb]
@@ -32,9 +32,27 @@
3232
caption: [Timing results],
3333
)
3434

35+
== Calorimeter
36+
=== Electromagnetic Calorimetry (ECal)
37+
38+
ATLAS uses Liquid Argon (LAr) calorimeter for electromagnetic energy measurements in both the central region#footnote[ Electromagnetic Barrel
39+
Calorimeter, or EMB ] ($abs(eta) < 1.475$)
40+
and end-caps regions#footnote[Electromagnetic Endcap Calorimeter, or EMEC] ($1.375 < |eta| < 3.2$). Together, they provide three layers of calorimeter cells with varying
41+
granularities. Additionally, in the $abs(eta) < 1.8$ region, a LAr presampler sits in front of the first
42+
layer of the LAr ECal and is used to correct the energy loss in the passive material between LAr ECal and the IP.
43+
@LAr_schematic shows the schematic of the EMB in regions with four layers.
44+
45+
#figure(
46+
rect(fill: school-color),
47+
caption: [Schematic of the EM Barrel Calorimeter, showing four layers including the presampler (PS) layer],
48+
) <LAr_schematic>
49+
50+
3551
== Some equations
3652
#lorem(20)
3753

3854
$
3955
0.002(x + 89.6)^(-1.06log(x))
4056
$
57+
58+

typst.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[package]
22
name = "harvard-gsas-thesis-oat"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
entrypoint = "lib.typ"
55
authors = ["Moelf <https://github.com/Moelf>"]
66
license = "MIT"
77
description = "PhD Thesis template for Harvard GSAS (Graduate School of Arts and Sciences)"
88
repository = "https://github.com/Moelf/harvard-gsas-thesis-oat"
99
keywords = ["Harvard", "GSAS", "Harvard University", "dissertation", "thesis"]
1010
categories = ["thesis"]
11-
exclude = ["example_gsas.pdf", "example_gsas.typ"]
1211

1312
[template]
1413
path = "templates"

0 commit comments

Comments
 (0)