History Lesson: The Ami Pro .STY Style Sheet
Why Ami Pro kept formatting in a separate file, how a .sam document points to it, and why the .sty is so often left behind.

TL;DR
An Ami Pro .STY file is a style sheet: a template file holding a set of paragraph styles and one page layout. Every Ami Pro document started from one (the default was _DEFAULT.STY), and a .sam file normally names its sheet instead of carrying all of its own formatting. Change a style in one document and the change lives in the .sam; leave it alone and Ami Pro reads it from the .sty. That split is why legacy .sam files often look flat when the .sty stayed behind in the old Ami Pro styles folder. It is not a LaTeX package, even though both use .sty.
What is an Ami Pro .STY file?
Lotus's Ami Pro 3.0 User's Guide defines a style sheet as "a file you use as a template to format a document." Each one holds formatting instructions for several paragraph styles and exactly one page layout. You chose a style sheet before you typed anything. The default was _DEFAULT.STY, and the manual's own examples use supplied sheets such as _LETTER2.STY.
A paragraph style, in Ami Pro's terms, is a named bundle of formatting: typeface, point size and colour, alignment, tabs and indents, line and paragraph spacing, page-break rules, bullets or numbering, and lines above or below the paragraph. Style sheet names followed the old DOS rule: up to eight characters, a dot, and STY.
A style sheet could carry more than styles. When saving one, you could tick With contents to include text, frames, tables, and pictures as boilerplate for every new document, and name a macro (a recorded set of commands) to run each time someone chose File/New with that sheet.
Ami Pro .sty vs LaTeX .sty and other .sty files
Three-letter extensions were scarce, and .sty was popular. The same extension turns up in at least three other places you might meet in an old archive.
- LaTeX, the academic typesetting system: a .sty file is a package, a bundle of commands any document can load. The LaTeX Project's guide for package and class authors uses graphics.sty as its example. It is plain text full of backslash commands.
- Microsoft Word for MS-DOS: its style sheets used .sty too, in files such as NORMAL.STY. PRONOM, the file-format registry run by the UK National Archives, lists the format as fmt/1690. It is binary, not readable text.
- Ventura Publisher: a chapter file (.CHP) points to a stylesheet (.STY) that sets page layout and paragraph tags, according to Corel's technical notes for Ventura 5.
How to tell which .sty you have
Open a copy in Notepad. Günter Born's German file-format reference, Dateiformate Referenz, describes Ami Pro .STY files as built just like .SAM documents, so an Ami Pro sheet reads as bracketed tags and text, much like the .sam files beside it. A LaTeX package shows lines of backslash commands. Word for DOS and Ventura sheets look like binary noise.
Context helps just as much. A .sty in a folder of .sam letters, or in an AMIPRO\STYLES directory, is almost certainly an Ami Pro style sheet. A .sty next to .tex files is LaTeX.
Where the formatting actually lived
Ami Pro split formatting between two places. According to the User's Guide, styles you never touched were read from the style sheet, while any paragraph style you created or modified, and any change to the page layout, was stored in the document itself. Ami Pro marked those document-stored styles with a bullet in the Styles Box.
Inside the .sam, Born's reference describes a [sty] entry that names the associated style sheet. Saving with the Keep format with document option made the file self-contained: the page layout and all paragraph styles went into the .sam, and the Styles Box showed None instead of a sheet name. In Born's description, the line after [sty] is then left empty. The manual pitched the option as protection against someone else editing the shared sheet.
The reverse also happened. Save changes to a shared sheet and every document that relied on it picked up the new settings. Saving over one of the sheets supplied with Ami Pro overwrote the original, and the manual's advice was to reinstall Ami Pro to get it back.
Why the .sty so often goes missing
Style sheets lived in a styles directory set in Ami Pro's User Setup (Lotus's own example path is C:\AMIPRO\STYLES), while documents lived wherever people saved them. Copy a folder of letters to a floppy disk or a new server and the sheets did not come along unless someone thought to bring them.
Lotus knew. Ami Pro's File Management tool had a Take Associated Style Sheet option that copied the sheet along with the document, and a Maintain Format option that folded the formatting into the document instead. Lotus's update for Ami Pro 3.0b for OS/2 even shipped a replacement style sheet, ~AMIENV.STY, with instructions to copy it into the style-sheet directory by hand.
When the associated sheet was gone (deleted, renamed, or simply not copied), Ami Pro asked you to choose another one. Text in styles the new sheet did not define fell back to the Body Text settings, and the style name showed in red. That is the same flat look people see today when a .sam is converted without its .sty.
After Ami Pro
Lotus Word Pro, Ami Pro's successor in the SmartSuite office bundle, moved to a new document format (.lwp) and to templates called SmartMasters (.mwp). The .sty style sheet belongs to the Ami Pro generation. If an archive is full of .lwp files, it is a different, later format.
Converting .sam files with their style sheets
Treat the .sty files as part of the documents. When you copy a legacy archive, take every .sty that sits beside the .sam files, and check the old machine's Ami Pro styles folder for any sheets the documents rely on. Put them in the same folder as the .sam files.
Ami Pro Converter applies a companion .STY that sits next to the .sam (for example MEMO.STY or ~MEMO.STY) for fonts, alignment, page size, and headers and footers. If the sheet stayed behind in the old Ami Pro program folder and was never copied, the converter warns you and skips it instead of guessing. A lone .STY is not a convert target; it is the formatting for a document, not a document.
What to remember
- An Ami Pro .STY file is a style sheet: paragraph styles plus one page layout, used as a template
- Untouched styles come from the .sty; modified styles and page layout are stored in the .sam
- Keep format with document made a .sam self-contained, with None shown as its style sheet
- LaTeX packages, Word for DOS style sheets, and Ventura stylesheets also use .sty
- Copy the .sty files with the .sam files before you convert
A small file that holds the look
The .sty file is easy to dismiss: small, oddly named, sitting in a folder nobody opens. In Ami Pro it was the half of the document that held the look, and the program was built around the idea that many documents could share it.
If you have a legacy Ami Pro folder, keep the sheets with the letters. Ami Pro Converter can then turn the .sam files into DOCX or PDF on this PC, with nothing uploaded.
Convert your files
Related reading
Convert legacy Ami Pro files with their style sheets
Ami Pro Converter turns .sam documents into DOCX or PDF locally and applies the companion .STY beside each file. Free trial, nothing uploaded.
Free trial
Full app features — up to 10 files
Windows 10 or 11
Download the Windows installer for the full 10-file trial. Same app you unlock with a license — 100% local on your PC.