Initial commit from the 2013 with minor fixes. From now and then,
[perlbook.git] / c1.tex
blob30aa6b0f244512be393ed220fd4f12bc9c70fc5f
1 \documentclass[12pt]{article}
2 \usepackage{amsmath}
3 \usepackage[utf8]{inputenc}
4 \usepackage{cmap}
5 \usepackage[T2A]{fontenc}
6 \usepackage[russian]{babel}
7 \usepackage{listingsutf8}
8 \usepackage{framed}
9 \usepackage{lineno}
10 \setlength{\FrameRule}{0.001 em}
11 \setlength{\FrameSep}{0.1 em}
12 %\usepackage{times} %внезапно, у меня нет италика и болда
13 \usepackage{embedfile}
14 \embedfile{sauce.7z}
15 \usepackage{moreverb}
16 \usepackage{spverbatim}
17 \usepackage{fancyvrb}
18 \usepackage{setspace}
20 \def\linenumberfont{\normalfont\normalsize\ttfamily}
21 \newcommand{\perl}[1]{
22 \vbox{
23 \begin{framed}
24 \begin{internallinenumbers}
25 \verbatiminput{#1}
26 \end{internallinenumbers}
27 \end{framed}
29 \label{lst:#1}
30 \resetlinenumber}
32 \newcommand{\remph}[1]{\emph{#1}}
34 \newcommand{\faqq}[1]{\item\textbf{#1}}
36 \usepackage{upquote,textcomp}
38 \usepackage{hyperref}
40 \begin{document}
41 \include{s01}
42 \include{s02}
43 \include{s03}
44 \include{s04}
45 \include{s05}
46 \include{s06}
47 \end{document}