latex-format-adapter_skill

This skill analyzes external formatting specifications and automatically adjusts LaTeX configuration files to meet page layout, fonts, and heading styles.
  • TeX

0

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill li-chunyuan/djtu_thesis_latex_template --skill latex-format-adapter

  • SKILL.md6.1 KB

Overview

This skill adapts LaTeX project formatting to match external style requirements. It parses PDF/Word/images or user descriptions and produces or updates LaTeX configuration files (preamble, .sty, or .cls) without changing document content. The focus is on layout, fonts, headings, spacing, headers/footers, and bibliography styling to meet institutional or publisher rules.

How this skill works

I extract layout rules from supplied artifacts (PDF, DOCX, screenshots) or from a plain-text specification, map each requirement to LaTeX commands, and apply changes to the project's configuration files. Typical outputs are edits to the document preamble, new modular style files (.sty), or, for advanced needs, guided modifications to a .cls file. I provide iterative adjustments based on compiled PDF comparisons and your feedback.

When to use it

  • You have a school/journal formatting PDF or Word template and need matching LaTeX setup
  • Page geometry, fonts, title/heading styles, or bibliography style must conform to a rulebook
  • A compiled PDF shows layout mismatches and you need a configuration fix, not content edits
  • You want modular, reusable styling (.sty) for large or collaborative projects
  • An institutional template requires low-level class (.cls) changes that the preamble cannot achieve

Best practices

  • Provide the authoritative format document and an example compiled PDF to compare
  • Prefer edits in the preamble or a dedicated config.tex/.sty to keep changes isolated
  • Keep backups of original files before applying .sty or .cls modifications
  • Iterate: compile after each change and report visual diffs for precise tuning
  • Use modular config files for multi-person projects to avoid merge conflicts

Example use cases

  • Convert a school Word template into LaTeX settings: margins, fonts, thesis headings
  • Adjust an existing thesis template to required margins, line spacing, and TOC style
  • Create a reusable mythesis.sty package encapsulating university formatting rules
  • Inspect a published PDF and reverse-engineer page layout and font sizes into LaTeX
  • Recommend minimal .cls edits when preamble-level changes cannot meet a rule

FAQ

No. This service only edits formatting configuration (preamble, .sty, .cls), not chapter text, figures, or bibliography entries.

Do you compile PDFs after changes?

I provide the LaTeX edits and compilation guidance (e.g., xelatex/biber commands). You can compile and send the resulting PDF for further iteration.

When is a .cls modification required?

Only when desired behaviors cannot be achieved in the preamble or a style file—for example, deep changes to counters, float behavior, or document-class defaults.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational