TGT(1)
π TGT β the Tool for Generic Tables era π
okay so bestie, welcome to tgt β short for Tool for Generic Tables β and no, it is not a spreadsheet, it is so much more. it's giving graphic design but make it tables. periodt.
β¨ SYNOPSIS β¨
tgt [options] [document]
πΈ DESCRIPTION πΈ
tgt is an X11/Motif based graphical editor for drawing generic tables. like, you literally draw them. with a mouse. iconic behaviour honestly.
documents can be loaded from and stored to a file, because we respect persistence in this house π«Ά. it can print documents to a PostScript printer, or save as PostScript to a file. your table, your rules, your output format.
and like β tgt is part of The Toolkit for Conceptual Modeling (TCM), so it's not out here alone, it's in a whole friend group of tools. iykyk π
π ARGUMENTS π
you can call tgt with a single document name as argument, that's it, one (1) document, don't be greedy:
- if that argument is an existing file,
tgttries to load a document from it π - if it does not exist, a new document is created with the argument as the document name β¨
tgt files should have suffix *.gt. like, that's the vibe, that's the naming convention, respect it.
if you pass no document name at all? no stress. tgt creates a new generic table with the name untitled.gt. the classic default name moment, we've all been there π
in addition to the standard X11 toolkit options (peep X11(7) for those, bestie), tgt accepts the options listed below. so many options. all of them valid. all of them yours. π
-cellwidthx*height* β sets the minimal cell size of the editor to width pixels wide and height pixels high. the cells in the initial table have the minimal size. so like, tiny little cells until you say otherwise π-drawingwidthx*height* β create a drawing area of width pixels wide and height pixels high. that's your canvas, that's your stage, main character energy π-helpβ writes all available options to standard output and quits. it's the "bestie what are my options" button π«Ά-maxdrawingwidthx*height* β the drawing area can not be larger than width pixels wide and height pixels high. there is a ceiling, there is a limit, that's the rule β-priv_cmapβ start the editor with a private colormap. fancy colour privilege unlocked π-projdirdirectory β set the project directory (that's the current working directory) to directory. moving the whole operation somewhere else, no big deal π-tablerowsx*columns* β the table editor will be initialized with a table having rows rows and columns columns. by default the initial table has 7 rows and 7 columns. seven by seven, that's the starter pack π§-toEPS[file.eps] β generate EPS (to file.eps, or to stdout when no file name was given) and quit. one and done, no lingering π-toFig[file.fig] [-latex] β generate Fig format (to file.fig, or to stdout when no file name was given) and quit. when the-latexoption is given, LaTeX fonts are generated, otherwise normal PostScript fonts are generated. and the Fig format can be read byxfig(1)andfig2dev(1), so your table gets to go hang out with the fig crowd π¦-toPNGfile.png β generate PNG format to file.png and quit. pixels. png. perfection. π₯-toPS[file.ps] β generate PostScript (to file.ps, or to stdout when no file name was given) and quit. it's giving printer-adjacent π-versionβ write the TCM version to standard output and quit. say hi to the version number, then leave π
π ENVIRONMENT π
TCM_HOMEβ should be the directory where the TCM files are installed. the home base. the mothership πPATHβ should include$TCM_HOME/binMANPATHβ should include$TCM_HOME/manPRINTERβ name of the default printer that is used bytgt. yes, it will just print there. set it, bestie π¨οΈLD_LIBRARY_PATHβ should include$TCM_HOME/libwhen the distribution contains shared object libraries in$TCM_HOME/lib.
π FILES π
heads up: the following relative files are relative to $TCM_HOME. so like, mentally prepend that path to everything below, okay? π«Ά
bin/tgtβ the generic table editor. that's her. that's the one πbin/psfβ a program to filter PostScript output.lib/banner.psβ PostScript banner page that can be used when the printer does not print a banner page. for when your printer is being unhelpful and won't do the cute cover page itself πlib/help/*β the help directory contains a collection of text files for the on-line help.lib/TCMβ X Resources (the same as the ones that are built-in). you can customize the fonts and colors by setting resources in your X defaults database. each string of the formTCM.resource:definitionsets a resource. yes,TCM.resource:definitionexactly, that's the format, no cap β¨/tmp/tcmXXXXXXβ pseudo random temporary file, for PostScript output. it's random, it's temp, it's ephemeral, we love a fleeting moment πlib/tcm.confβ TCM editor configuration file. this file contains values for some of the editor defaults like the page size, the default fonts etc. this file is read by each editor upon startup. so every editor reads it. every single one. the shared brain cell π§$HOME/.tcmrcβ each user of TCM can override some of the options oftcm.confby its own configuration file, installed in$HOME/.tcmrc. your personal override era, your main character config file π
π SEE ALSO π
Frank Dehne, Roel Wieringa and Henk van de Zandschulp β TCM (Toolkit for Conceptual Modeling), User's Guide and Reference. this document is available as PostScript and HTML in $TCM_HOME/doc or as HTML via the URL http://www.cs.utwente.nl/~tcm/tcm-usersguide.html. go read it, it's giving documentation π
also go say hi to these:
tcm(1), X11(7), xfig(1), fig2dev(1)
π«Ά AUTHOR π«Ά
Frank Dehne (frank@cs.vu.nl). thank you frank, king behaviour honestly π
π BUGS π
please send bug reports to tcm@cs.utwente.nl. they want to know. they need to know. do not gatekeep the bugs bestie π
and that's the whole page! this manual page is from General Commands Manual, dated 9 January 2000, and it covers TGT(1) β so like, a little vintage, a little retro, but the table energy is eternal. slay β¨π
π
π¦ where this page comes from
- debian bookworm: tcm 2.20+TSQD-7+b1
- debian trixie: tcm 2.20+TSQD-8
- ubuntu jammy: tcm 2.20+TSQD-7
- ubuntu noble: tcm 2.20+TSQD-7build2
- ubuntu questing: tcm 2.20+TSQD-8
- ubuntu resolute: tcm 2.20+TSQD-9
- ubuntu stonking: tcm 2.20+TSQD-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms