Typography improvements.

This commit is contained in:
Dominik Pantůček 2025-01-02 18:09:03 +01:00
parent c8c71f8465
commit df1a30eead

View file

@ -74,8 +74,8 @@
(print "\\vskip1em") (print "\\vskip1em")
(newline) (newline)
(define colnames (define colnames
'((id) Nick "Jméno" "Příjmení" (Fee) (Balance) B (Active) A OK? Signature)) '((id) Nick "Jméno" "Příjmení" (Fee) (Bilance) ("\\begin{minipage}{15mm}\\begin{center}Aktivní\\\\Měsíce\\end{center}\\end{minipage}") OK? Podpis))
(print "\\renewcommand\\arraystretch{2.0}") (print "\\renewcommand\\arraystretch{2.1}")
(print (print
(format (format
"\\begin{longtable}{|~A|}" "\\begin{longtable}{|~A|}"
@ -97,7 +97,9 @@
(symbol->string x) (symbol->string x)
(if (string? x) (if (string? x)
x x
(symbol->string (car x)))))) (if (string? (car x))
(car x)
(symbol->string (car x)))))))
colnames) colnames)
"&") "&")
"\\\\") "\\\\")
@ -168,24 +170,36 @@
" & " " & "
current-fee current-fee
" & " " & "
"\\begin{minipage}{15mm}\\begin{flushright}"
(format-amount-tex (format-amount-tex
(member-total-balance mr)) (member-total-balance mr))
" & " "\\\\"
(if balance-ok? (if balance-ok?
"Y" "Bez~dluhu"
"--") "---~~~~~~")
" & " "\\end{flushright}\\end{minipage}"
numactive
" & " " & "
;(if balance-ok?
; "Y"
; "--")
;" & "
"\\begin{minipage}{12mm}\\begin{center}"
numactive "/" 12
"\\\\"
(if active-ok? (if active-ok?
"Y" "Splněno"
"--") "\\phantom{Sp}---\\phantom{Sp}")
"\\end{center}\\end{minipage}"
" & " " & "
;(if active-ok?
; "Y"
; "--")
;" & "
(if vote-ok? (if vote-ok?
"Y" "Y"
"--") "--")
" & " " & "
"~ ~ ~ ~ ~" "~\\hskip24mm~"
" \\\\") " \\\\")
(print "\\hline") (print "\\hline")
(loop (cdr mrs))))) (loop (cdr mrs)))))