Skip to content

Commit

Permalink
Merge pull request #7 from shunichironomura/phantom-paragraph
Browse files Browse the repository at this point in the history
Add phantom-paragraph function
  • Loading branch information
shunichironomura authored Sep 20, 2024
2 parents 4a63fd2 + ec10295 commit 8174715
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions template.typ
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#let phantom-paragraph() = {
set text(size: 11pt)
let a = par(box())
a
context v(-0.8 * measure(2 * a).width)
}

#let project(
id: "",
title-ja: "",
Expand Down Expand Up @@ -34,9 +41,7 @@
}
it
}
let a = par(box())
a
v(-0.8 * measure(2 * a).width)
phantom-paragraph()
}

// Section reference settings
Expand Down

0 comments on commit 8174715

Please sign in to comment.