This is the latex-table Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Thu Aug 15 05:29:16 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
latex-table
Pretty latex tables from Lisp matrices and vectors.
Tamas K Papp
Boost Software License, Version 1.0.
alexandria
(system).
anaphora
(system).
array-operations
(system).
let-plus
(system).
package.lisp
(file).
latex-table.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
latex-table/latex-table.lisp
package.lisp
(file).
latex-table
(system).
*ascii-column-separator*
(special variable).
*digits-after-decimal*
(special variable).
*digits-before-decimal*
(special variable).
align
(function).
aligned
(structure).
alignment
(type).
column-type
(type).
expand-to-vector
(function).
format-content
(generic function).
initialize-instance
(method).
labeled-vertical
(function).
multicolumn
(function).
multicolumn
(structure).
numprint
(function).
numprint
(structure).
print-object
(method).
rule
(type).
table
(function).
table
(class).
write-ascii
(generic function).
write-latex
(generic function).
&aligned
(macro).
&aligned-r/o
(macro).
&multicolumn
(macro).
&multicolumn-r/o
(macro).
&numprint
(macro).
&numprint-r/o
(macro).
*output*
(special variable).
aligned-alignment
(reader).
(setf aligned-alignment)
(writer).
aligned-content
(reader).
(setf aligned-content)
(writer).
aligned-p
(function).
alignf
(function).
ascii-absolute-positions
(function).
ascii-buffer-write
(function).
ascii-buffer-write-aligned
(function).
ascii-column-widths
(function).
ascii-row
(function).
ascii-rule
(function).
check-table-consistency
(function).
copy-aligned
(function).
copy-multicolumn
(function).
copy-numprint
(function).
decimal-position
(function).
dump
(function).
ensure-matrix
(function).
ensure-vector
(function).
format-cell
(generic function).
format-float
(function).
fresh
(function).
latex-cell
(generic function).
latex-column-type-string
(function).
latex-multicolumn
(function).
latex-rule
(function).
multicolumn-alignment
(reader).
(setf multicolumn-alignment)
(writer).
multicolumn-content
(reader).
(setf multicolumn-content)
(writer).
multicolumn-number
(reader).
(setf multicolumn-number)
(writer).
multicolumn-p
(function).
multicolumnf
(function).
numprint-digits-after-decimal
(reader).
(setf numprint-digits-after-decimal)
(writer).
numprint-digits-before-decimal
(reader).
(setf numprint-digits-before-decimal)
(writer).
numprint-p
(function).
numprint-widths
(function).
raw-table
(class).
table-mixin
(class).
table-to-raw
(function).
with-output
(macro).
Packages are listed by definition order.
latex-table
lxt
alexandria
.
anaphora
.
common-lisp
.
let-plus
.
*ascii-column-separator*
(special variable).
*digits-after-decimal*
(special variable).
*digits-before-decimal*
(special variable).
align
(function).
aligned
(structure).
alignment
(type).
column-type
(type).
expand-to-vector
(function).
format-content
(generic function).
labeled-vertical
(function).
multicolumn
(function).
multicolumn
(structure).
numprint
(function).
numprint
(structure).
rule
(type).
table
(function).
table
(class).
write-ascii
(generic function).
write-latex
(generic function).
&aligned
(macro).
&aligned-r/o
(macro).
&multicolumn
(macro).
&multicolumn-r/o
(macro).
&numprint
(macro).
&numprint-r/o
(macro).
*output*
(special variable).
aligned-alignment
(reader).
(setf aligned-alignment)
(writer).
aligned-content
(reader).
(setf aligned-content)
(writer).
aligned-p
(function).
alignf
(function).
ascii-absolute-positions
(function).
ascii-buffer-write
(function).
ascii-buffer-write-aligned
(function).
ascii-column-widths
(function).
ascii-row
(function).
ascii-rule
(function).
check-table-consistency
(function).
copy-aligned
(function).
copy-multicolumn
(function).
copy-numprint
(function).
decimal-position
(function).
dump
(function).
ensure-matrix
(function).
ensure-vector
(function).
format-cell
(generic function).
format-float
(function).
fresh
(function).
latex-cell
(generic function).
latex-column-type-string
(function).
latex-multicolumn
(function).
latex-rule
(function).
multicolumn-alignment
(reader).
(setf multicolumn-alignment)
(writer).
multicolumn-content
(reader).
(setf multicolumn-content)
(writer).
multicolumn-number
(reader).
(setf multicolumn-number)
(writer).
multicolumn-p
(function).
multicolumnf
(function).
numprint-digits-after-decimal
(reader).
(setf numprint-digits-after-decimal)
(writer).
numprint-digits-before-decimal
(reader).
(setf numprint-digits-before-decimal)
(writer).
numprint-p
(function).
numprint-widths
(function).
raw-table
(class).
table-mixin
(class).
table-to-raw
(function).
with-output
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The default separator for columns in ASCII output.
Default number of digits after the decimal point.
Default number of digits before the decimal point.
Construct a vector of given LENTH from (position . value) pairs. Negative positions are counted from the end of the vector (eg -1 is for the last element), while a position T sets all elements.
Create a table labeling a vector as a vertical column. When HEADER? is set, the top cells are treated as headers and centered, except when HEADER? is ’MULTICOLUMN, which centers it across the two columns.
Construct a table with the given CELLS, COLUMN-TYPES and RULES.
CELLS may be a 2D array or a sequence of sequences, converted to a 2D array.
RULES and COLUMN-TYPES may be lists of pairs, in which case they are passed on to EXPAND-TO-VECTOR. Values which are neither vectors nor lists are recycled to give a vector of the desired length.
Return a string.
Write TABLE to FILESPEC-OR-STREAM for LaTeX.
table-mixin
) &key cells column-types rules &allow-other-keys) ¶table-mixin
) stream) ¶Wrapper structure for aligned content.
Wrapper structure for multicolumn content, spanning NUMBER of columns, aligned according to ALIGNMENT.
Numprint n{before}{after} column type.
User-constructed representation of a table. Cells are
formatted and their alignment is resolved according to the column types.
Contents of cells that coincide with multicolumn tables are ignored.
Variable holding the stream output commands write to.
LET+ form for slots of the structure ALIGNED.
LET+ form for slots of the structure ALIGNED. Read-only.
LET+ form for slots of the structure MULTICOLUMN.
LET+ form for slots of the structure MULTICOLUMN. Read-only.
LET+ form for slots of the structure NUMPRINT.
LET+ form for slots of the structure NUMPRINT. Read-only.
Make output commands write to the given target for the scope of BODY. Filespecs are opened, streams are used as is.
Wrap cell at indexes as aligned.
Return two values: the first a vector containing the absolute positions in the format (LIST START END &OPTIONAL OFFSET) where offset is the width of the part before the decimal dot; the second value the total width of the table.
Write STRING in BUFFER as if STRING started at (+ START OFFSET) but not modifying any other elements except the ones between START and END.
Like ASCII-BUFFER-WRITE, but also accepting alignment keywords and automatically aligning string.
Traverse columns and calculate the column widths, returned as a vector. Each column with is either an integer or a cons of two integers, the first the column width, the second the width of the first part (before the decimal dot).
Render ROW in ASCII.
Expand rule into a string.
Check that the dimensions of the table definition are consistent.
Return the position of the decimal dot in STRING. If no decimal dot is present, return the length of the string, which implies that the string will be aligned left of the decimal dot in numprint columns.
Write STRING to output.
Return OBJECT as a 2D array if possible, otherwise signal an error.
Return OBJECT as a VECTOR of length, constructing it using EXPAND-TO-VECTOR if necessary, using the given INITIAL-ELEMENT. For internal use only, not exported.
Fresh line in output.
Return the LaTeX fragment designating a given column type, as a string.
Write a LaTeX \multicolumn fragment.
Return LaTeX code representing rule as a string.
Wrap cell at indexes as multicolumn.
Break the contents of cell into two parts around the decimal dot, return the length of each as a cons.
Convert table to the ‘raw’ format. Users should not use the raw format as it may change without notice, tables should only be constructed using TABLE. Not exported, for internal use only.
multicolumn
) column-type) ¶Write a cell in LaTeX format.
null
)) ¶multicolumn
)) ¶string
)) ¶Internal representation of a table. CELLS may only contain
- strings,
- ALIGNED elements with string content,
- MULTICOLUMN elements with string content,
- the appropriate number of NILs after MULTICOLUMN, which are skipped.
This format is for internal use only, and RAW-TABLE is not exported.
Mixin class for table of values, stored in CELLS.
COLUMN-TYPES specify the column types, and RULES the rules (you one more than
the rows in CELLS)
Jump to: | &
(
A C D E F G I L M N P T W |
---|
Jump to: | &
(
A C D E F G I L M N P T W |
---|
Jump to: | *
A C D N R S |
---|
Jump to: | *
A C D N R S |
---|
Jump to: | A C F L M N P R S T |
---|
Jump to: | A C F L M N P R S T |
---|