diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-15 21:50:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-15 21:50:38 +0000 |
commit | 91c33b1407e62540d3dc7e38c92e666dfaa0c7ac (patch) | |
tree | 211c007a01c74c3ae7b3903f9d9354e50322d682 /Master/texmf-dist/doc/latex/fcolumn | |
parent | bb1287249aff0088d92988cb8bb8af4849f12381 (diff) |
fcolumn (15jan21)
git-svn-id: svn://tug.org/texlive/trunk@57428 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/fcolumn')
-rw-r--r-- | Master/texmf-dist/doc/latex/fcolumn/README | 24 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/fcolumn/fcolumn.pdf | bin | 281502 -> 318761 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/fcolumn/makefile | 18 |
3 files changed, 22 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/fcolumn/README b/Master/texmf-dist/doc/latex/fcolumn/README index 5ee451fa0d0..e585aa6aaf4 100644 --- a/Master/texmf-dist/doc/latex/fcolumn/README +++ b/Master/texmf-dist/doc/latex/fcolumn/README @@ -7,15 +7,16 @@ such columns, including the sum line (preceded by a rule of the correct width), using the specifier ``f''. The column specifier f itself is rather simple. It is the predefined -version of a generic column F. The generic version expects three -arguments: |#1| is the separator, |#2| is the decimal mark, and |#3| +version of a generic column F. The generic version expects four +arguments: |#1| is the separator, |#2| is the decimal mark, |#3| is the coding used for grouping digits of the integer part and decimal -part. For example the f-column in the current version of the package +part, and #4 is anything added before typesetting the contents of a +column. For example the f-column in the current version of the package is using 3,2 as #3, meaning that numbers are typeset with 2 decimal digits and grouping is done on 3 digits. The grouping character is ``.'' and the decimal separator is ``,'', thereby coding for the continental European standard. People in the Anglo-saxon world would -rather code |\newcolumntype{f}{F{,}{.}{3,2}}|. +rather code |\newcolumntype{f}{F{,}{.}{3,2}{}}|. To show where and how the f-column is used, let's look at a typical financial table. @@ -33,7 +34,7 @@ The core part of this table is input as \begin{tabular}{lflf} house & 200000 & equity capital & 50000 \\ bank account & -603,23 & mortgage & 150000 \\ -savings & 28000 \\ +savings & 28000 \\ cash & 145,85 & profit & 27542,62 \\ \sumline \end{tabular} @@ -44,20 +45,23 @@ calculates the totals, makes rules of the correct widths, and checks whether the two columns are in balance; if not, the user is warned via a message. A special command \resetsumline exists which allows one to restart a table, so that multiple tables -in one tabular environment are possible. +that are aligned are possible in one tabular environment. + The fcolumn specifier can be used in a tabular environment +and in the longtable environment. Specific fcolumn formatting, +like colour and/or font changes are possible. To install: ----------- Run the file fcolumn.ins through (La)TeX (in a directory also containing fcolumn.dtx) or type ``make install'' and move the -file fcolumn.sty to a place searched by TeX. +resultant file fcolumn.sty to a place searched by TeX. To produce the documentation: ----------------------------- -Run the file fcolumn.dtx through LaTeX. Update the glossary -and index by makeindex: +Type ``make''. Or run the file fcolumn.dtx through LaTeX, +update the glossary and index by makeindex: makeindex -s gglo.ist -o fcolumn.gls fcolumn.glo makeindex -s gglo.ist -o fcolumn.ind fcolumn.idx -and then LaTeX again; presto! +and then LaTeX fcolumn.dtx again; presto! diff --git a/Master/texmf-dist/doc/latex/fcolumn/fcolumn.pdf b/Master/texmf-dist/doc/latex/fcolumn/fcolumn.pdf Binary files differindex 79c96886b23..16ea57e5a73 100644 --- a/Master/texmf-dist/doc/latex/fcolumn/fcolumn.pdf +++ b/Master/texmf-dist/doc/latex/fcolumn/fcolumn.pdf diff --git a/Master/texmf-dist/doc/latex/fcolumn/makefile b/Master/texmf-dist/doc/latex/fcolumn/makefile index 7a751b7c92b..3af7c8a619a 100644 --- a/Master/texmf-dist/doc/latex/fcolumn/makefile +++ b/Master/texmf-dist/doc/latex/fcolumn/makefile @@ -1,4 +1,5 @@ -.SUFFIXES: .pdf .glo .gls .ind .idx .dtx .sty .ins +.SUFFIXES: .dtx .glo .gls .idx .ind .ins .pdf .sty +DIST=fcolumn.dtx fcolumn.ins fcolumn.pdf fcolumn.sty makefile README .ins.sty: pdflatex $*.ins @@ -18,23 +19,20 @@ .dtx.pdf: pdflatex $*.dtx -all: fcolumn.pdf +all: fcolumn.sty fcolumn.pdf install: tex fcolumn.ins -dist: fcolumn.dtx fcolumn.ins fcolumn.sty fcolumn.pdf README makefile - mkdir fcolumn; cp fcolumn.dtx fcolumn; cp fcolumn.ins fcolumn; \ - cp fcolumn.sty fcolumn; cp fcolumn.pdf fcolumn; cp README fcolumn; \ - cp makefile fcolumn; tar -czf fcolumn.tgz fcolumn; rm -r fcolumn +dist: $(DIST) + mkdir FCv1.3; cp $(DIST) FCv1.3; tar -czf fcolumn.tgz FCv1.3; rm -r FCv1.3 fcolumn.pdf: fcolumn.dtx fcolumn.gls fcolumn.ind fcolumn.sty -fcolumn.idx: fcolumn.dtx +fcolumn.glo fcolumn.idx: fcolumn.dtx fcolumn.ind: fcolumn.idx -fcolumn.glo: fcolumn.dtx fcolumn.gls: fcolumn.glo .PHONY: clean clean: - -rm fcolumn.pdf fcolumn.sty fcolumn.log fcolumn.glo fcolumn.gls \ - fcolumn.ind fcolumn.idx fcolumn.aux fcolumn.ilg + -rm fcolumn.pdf fcolumn.sty fcolumn.log fcolumn.glo fcolumn.gls fcolumn.ind \ + fcolumn.idx fcolumn.aux fcolumn.ilg fcolumn.out fcolumn.tgz |