File: freesizesheets.tex

package info (click to toggle)
texlive-lang 2016.20170123-5
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,093,148 kB
  • ctags: 15,901
  • sloc: perl: 46,074; xml: 29,603; makefile: 5,248; sh: 3,179; python: 2,949; ansic: 2,846; ruby: 945; lisp: 726; awk: 636; java: 159; sed: 142; cpp: 12
file content (105 lines) | stat: -rw-r--r-- 2,621 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
\documentclass[
  14pt,
  russian,
  koi8-r,
  pointsubsection,
  floatsingle,
  ]
{eskdtext}

\usepackage[T2A]{fontenc}
\usepackage{eskdfreesize} %  
\usepackage{longtable,array}
\usepackage{calc}

\ESKDtitle{eskdtext}
\ESKDdocName{ .      }
\ESKDsignature{ }
\ESKDauthor{~.~.}
\ESKDtitleApprovedBy{ }{. .}

% ,       
\newcounter{printalotfirst}
\newcounter{printalotsecond}
\newcommand{\printalot}[2]{
  \setcounter{printalotfirst}{0}
  \setcounter{printalotsecond}{#1}
  \whiledo{\value{printalotfirst}<\value{printalotsecond}}
  {#2 \stepcounter{printalotfirst}}
}

\newcommand{\printcnt}{180} %     0.7  4

\begin{document}
  \section*{4  }
  \printalot{\printcnt}{4 }\par
  \printalot{\printcnt}{4 }

% A3
\ESKDportraitAIII{
  \section*{3  }
  \printalot{\printcnt*2}{3 }\par
  \printalot{\printcnt*2}{3 }
}
\ESKDlandscapeAIII{
  \section*{3  }
  \printalot{\printcnt*2}{3 }\par
  \printalot{\printcnt*2}{3 }
}

% A2
\ESKDportraitAII{
  \section*{2  }
  \printalot{\printcnt*4}{2 }\par
  \printalot{\printcnt*4}{2 }
}
\ESKDlandscapeAII{
  \section*{2  }
  \printalot{\printcnt*4}{2 }\par
  \printalot{\printcnt*4}{2 }
}

% A1
\ESKDportraitAI{
  \section*{1  }
  \printalot{\printcnt*8}{1 }\par
  \printalot{\printcnt*8}{1 }
}
\ESKDlandscapeAI{
  \section*{1  }
  \printalot{\printcnt*8}{1 }\par
  \printalot{\printcnt*8}{1 }
}

% A0
\ESKDportraitAZERO{
  \section*{0  }
  \printalot{\printcnt*16}{0 }\par
  \printalot{\printcnt*16}{0 }
}
\ESKDlandscapeAZERO{
  \section*{0  }
  \printalot{\printcnt*16}{0 }\par
  \printalot{\printcnt*16}{0 }
}

%  
\renewcommand\ESKDtheColumnXXXIIfree{ <<>>}
\ESKDfreeSize{5000mm}{297mm}{
  \printalot{\printcnt*16}{ <<>>}\par
  \printalot{\printcnt*16}{ <<>>}
}

\renewcommand\ESKDtheColumnXXXIIfree{\' }
\ESKDfreeSize{500mm}{500mm}{
  \printalot{\printcnt*4}{\' }\par
  \printalot{\printcnt*4}{\' }
}

%   4
\newpage
\section*{  4}
  \printalot{\printcnt}{4 }\par
  \printalot{\printcnt}{4 }

\end{document}