Skip to content
/ TJU-RL-template Public template

LaTeX template for Tianjin University recommendation letters | 天津大学推荐信 LaTeX 模板

License

Notifications You must be signed in to change notification settings

FeathBow/TJU-RL-template

Repository files navigation

Tianjin University Recommendation Letter Template

License: MIT LaTeX Platform Overleaf Maintenance Last Commit Repo Size

GitHub stars GitHub forks CI Status

Banner

English | 简体中文

A LaTeX template for academic recommendation letters from Tianjin University

Important

This is NOT an official template from Tianjin University. This is a community-maintained project for faculty and students.


Table of Contents


About

A LaTeX template for academic recommendation letters from Tianjin University. This template provides TJU-specific letterhead elements (official logo, brand colors, campus addresses) and follows international academic formatting standards (APA/AMA).

Tianjin University, founded in 1895 as Peiyang University, is the first modern university in China.


Preview

Template Preview

📄 Download PDF Example


Quick Start

Option 1: Local Compilation

Requirements:

  • TeX Live 2020+ (XeLaTeX compiler)

Font Information:

  • Uses Computer Modern (Latin Modern) by default - the standard font for STEM disciplines
  • To switch to Times New Roman, uncomment font settings in TJUletter.cls

Steps:

  1. Clone the repository

    git clone https://github.com/FeathBow/TJU-RL-template.git
    cd TJU-RL-template
  2. Add assets (in assets/ folder)

    • logo.pdf - TJU official logo
    • signature.png - Digital signature (optional)
    • building.png - Background watermark (optional)
  3. Edit main.tex to customize sender information

  4. Compile

    xelatex main.tex
    # or
    latexmk

Option 2: Use on Overleaf

Method 1: Upload ZIP (Recommended)

  1. Download ZIP file
  2. Go to OverleafNew ProjectUpload Project
  3. Upload the ZIP file and start editing

Method 2: Import from GitHub

  1. Fork this repository to your GitHub account
  2. In Overleaf: New ProjectImport from GitHub
  3. Select your forked repository

Campus Addresses

Campus Address
Peiyangyuan Campus
(New Campus)
No. 135 Yaguan Road, Haihe Education Park
Tianjin 300350, China
Weijin Road Campus
(Old Campus)
No. 92 Weijin Road, Nankai District
Tianjin 300072, China

Customization

Feature Configuration Location
Font Default: Computer Modern
Switch to Times New Roman: Uncomment font settings
TJUletter.cls
Background Image Default: Enabled (building.png)
Disable: Comment out \makeWatermark
main.tex
Digital Signature Optional: Add signature.png to assets folder
Specify with \signaturefile{assets/signature.png}
main.tex
Paper Size Default: A4
Switch to US Letter: Change to letterpaper in document class
TJUletter.cls
Margins Top: 3.175cm, Bottom/Left/Right: 2.54cm (APA/AMA standard) TJUletter.cls
Campus Address Dual campus footer (Weijin Road + Peiyangyuan) TJUletter.cls

Development

Local Git Hooks (Optional)

Install pre-commit hooks to automatically lint LaTeX files before committing:

# Install pre-commit framework
pip install pre-commit

# Install hooks
pre-commit install

# Run manually on all files
pre-commit run --all-files

Project Structure

TJU-RL-template/
├── .github/
│   ├── CONTRIBUTING.md           # Contribution guidelines
│   └── workflows/
│       └── latex-ci.yml          # GitHub Actions CI/CD
├── assets/
│   ├── logo.pdf                  # TJU official logo
│   ├── signature.png             # Digital signature (optional)
│   ├── building.png              # Background watermark
│   └── preview.png               # Template preview image
├── .chktexrc                     # chktex linter configuration
├── .gitattributes                # Git language detection
├── .gitignore                    # Git ignore rules
├── .latexindent.yaml             # LaTeX formatter configuration
├── .latexmkrc                    # latexmk build configuration
├── .pre-commit-config.yaml       # Pre-commit hooks configuration
├── LICENSE                       # MIT License
├── main.pdf                      # Compiled example PDF
├── main.tex                      # Main template file (edit this)
├── README.md                     # English documentation
├── README.zh-CN.md               # Chinese documentation
└── TJUletter.cls                 # LaTeX document class

Contributing

Contributions are welcome! Feel free to:

  • Report bugs via Issues
  • Submit improvements via Pull Requests
  • Suggest features

See CONTRIBUTING.md for details. No strict rules - keep it simple and helpful.


Acknowledgments

  • TJU-VIS - For providing corrected and standardized Tianjin University visual identity assets (logo, wordmark) based on the official VI manual.
  • gitignore.io - For .gitignore template generation service.
  • LaTeX community

Disclaimer

  1. This template is for legitimate academic use only by TJU faculty and students.
  2. Always verify all information before sending.

License

MIT License - Free to use and modify.


Support

If this project has been helpful to you or your students, please consider giving it a star. It helps others discover this template and encourages continued maintenance.


Made for TJU Faculty and Students

Tianjin University, founded in 1895 as Peiyang University, is the first modern university in China.

About

LaTeX template for Tianjin University recommendation letters | 天津大学推荐信 LaTeX 模板

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published