Skip to content

stgloorious/ascii-table-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ascii-table-tool

A minimal tool to generate .tex code for ASCII tables

Installation

The tool consists of a single C file and requires minimal dependencies. Just run gcc ascii.c -o ascii -lm to compile.

Usage

The available options are:

./ascii --help
Usage: ascii [OPTION...] A minimal tool to generate .tex code for ASCII tables

  -a, --standalone           Creates standalone latex files
  -C, --clabel=STRING        Modify the char label
  -d, --dec                  Only create the decimal column
  -D, --dlabel=STRING        Modify the decimal label
  -e, --end=n                Character code to end with
  -h, --hex                  Only create the hexadecimal column
  -H, --hlabel=STRING        Modify the hexadecimal label
  -o, --output=FILE          Output filename, default is ascii.tex
  -s, --start=n              Character code to start with
  -w, --wrap=n               Number of lines before the table wraps to the next
                             column
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Examples

Create a table in standalone mode and directly compile it: ./ascii -s -o table.tex && pdflatex "table.tex"

Animation with different --end values showing automatic wrap-around to next column: table-animation

About

A minimal tool to generate .tex code for ASCII tables

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages