add_caption
Insert numbered captions like 'Table N: text' above or below tables, figures, or at anchors in Word documents. Supports Table, Figure, Equation labels with auto-backup and validated saves.
Instructions
Insert a numbered caption (SEQ field), 'Table N: text', above/below a table or at an anchor. label: Table | Figure | Equation. Auto-backup: prev/anchor slots in .ks4w-backups (backup=False skips rotation only); atomic validated save. Refuses documents open in Word.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| above | No | ||
| label | No | Table | |
| backup | No | ||
| file_path | Yes | ||
| table_index | No | ||
| after_anchor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||