s6t5-page-bordering
Way to write border around page margin and header/footer.
Report Bug
·
Request Feature
About The Project
Way to write border around page margin and header/footer.
It is often required in business scene.
Demo
Page border include table header/footer
Page border exclude header/footer
Page border include header/footer
Usage
This package provide a function: s6t5-page-bordering.
import / setting script is shown below.
#import "@preview/s6t5-page-bordering:1.0.0": s6t5-page-bordering
#show: s6t5-page-bordering.with(
margin: (left: 30pt, right: 30pt, top: 60pt, bottom: 60pt),
expand: 15pt,
space-top: 15pt,
space-bottom: 15pt,
stroke-header: none,
stroke-footer: none,
header: "",
footer: "",
)
margin is passed in page() function.
margin must to be dictionary include 4 direction.
header and footer is called outside of page().
You can define like #let header = [element], #let header = {calls}.
stroke-header and stroke-footer is used to config stroke border around header/footer.
margin, space-top, space-bottom and expand works like below.

Following Rules
This repository follows below rules.
Contributing
Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag “enhancement”. Don’t forget to give the project a star! Thanks!
How to contributing
- Fork the Project
- Create your Feature Branch (
git checkout -b AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin AmazingFeature) - Open a Pull Request
License
The source code is licensed MIT. See LICENSE.
Contact
- Shumpei-Tanaka
Say Thank You
If my works feels you helpful, I would be happy to have your support for me :D
links are below.