Browse Source

Из SVN

master
commit
0a4391e760
  1. 220
      .gitignore
  2. BIN
      GOSTA.ttf
  3. 46
      drawings/test.PDF
  4. 112
      drawings/test.eps
  5. BIN
      drawings/test.jpg
  6. BIN
      drawings/test.png
  7. 304
      forms-complect.sty
  8. 92
      forms-cover.sty
  9. 86
      forms-drawing.sty
  10. 79
      forms-passport-title.sty
  11. 124
      forms-passport.sty
  12. 114
      forms-quality.sty
  13. 108
      forms-sequencing.sty
  14. 93
      forms-spec.sty
  15. 93
      forms-workflow-title.sty
  16. 303
      forms-workflow.sty
  17. 314
      main.tex
  18. 142
      main2.tex
  19. 10425
      resources/tech-proc.eps
  20. 551
      td.cls
  21. BIN
      ГОСТ тип А наклонный.ttf

220
.gitignore vendored

@ -0,0 +1,220 @@
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
## Intermediate documents:
*.dvi
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Generated if empty string is given at "Please type another file name for output:"
.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.gtex
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Comment the next line if you want to keep your tikz graphics files
*.tikz
*-tikzDictionary
# listings
*.lol
# makeidx
*.idx
*.ilg
*.ind
*.ist
# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# nomencl
*.nlo
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# todonotes
*.tdo
# easy-todo
*.lod
# xindy
*.xdy
# xypic precompiled matrices
*.xyc
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# Kile
*.backup
# KBibTeX
*~[0-9]*
# auto folder when using emacs and auctex
/auto/*
# expex forward references with \gathertags
*-tags.tex

BIN
GOSTA.ttf

Binary file not shown.

46
drawings/test.PDF

@ -0,0 +1,46 @@
%PDF-1.3
%âãÏÓ
1 0 obj<</Type/Catalog/OCProperties<</D<</Order[]>>/OCGs[]>>/Outlines 2 0 R/Pages 3 0 R>>
endobj
2 0 obj<</Type/Outlines/Count 2/First 6 0 R/Last 6 0 R>>
endobj
3 0 obj<</Type/Pages/Count 1/Kids[ 7 0 R]/MediaBox[ 0.000000 0.000000 841 595]>>
endobj
4 0 obj[/PDF/Text/ImageC]
endobj
5 0 obj<</CreationDate(D:20150205191754+03'00')/Producer(Acme CAD Converter)>>
endobj
6 0 obj<</Count 1/First 8 0 R/Last 8 0 R/Parent 2 0 R/Title(Áåç èìåíè0)>>
endobj
7 0 obj<</Type/Page/Contents[ 9 0 R]/MediaBox[ 0.000000 0.000000 841 595]/Parent 3 0 R/Resources<</ProcSet 4 0 R>>>>
endobj
8 0 obj<</Count 0/Dest[ 7 0 R/XYZ]/Parent 6 0 R/Title(Model)>>
endobj
9 0 obj<</Filter[/FlateDecode]/Length 382>>
stream
xœ}”ËmÃ0 †Wᄨ·&Ðk‡(PTç®_1bhÒvspb~ú%>­~<EFBFBD>àc=ßÄz¬çëi=ž¿Ï÷–×Zl„e@ÆP`B¦Š·õŸÎÖUÊ<EFBFBD>·˜u!J X‹Ux¢Š8o4
!êÅ(<9¢L<EFBFBD>7Ú87™šÕ¡ðDÆ‹'(6NÛ(<Q…ÉÖõbžLWÿ»Lrm—Ý;6Q82¡ñ‹Qx²5b/PÒ࿧‘Õ꘢UxÂ}˜ Ê8DáÈŠ4fìÝ*<™<EFBFBD>ZÂÖ­OV5âÀè"õdÕ¼u$—­'ËKŒX»Uxr7ç3ÄN9s©<EFBFBD>BÈÝt\ª¾ms†'o¾<EFBFBD>ÙAcpæ !ª(…£3‚ ´÷*—Ñô^ˆ*b Ü
£2¡Qâ¦@ÜNVx¢Šœ+<EFBFBD>„QQ/i+ãEÈí”úTdð<EFBFBD>T¸^^ç}Ù‡ƒ‚4iœÛ.£cšz¹œvPVáÈ›OZ×Ñ9§ºM{óì@urÄ>Š%‘¿N¸¬ÿÙA©
endstream
endobj
10 0 obj 382
endobj
xref
0 11
0000000000 65535 f
0000000015 00000 n
0000000112 00000 n
0000000176 00000 n
0000000264 00000 n
0000000297 00000 n
0000000383 00000 n
0000000464 00000 n
0000000588 00000 n
0000000658 00000 n
0000001109 00000 n
trailer
<</ID[<A46D92FE98391AC391FE8E6E906A4845><A46D92FE98391AC391FE8E6E906A4845>]/Info 5 0 R/Root 1 0 R/Size 11>>
startxref
1129
%%EOF

112
drawings/test.eps

@ -0,0 +1,112 @@
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: Acme CAD Converter
%%Title: Áåç èìåíè0.eps
%%BoundingBox: 0 0 841 595
%%Pages: 1
%%CreationDate: ÷åòâåðã, Ôåâðàëü 05, 2015
%EndComments
%%BeginProlog
/m {moveto} def
/l {lineto} def
/sw {setlinewidth} def
/sc {setrgbcolor} def
/np {newpath} def
/cp {closepath} def
/st {stroke} def
/f {fill} def
/ef {eofill} def
%%EndProlog
%%BeginSetup
%%EndSetup
1.000 1.000 1.000 sc
0.000 0.000 0.000 sc
np
271.586 4.055 m
416.116 4.055 l
416.116 148.586 l
560.647 148.586 l
560.647 293.116 l
416.116 293.116 l
416.116 437.647 l
271.586 437.647 l
271.586 293.116 l
127.055 293.116 l
127.055 148.586 l
271.586 148.586 l
271.586 4.055 l
st
np
416.116 437.647 m
467.216 488.746 l
611.746 488.746 l
662.846 539.846 l
518.315 539.846 l
569.414 590.945 l
424.884 590.945 l
373.784 539.846 l
229.254 539.846 l
178.154 488.746 l
322.685 488.746 l
271.586 437.647 l
st
np
178.154 488.746 m
178.154 344.216 l
127.055 293.116 l
st
np
611.746 488.746 m
611.746 344.216 l
560.647 293.116 l
st
np
560.647 148.586 m
611.746 199.685 l
611.746 55.154 l
662.846 106.254 l
662.846 250.784 l
713.945 301.884 l
713.945 446.414 l
662.846 395.315 l
662.846 539.846 l
st
np
611.746 55.154 m
467.216 55.154 l
416.116 4.055 l
st
np
569.414 590.945 m
569.414 539.846 l
st
np
713.945 446.414 m
662.846 446.414 l
st
np
178.154 344.216 m
271.586 344.216 l
st
np
416.116 293.116 m
467.216 344.216 l
467.216 488.746 l
st
np
467.216 344.216 m
611.746 344.216 l
st
np
467.216 55.154 m
467.216 148.586 l
st
np
178.154 148.586 m
178.154 55.154 l
st
np
271.586 55.154 m
178.154 55.154 l
st
showpage
%%Trailer

BIN
drawings/test.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

BIN
drawings/test.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

304
forms-complect.sty

@ -0,0 +1,304 @@
\newcommand{\ccFormSevenFirstPage}{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,200){%
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(286,5){\llap{ГОСТ~3.1123-84\qquad\qquad Форма~7}}
\put(148,7){\line(0,-1){9}}
%Блок Б4Ф1
\multiput(0,0)(0,-4.25){3}{\line(1,0){75.4}}
\put(0,0){\line(0,-1){199.75}} % Эта линия идет до конца слева
\put(18.2,0){\line(0,-1){12.75}}
\put(39.0,0){\line(0,-1){12.75}}
\put(59.8,0){\line(0,-1){12.75}}
\put(75.4,0){\line(0,-1){12.75}}
%
\put(1.5,-3.5){Дубл.}
\put(1.5,-7.75){Взам.}
\put(1.5,-12){Подл.}
%Блок Б3Ф1а
%На 4.25 выше по отношению к Б5Ф1 (величина одной строчки)
\multiput(205.4,4.25)(0,-4.25){4}{\line(1,0){80.6}}
\put(205.4,4.25){\line(0,-1){17}}
\put(215.8,4.25){\line(0,-1){17}}
\put(226.2,4.25){\line(0,-1){17}}
\put(249.6,4.25){\line(0,-1){17}}
\put(270.4,4.25){\line(0,-1){17}}
\put(286.0,4.25){\line(0,-1){204.25}} % Эта линия идет до конца справа
%Блок Б5Ф1
\multiput(0,-12.75)(0,-8.5){2}{\line(1,0){286}}
%\put(286.0,-12.75){\line(0,-1){8.5}}
\put(270.4,-12.75){\line(0,-1){8.5}}
\put(254.8,-12.75){\line(0,-1){8.5}}
\put(208.0,-12.75){\line(0,-1){8.5}}
\put(148.2,-12.75){\line(0,-1){8.5}}
%\put(0,-12.75){\line(0,-1){8.5}}
%
\put(215,-18.5){\large{}} %104.106.01188.02123
\put(262.5,-18.5){\clap{\large{\pageref{LastPage}}}} % Всего страниц
\put(278,-18.5){\clap{\large{\thepage}}} % Номер страницы
%Блок Б3Ф1в
\multiput(205.4,-4.25)(0,-4.25){2}{\line(-1,0){80.6}}
\put(189.8,-4.25){\line(0,-1){8.5}}
\put(169.0,-4.25){\line(0,-1){8.5}}
\put(145.6,-4.25){\line(0,-1){8.5}}
\put(135.2,-4.25){\line(0,-1){8.5}}
\put(124.8,-4.25){\line(0,-1){8.5}}
%Блок Б2Ф1
\multiput(0,-25.50)(0,-4.25){4}{\line(1,0){96.2}}
\put(0,-42.5){\line(1,0){286.0}}
\put(23.4,-21.25){\line(0,-1){21.25}}
\put(59.8,-21.25){\line(0,-1){21.25}}
\put(80.6,-21.25){\line(0,-1){21.25}}
\put(96.2,-21.25){\line(0,-1){21.25}}
%
%
\put(1.5,-24.5){Разраб.} \put(24.5,-24.5){\CreatedBy}
\put(1.5,-28.75){Проверил} \put(24.5,-28.75){\CheckedBy}
\put(1.5,-33){Т.\,контр.} \put(24.5,-33){\TContrBy}
\put(1.5,-41.75){Н.\,контр.} \put(24.5,-41.75){\NContrBy}
%
\put(147.5,-29){\clap{\large{\Notation}}}
\put(262,-29.5){\large{\clap{\DocumentNumber}}} % 50188.00001
%Блок Б1Ф1 (или Б1Ф3, отличается +одним полем 10,4 справа)
\put(96.2,-34){\line(1,0){189.8}}
%\put(137.8,-21.25){\line(0,-1){12.75}}
\put(197.6,-21.25){\line(0,-1){12.75}}
\put(239.2,-21.25){\line(0,-1){12.75}}
%\put(109.2,-34){\line(0,-1){3}}
\multiput(275.6,-34)(-10.4,0){3}{\line(0,-1){8.5}}
%
%\put(175.5,-40){\clap{\large{\Name}}}
%
%\put(0,-55.25){\line(1,0){286.0}} % Линия дублируется верхней строкой основной таблицы
%
\put(0,-46.75){\line(1,0){286.0}}
\put(0,-51.00){\line(1,0){286.0}}
\put(0,-191.25){\line(1,0){286.0}}
\put(13,-42.50){\line(0,-1){143.5}}
%\put(132.5,-42.50){\line(0,-1){8.5}} %132.5 -- размер не точный!!
\put(23.4,-42.50){\line(0,-1){4.25}}
\put(33.8,-42.50){\line(0,-1){4.25}}
\put(44.2,-42.50){\line(0,-1){4.25}}
\put(57.2,-42.50){\line(0,-1){4.25}}
\put(67.6,-42.50){\line(0,-1){4.25}}
\put(145.6,-42.50){\line(0,-1){4.25}}
\put(205.4,-42.50){\line(0,-1){4.25}}
\put(218.4,-42.50){\line(0,-1){4.25}}
\put(228.8,-42.50){\line(0,-1){8.50}}
\put(241.8,-42.50){\line(0,-1){8.50}}
\put(260,-42.50){\line(0,-1){8.50}}
\put(286,-42.50){\line(0,-1){8.50}}
\put(4.5,-46){К/м} \put(15,-46){Цех} \put(26.5,-46){Уч.} \put(36.5,-46){РМ} \put(46.5,-46){Опер.}
\put(60,-46){Поз.}
\put(95,-46){Наименование}
\put(163,-46){Обозначение ДСЕ}
\put(208,-46){ОПП}
\put(222,-46){ЕВ}
\put(233.5,-46){ЕН}
\put(249,-46){КИ}
\put(267,-46){Н. расх.}
\put(6,-50){А}
\put(230.5,-50){Раз. п.}
\put(246,-50){Общ. п.}
\put(267,-50){Такт. п.}
%
%
\multiput(0,-58.5)(0,-8.50){16}{\line(1,0){286.0}}
% Ставим риски
\multiput(0,-0)(0,-8.50){16}{%
\put(23.4,-57.25){\line(0,-1){1}}
\put(33.8,-57.25){\line(0,-1){1}}
\put(44.2,-57.25){\line(0,-1){1}}
\put(57.2,-57.25){\line(0,-1){1}}
\put(67.6,-57.25){\line(0,-1){1}}
\put(145.6,-57.25){\line(0,-1){1}}
\put(205.4,-57.25){\line(0,-1){1}}
\put(218.4,-57.25){\line(0,-1){1}}
\put(228.8,-57.25){\line(0,-1){1}}
\put(241.8,-57.25){\line(0,-1){1}}
\put(260,-57.25){\line(0,-1){1}}}
%
\put(8,-56.75){01}
\put(8,-65.25){02}
\put(8,-73.75){03}
\put(8,-82.25){04}
\put(8,-90.75){05}
\put(8,-99.25){06}
\put(8,-107.75){07}
\put(8,-116.25){08}
\put(8,-124.75){09}
\put(8,-133.25){10}
\put(8,-141.75){11}
\put(8,-150.25){12}
\put(8,-158.75){13}
\put(8,-167.25){14}
\put(8,-175.25){15}
\put(8,-184.25){16}
%
\put(18,-191.25){\line(0,-1){8.5}}
\put(36,-191.25){\line(0,-1){8.5}}
\put(275,-191.25){\line(0,-1){8.5}}
\put(9.25,-197.25){\clap{\large{КК}}}
\put(27,-197.25){\clap{\large{ТД-16}}}
\put(52.5,-197.25){\large{Комплектовочная карта}}
\put(280.5,-197.25){\clap{\large{\thepage}}} % Номер страницы
\end{picture}}}}
\newcommand{\ccFormSevenaOtherPage}{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,200){%
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(286,5){\llap{ГОСТ~3.1123-82\qquad\qquad Форма~7а}}
\put(148,7){\line(0,-1){9}}
%Блок Б4Ф1
\multiput(0,0)(0,-4.25){3}{\line(1,0){75.4}}
\put(0,0){\line(0,-1){199.75}} % Эта линия идет до конца слева
\put(18.2,0){\line(0,-1){12.75}}
\put(39.0,0){\line(0,-1){12.75}}
\put(59.8,0){\line(0,-1){12.75}}
\put(75.4,0){\line(0,-1){12.75}}
%
\put(1.5,-3.5){Дубл.}
\put(1.5,-7.75){Взам.}
\put(1.5,-12){Подл.}
%Блок Б3Ф1а
%На 4.25 выше по отношению к Б5Ф1 (величина одной строчки)
\multiput(205.4,4.25)(0,-4.25){4}{\line(1,0){80.6}}
\put(205.4,4.25){\line(0,-1){17}}
\put(215.8,4.25){\line(0,-1){17}}
\put(226.2,4.25){\line(0,-1){17}}
\put(249.6,4.25){\line(0,-1){17}}
\put(270.4,4.25){\line(0,-1){17}}
\put(286.0,4.25){\line(0,-1){204.25}} % Эта линия идет до конца справа
%Блок Б5Ф1
\multiput(0,-12.75)(0,-8.5){2}{\line(1,0){286}}
%\put(286.0,-12.75){\line(0,-1){8.5}}
\put(270.4,-12.75){\line(0,-1){8.5}}
\put(254.8,-12.75){\line(0,-1){8.5}}
\put(208.0,-12.75){\line(0,-1){8.5}}
\put(148.2,-12.75){\line(0,-1){8.5}}
%\put(0,-12.75){\line(0,-1){8.5}}
%
\put(215,-18.5){\large{}} %104.106.01188.02123
\put(262.5,-18.5){\clap{\large{\pageref{LastPage}}}} % Номер страницы
\put(278,-18.5){\clap{\large{\thepage}}} % Всего страниц
%Блок Б3Ф1в
\multiput(205.4,-4.25)(0,-4.25){2}{\line(-1,0){80.6}}
\put(189.8,-4.25){\line(0,-1){8.5}}
\put(169.0,-4.25){\line(0,-1){8.5}}
\put(145.6,-4.25){\line(0,-1){8.5}}
\put(135.2,-4.25){\line(0,-1){8.5}}
\put(124.8,-4.25){\line(0,-1){8.5}}
% Пустое место и блок Б3Ф1б два раза
\put(17,-21.25){\line(0,-1){12.75}}
\put(27.4,-21.25){\line(0,-1){12.75}}
\put(37.8,-21.25){\line(0,-1){12.75}}
\put(61.2,-21.25){\line(0,-1){12.75}}
\put(82,-21.25){\line(0,-1){12.75}}
\put(97.6,-21.25){\line(0,-1){12.75}}
%
\put(108,-21.25){\line(0,-1){12.75}}
\put(118.4,-21.25){\line(0,-1){12.75}}
\put(141.8,-21.25){\line(0,-1){12.75}}
\put(162.6,-21.25){\line(0,-1){12.75}}
\put(178.2,-21.25){\line(0,-1){12.75}}
\multiput(178.2,-21.25)(0,-4.25){3}{\line(-1,0){161.2}}
% Блок Б3Ф1а
\put(234.8,-21.25){\line(0,-1){12.75}} %%%% Размер не точный и не понятно, откуда он вообще берется!!
\put(274,-21.25){\line(0,-1){12.75}}
\put(0,-34){\line(1,0){286.0}}
\put(206.5,-29){\clap{\large{\Notation}}}
\put(0,-38.25){\line(1,0){286.0}}
\put(0,-42.50){\line(1,0){286.0}}
\put(0,-191.25){\line(1,0){286.0}}
\put(13,-34){\line(0,-1){157.25}}
%\put(132.5,-42.50){\line(0,-1){8.5}} %132.5 -- размер не точный!!
\put(23.4,-34){\line(0,-1){4.25}}
\put(33.8,-34){\line(0,-1){4.25}}
\put(44.2,-34){\line(0,-1){4.25}}
\put(57.2,-34){\line(0,-1){4.25}}
\put(67.6,-34){\line(0,-1){4.25}}
\put(145.6,-34){\line(0,-1){4.25}}
\put(205.4,-34){\line(0,-1){4.25}}
\put(218.4,-34){\line(0,-1){4.25}}
\put(228.8,-34){\line(0,-1){8.50}}
\put(241.8,-34){\line(0,-1){8.50}}
\put(260,-34){\line(0,-1){8.50}}
\put(286,-34){\line(0,-1){8.50}}
%
\put(4.5,-37.5){К/м} \put(15,-37.5){Цех} \put(26.5,-37.5){Уч.} \put(36.5,-37.5){РМ} \put(46.5,-37.5){Опер.}
\put(60,-37.5){Поз.}
\put(95,-37.5){Наименование}
\put(163,-37.5){Обозначение ДСЕ}
\put(209.5,-37.5){ОПП}
\put(222,-37.5){ЕВ}
\put(233.5,-37.5){ЕН}
\put(249,-37.5){КИ}
\put(267,-37.5){Н. расх.}
\put(6,-41.5){А}
\put(230.5,-41.5){Раз. п.}
\put(246,-41.5){Общ. п.}
\put(267,-41.5){Такт. п.}
\multiput(0,-51)(0,-8.50){17}{\line(1,0){286.0}}
% Ставим риски
\multiput(0,-0)(0,-8.50){17}{%
\put(23.4,-48.75){\line(0,-1){1}}
\put(33.8,-48.75){\line(0,-1){1}}
\put(44.2,-48.75){\line(0,-1){1}}
\put(57.2,-48.75){\line(0,-1){1}}
\put(67.6,-48.75){\line(0,-1){1}}
\put(145.6,-48.75){\line(0,-1){1}}
\put(205.4,-48.75){\line(0,-1){1}}
\put(218.4,-48.75){\line(0,-1){1}}
\put(228.8,-48.75){\line(0,-1){1}}
\put(241.8,-48.75){\line(0,-1){1}}
\put(260,-48.75){\line(0,-1){1}}}
%
\put(8,-48.25){01}
\put(8,-56.75){02}
\put(8,-65.25){03}
\put(8,-73.75){04}
\put(8,-82.85){05}
\put(8,-90.75){06}
\put(8,-99.25){07}
\put(8,-107.25){08}
\put(8,-115.75){09}
\put(8,-124.25){10}
\put(8,-133.25){11}
\put(8,-141.25){12}
\put(8,-150.25){13}
\put(8,-158.75){14}
\put(8,-167.25){15}
\put(8,-175.75){16}
\put(8,-184.25){17}
%
\put(18,-191.25){\line(0,-1){8.5}}
\put(36,-191.25){\line(0,-1){8.5}}
\put(275,-191.25){\line(0,-1){8.5}}
\put(9.25,-197.25){\clap{\large{КК}}}
\put(27,-197.25){\clap{\large{ТД-16а}}}
\put(280.5,-197.25){\clap{\large{\thepage}}} % Номер страницы
\end{picture}}}}

92
forms-cover.sty

@ -0,0 +1,92 @@
\newcommand{\Cover}[4]{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,200){%
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(286,5){\llap{ГОСТ~3.1118-82\qquad\qquad Форма~2}}
%\put(148,7){\line(0,-1){9}} % Вертикальная черта сверху
%Блок Б4Ф1
\multiput(0,0)(0,-4.25){4}{\line(1,0){75.4}}
\put(0,0){\line(0,-1){191.25}} % Эта линия идет до конца слева
\put(18.2,0){\line(0,-1){17}}
\put(39.0,0){\line(0,-1){17}}
\put(59.8,0){\line(0,-1){17}}
\put(75.4,0){\line(0,-1){17}}
%
\put(1.5,-3.5){Дубл.}
\put(1.5,-7.75){Взам.}
\put(1.5,-12){Подл.}
\put(24.5,-16.25){Инв.\,№} \put(46,-16.25){Дата} \put(63,-16.25){Подпись}
%Блок Б3Ф1а
%На 4.25 выше по отношению к Б5Ф1 (величина одной строчки)
\multiput(205.4,4.25)(0,-4.25){5}{\line(1,0){80.6}}
\put(205.4,4.25){\line(0,-1){21.25}}
\put(215.8,4.25){\line(0,-1){21.25}}
\put(226.2,4.25){\line(0,-1){21.25}}
\put(249.6,4.25){\line(0,-1){21.25}}
\put(270.4,4.25){\line(0,-1){21.25}}
\put(286.0,4.25){\line(0,-1){195.50}} % Эта линия идет до конца справа
\put(208,-16.25){Изм.} \put(218,-16.25){Лист} \put(232.5,-16.25){№\,докум.} \put(255,-16.25){Подпись} \put(275,-16.25){Дата}
%Блок Б5Ф1
\multiput(0,-17)(0,-8.5){2}{\line(1,0){286}}
%\put(286.0,-12.75){\line(0,-1){8.5}}
\put(270.4,-17){\line(0,-1){8.5}}
\put(254.8,-17){\line(0,-1){8.5}}
\put(208.0,-17){\line(0,-1){8.5}}
\put(148.2,-17){\line(0,-1){8.5}}
%\put(0,-12.75){\line(0,-1){8.5}}
%
\put(262.5,-22.75){\clap{\large{\pageref{LastPage}}}} % Всего страниц
\put(278,-22.75){\clap{\large{\thepage}}} % Номер страницы
%Б1Ф1 с гор. расп. поля подшивки
\put(96.2,-38.25){\line(1,0){189.8}}
\put(96.2,-46.75){\line(1,0){189.8}}
\put(96.2,-25.5){\line(0,-1){21.25}}
\put(137.8,-25.5){\linethickness{\thick}\line(0,-1){12.75}}
\put(197.6,-25.5){\linethickness{\thick}\line(0,-1){12.75}}
\put(239.2,-25.5){\linethickness{\thick}\line(0,-1){12.75}}
\put(286,-25.5){\linethickness{\thick}\line(0,-1){12.75}}
\put(137.6,-25.5){\linethickness{\thick}\line(1,0){148.7}}
\put(137.6,-38.25){\linethickness{\thick}\line(1,0){148.7}}
%
\put(109.2,-38.25){\line(0,-1){2.5}} % риска
%
\multiput(254.8,-38.25)(10.4,0){3}{\line(0,-1){8.5}}
%
\put(168,-34){\clap{\Large{#3}}}
%
\put(148,-110){\clap{\Huge{#4}}}
\put(148,-118){\clap{\line(1,0){190}}}
\put(148,-130){\clap{\line(1,0){190}}}
\put(148,-117){\clap{\Large{#1}}}
\put(148,-121){\clap{(наименование технологического процесса)}}
%
\put(148,-140){\clap{\line(1,0){58}}}
\put(148,-139){\clap{\Large{#2}}}
\put(148,-143){\clap{(шифр изделия)}}
%
% Костыли
%\put(10,-19.5){\line(0,-1){197.25}}
%\put(276,-19.5){\line(0,-1){197.25}}
%\put(68,-19.5){\line(0,-1){197.25}}
%
\put(247,-62){\clap{Утверждаю:}}
\put(247,-70){\clap{\line(1,0){58}}}
\put(247,-78){\clap{<< .~.~. >> \line(1,0){35} ~20 .~.~.~г.}}
\put(213,-167){Гл. специалист:} \put(235,-167){\line(1,0){41}}%
\put(213,-175){Нач. ОТК} \put(235,-175){\line(1,0){41}}
\put(213,-183){Нач. техсектора:} \put(235,-183){\line(1,0){41}}
%
\put(39,-136){\clap{Согласовано:}}
\put(39,-144){\clap{\line(1,0){58}}}
\put(39,-152){\clap{\line(1,0){58}}}
\put(39,-160){\clap{\line(1,0){58}}}
\put(39,-175){\clap{Внедрен актом №~\line(1,0){10}~от~\line(1,0){19.5}}}
\put(39,-183){\clap{Разработчик~\line(1,0){41.25}}}
%
\put(1,-197){\large{ТЛ}}
\put(0,-191.25){\line(1,0){286}}
%
%\put(116.5,-37){\clap{\includegraphics[height=1cm]{resources/stamp/#1}}}
\end{picture}}}.} % < fix this

86
forms-drawing.sty

@ -0,0 +1,86 @@
\newcommand{\DrawingSheetFirstPage}{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,200){%
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(286,5){\llap{ГОСТ~3.1105-84\qquad\qquad Форма~7}}
\put(148,7){\line(0,-1){9}}
%Блок Б4Ф1
\multiput(0,0)(0,-4.25){3}{\line(1,0){75.4}}
\put(0,0){\line(0,-1){199.75}} % Эта линия идет до конца слева
\put(18.2,0){\line(0,-1){12.75}}
\put(39.0,0){\line(0,-1){12.75}}
\put(59.8,0){\line(0,-1){12.75}}
\put(75.4,0){\line(0,-1){12.75}}
%
\put(1.5,-3.5){Дубл.}
\put(1.5,-7.75){Взам.}
\put(1.5,-12){Подл.}
%Блок Б3Ф1а
%На 4.25 выше по отношению к Б5Ф1 (величина одной строчки)
\multiput(205.4,4.25)(0,-4.25){4}{\line(1,0){80.6}}
\put(205.4,4.25){\line(0,-1){17}}
\put(215.8,4.25){\line(0,-1){17}}
\put(226.2,4.25){\line(0,-1){17}}
\put(249.6,4.25){\line(0,-1){17}}
\put(270.4,4.25){\line(0,-1){17}}
\put(286.0,4.25){\line(0,-1){204.25}} % Эта линия идет до конца справа
%Блок Б5Ф1
\multiput(0,-12.75)(0,-8.5){2}{\line(1,0){286}}
%\put(286.0,-12.75){\line(0,-1){8.5}}
\put(270.4,-12.75){\line(0,-1){8.5}}
\put(254.8,-12.75){\line(0,-1){8.5}}
\put(208.0,-12.75){\line(0,-1){8.5}}
\put(148.2,-12.75){\line(0,-1){8.5}}
%\put(0,-12.75){\line(0,-1){8.5}}
%
\put(215,-18.5){\large{}} %104.106.01188.02123
\put(262.5,-18.5){\clap{\large{\pagedifference{FirstOfWorkFlowChart}{LastOfWorkFlowChart}}}} % Всего страниц
\put(278,-18.5){\clap{\large{\pagedifference{page}{FirstOfWorkFlowChart}}}} % Номер страницы
%Блок Б3Ф1в
\multiput(205.4,-4.25)(0,-4.25){2}{\line(-1,0){80.6}}
\put(189.8,-4.25){\line(0,-1){8.5}}
\put(169.0,-4.25){\line(0,-1){8.5}}
\put(145.6,-4.25){\line(0,-1){8.5}}
\put(135.2,-4.25){\line(0,-1){8.5}}
\put(124.8,-4.25){\line(0,-1){8.5}}
%Блок Б2Ф1
\multiput(0,-25.50)(0,-4.25){4}{\line(1,0){96.2}}
\put(0,-42.5){\line(1,0){286.0}}
\put(23.4,-21.25){\line(0,-1){21.25}}
\put(59.8,-21.25){\line(0,-1){21.25}}
\put(80.6,-21.25){\line(0,-1){21.25}}
\put(96.2,-21.25){\line(0,-1){21.25}}
%
% Жирные линии вторым слоем
%\put(96.2,-21.25){\linethickness{\thick}\line(1,0){189.75}}
%\put(96.2,-34.00){\linethickness{\thick}\line(1,0){189.75}}
%\put(96.2,-21){\linethickness{\thick}\line(0,-1){13.25}}
%\put(286,-21){\linethickness{\thick}\line(0,-1){13.25}}
%
\put(1.5,-24.5){Разраб.} \put(24.5,-24.5){\CreatedBy}
\put(1.5,-28.75){Проверил} \put(24.5,-28.75){\CheckedBy}
\put(1.5,-33){Т.\,контр.} \put(24.5,-33){\TContrBy}
\put(1.5,-41.75){Н.\,контр.} \put(24.5,-41.75){\NContrBy}
%
\put(167.5,-29){\clap{\large{\Notation}}}
\put(262,-29.5){\large{\clap{\DocumentNumber}}} % 50188.00001
%Блок Б1Ф1 (или Б1Ф3, отличается +одним полем 10,4 справа)
\put(96.2,-34){\line(1,0){189.8}}
\put(137.8,-21.25){\line(0,-1){12.75}}
\put(197.6,-21.25){\line(0,-1){12.75}}
\put(239.2,-21.25){\line(0,-1){12.75}}
\put(109.2,-34){\line(0,-1){3}}
\multiput(275.6,-34)(-10.4,0){3}{\line(0,-1){8.5}}
%
\put(175.5,-40){\clap{\large{\Operation}}}
%
\put(0,-191){\line(1,0){286.0}}
\put(18,-191.25){\line(0,-1){8.5}}
\put(36,-191.25){\line(0,-1){8.5}}
\put(275,-191.25){\line(0,-1){8.5}}
\put(9.25,-197.25){\clap{\large{\Letter}}}
\put(27,-197.25){\clap{\large{ТД-10}}}
\put(280.5,-197.25){\clap{\large{\thepage}}} % Номер страницы
\end{picture}}}}

79
forms-passport-title.sty

@ -0,0 +1,79 @@
\newcommand{\PassportTitle}{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,200){%
\begin{picture}(0,10)
\color[HTML]{\Color}
%\put(286,5){\llap{ГОСТ~3.1118-82\qquad\qquad Форма~2}}
%\put(148,7){\line(0,-1){9}} % Вертикальная черта сверху
%Блок Б4Ф1
\multiput(0,-8.5)(0,-4.25){2}{\line(1,0){134}}
\put(0,-8.5){\line(0,-1){182.75}} % Эта линия идет до конца слева
\put(24,-8.5){\line(0,-1){8.5}}
\put(55,-8.5){\line(0,-1){8.5}}
\put(79,-8.5){\line(0,-1){8.5}}
\put(103,-8.5){\line(0,-1){8.5}}
%
\put(12.5,-12){\clap{Инв. № подл.}}
\put(39,-12){\clap{Подпись и дата}}
\put(67,-12){\clap{Взам. инв. №}}
\put(91,-12){\clap{Инв. № дубл.}}
\put(118,-12){\clap{Подпись и дата}}
\put(50,-17){\line(0,-1){12.75}}
\put(0,-29.75){\line(1,0){50}}
\put(25,-25){\clap{\Large{ЭТАЛОН}}}
\put(229,-8.5){\line(0,-1){8.5}}
\put(239,-8.5){\line(0,-1){8.5}}
\put(214.5,-8.5){\line(1,0){71.5}}
\put(222,-14){\clap{Сер...}}
%Блок Б3Ф1а
%На 4.25 выше по отношению к Б5Ф1 (величина одной строчки)
\multiput(134,0)(0,-4.25){4}{\line(1,0){80.5}}
\put(134,0){\line(0,-1){17}}
\put(154,0){\line(0,-1){17}}
\put(174,0){\line(0,-1){17}}
\put(194.6,0){\line(0,-1){17}}
\put(214.4,0){\line(0,-1){17}}
\put(286.0,-8.5){\line(0,-1){182.75}} % Эта линия идет до конца справа
\put(0,-17){\line(1,0){286}}
%
\put(257,-23){\clap{\pageref{LastPage}}} % Всего страниц
\put(278,-23){\clap{\thepage}} % Номер страницы
\put(246,-23){\rlap{Лист}}
\put(254,-23.5){\line(1,0){7}}
\put(263,-23){\rlap{Листов}}
\put(275,-23.5){\line(1,0){7}}
%
\put(148,-78){\clap{\Huge{ТЕХНОЛОГИЧЕСКИЙ ПАСПОРТ}}}
\multiput(78,-95)(0,-12){5}{\line(1,0){140}}
\put(148,-99){\clap{(наименование технологического паспорта)}}
\put(148,-123){\clap{(наименование детали (сборочной единицы)}}
\put(148,-147){\clap{(обозначение детали (сборочной единицы)}}
\put(247,-42){\clap{Утверждаю:}}
\put(247,-50){\clap{\line(1,0){58}}}
\put(247,-58){\clap{<< .~.~. >> \line(1,0){35} ~20 .~.~.~г.}}
\put(213,-159){Нач. БТП} \put(235,-159){\line(1,0){41}}
\put(213,-167){Нач. БТК} \put(235,-167){\line(1,0){41}}
\put(213,-175){Технолог} \put(235,-175){\line(1,0){41}}
\put(213,-183){Заказчик} \put(235,-183){\line(1,0){41}}
%
\put(1,-197){\large{ТЛ}}
\put(0,-191.25){\line(1,0){286}}
%
%\put(116.5,-37){\clap{\includegraphics[height=1cm]{resources/stamp/#1}}}
\end{picture}}}}

124
forms-passport.sty

@ -0,0 +1,124 @@
\newcommand{\PassportToFiveFourZeroPage}{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,200){%
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(0,0){\line(1,0){143}}
\put(0,-4.25){\line(1,0){143}}
\put(0,0){\line(0,-1){191.25}} % Эта линия идет до конца слева
\put(24,0){\line(0,-1){12.75}}
\put(61,0){\line(0,-1){12.75}}
\put(84,0){\line(0,-1){12.75}}
\put(106,0){\line(0,-1){12.75}}
\put(143,0){\line(0,-1){12.75}}
%
\put(12,-3.5){\clap{Инв. № подп.}}
\put(42,-3.5){\clap{Подпись и дата}}
\put(72.5,-3.5){\clap{Взам. инв. №}}
\put(95,-3.5){\clap{Инв. № дубл.}}
\put(124,-3.5){\clap{Подпись и дата}}
\put(286.0,-4.25){\line(0,-1){187}} % Эта линия идет до конца справа
\multiput(0,-12.75)(0,-8.5){2}{\line(1,0){286}}
\put(216,-4.25){\line(1,0){70}}
\put(216,-4.25){\line(0,-1){17}}
\put(220,-10){\large{\Notation}}
\put(43,-12.75){\line(0,-1){8.5}}
\put(143,-12.75){\line(0,-1){8.5}}
\put(92,-19){\Large{\clap{ТЕХНОЛОГИЧЕСКИЙ ПАСПОРТ}}}
\put(0,-25.5){\line(1,0){28}}
\put(165.5,-29.75){\line(1,0){120.5}}
\put(194,-34){\line(1,0){92}}
\put(165.5,-38.5){\line(1,0){28.4}}
\put(9,-25.5){\line(0,-1){144.5}}
\put(28,-21.25){\line(0,-1){148.75}}
\put(79.6,-21.25){\line(0,-1){148.75}}
\put(112.6,-21.25){\line(0,-1){148.75}}
\put(122.6,-21.25){\line(0,-1){148.75}}
\put(155.6,-21.25){\line(0,-1){148.75}}
\put(165.6,-21.25){\line(0,-1){148.75}}
\put(175.6,-29.75){\line(0,-1){8.5}}
\put(175.6,-42.25){\line(0,-1){127.75}}
\put(194,-29.75){\line(0,-1){140.25}}
\put(212.4,-34){\line(0,-1){136}}
\put(230.8,-29.75){\line(0,-1){140.25}}
\put(249.2,-34){\line(0,-1){136}}
\put(267.6,-29.75){\line(0,-1){140.25}}
\put(14,-24.5){\clap{Номер}}
\put(4,-34.5){\rotatebox{90}{\clap{участка}}}
\put(18.5,-35.5){\clap{операции}}
\put(55,-29.5){\clap{Наименование операции}}
\put(55,-33.5){\clap{и основных узлов,}}
\put(55,-37.5){\clap{вошедших в сборку}}
\put(96,-31.5){\clap{Номер чертежа,}}
\put(96,-35.5){\clap{детали, сб. единицы}}
\put(116.5,-32.5){\rotatebox{90}{\clap{Количество}}}
\put(139,-33.5){\clap{Инв. номер}}
\put(157.5,-32.5){\rotatebox{90}{\clap{Гарантийный}}}
\put(161.5,-32.5){\rotatebox{90}{\clap{срок}}}
\put(171,-33.5){\clap{таб.}}
\put(171,-37.5){\clap{№}}
\put(185,-33.5){\clap{подпись,}}
\put(185,-37.5){\clap{дата}}
\put(180,-41.5){\clap{исполнит.}}
\put(240,-27){\clap{ПОДПИСЬ, ДАТА, ГРИФ}}
\put(212.5,-33){\clap{руководитель участка}}
\put(249,-33){\clap{Б\,Т\,К}}
\put(277,-33){\clap{заказчик}}
\multiput(203,-39)(37,0){3}{
\put(0,0){\clap{приемка}}}
\multiput(222,-37.5)(37,0){2}{
\put(0,0){\clap{предъяв-}}
\put(0,-3){\clap{лен}}}
\multiput(0,-42.5)(0,-7.08){19}{\line(1,0){286.0}}
%
\put(0,-191.25){\line(1,0){286}} % низ
\multiput(28,-174.25)(0,-4.25){4}{\line(1,0){243.0}}
\multiput(20,-170)(74,0){3}{
\put(8,0){\line(0,-1){21.25}}
\put(18,0){\line(0,-1){21.25}}
\put(28,0){\line(0,-1){21.25}}
\put(46,0){\line(0,-1){21.25}}
\put(64,0){\line(0,-1){21.25}}
\put(82,0){\line(0,-1){21.25}}
\put(13,-20.25){\clap{Изм.}}
\put(23,-20.25){\clap{Лист}}
\put(37,-20.25){\clap{№ докум.}}
\put(55,-20.25){\clap{Подпись}}
\put(73,-20.25){\clap{Дата}}
}
\put(271,-174.25){\line(1,0){15}}
\put(271,-180){\line(1,0){15}}
\put(271,-184.25){\line(1,0){15}}
\put(272,-173.5){Лист}
\put(272,-183.5){Листов}
\put(280.5,-197.25){\clap{\large{\thepage}}} % Номер страницы
\put(271,-170){\line(0,-1){21.25}}
\put(2.5,-197.25){\large{ТО-540}}
\end{picture}}}}

114
forms-quality.sty

@ -0,0 +1,114 @@
\newcommand{\QualityToFiveOneSixPage}{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,200){%
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(0,0){\line(1,0){143}}
\put(0,-4.25){\line(1,0){143}}
\put(0,0){\line(0,-1){191.25}} % Эта линия идет до конца слева
\put(24,0){\line(0,-1){12.75}}
\put(61,0){\line(0,-1){12.75}}
\put(84,0){\line(0,-1){12.75}}
\put(106,0){\line(0,-1){12.75}}
\put(143,0){\line(0,-1){12.75}}
%
\put(12,-3.5){\clap{Инв. № подп.}}
\put(42,-3.5){\clap{Подпись и дата}}
\put(72.5,-3.5){\clap{Взам. инв. №}}
\put(95,-3.5){\clap{Инв. № дубл.}}
\put(124,-3.5){\clap{Подпись и дата}}
\put(286.0,-4.25){\line(0,-1){187}} % Эта линия идет до конца справа
\multiput(0,-12.75)(0,-17){2}{\line(1,0){286}}
\put(216,-4.25){\line(1,0){70}}
\put(143,-21.25){\line(1,0){143}}
\put(216,-4.25){\line(0,-1){17}}
\put(220,-10){\large{\Notation}}
\put(43,-12.75){\line(0,-1){17}}
\put(143,-12.75){\line(0,-1){17}}
\put(92,-20){\Large{\clap{КАРТА ИЗМЕРЕНИЙ}}}
\put(90,-25){\Large{\clap{контролируемых параметров}}}
\put(0,-34){\line(1,0){28}}
\put(130,-38.25){\line(1,0){156}}
\put(194,-42.5){\line(1,0){92}}
\put(9,-34){\line(0,-1){136}}
\put(28,-29.75){\line(0,-1){140.25}}
\put(102,-29.75){\line(0,-1){140.25}}
\put(130,-29.75){\line(0,-1){140.25}}
\put(162,-38.25){\line(0,-1){131.75}}
\put(194,-29.75){\line(0,-1){140.25}}
\put(212.4,-42.5){\line(0,-1){127.5}}
\put(230.8,-38.25){\line(0,-1){131.75}}
\put(249.2,-42.5){\line(0,-1){127.5}}
\put(267.6,-38.25){\line(0,-1){131.75}}
\put(14,-33){\clap{Номер}}
\put(4,-43){\rotatebox{90}{\clap{участка}}}
\put(18.5,-44){\clap{операции}}
\put(66,-42){\clap{ЧТО ПРОВЕРЯЕТСЯ}}
\put(116,-38){\clap{Индивид. №}}
\put(116,-42){\clap{сборочных}}
\put(116,-46){\clap{единиц}}
\put(162.5,-34){\clap{Значения контролируемых}}
\put(163.5,-37){\clap{параметров}}
\put(146,-44){\clap{по чертежу}}
\put(146,-48){\clap{или ТУ}}
\put(178,-46){\clap{фактические}}
\put(240,-35.5){\clap{ПОДПИСЬ, ДАТА, ГРИФ}}
\put(212.5,-41.5){\clap{руководитель участка}}
\put(249,-41.5){\clap{Б\,Т\,К}}
\put(277,-41.5){\clap{заказчик}}
\multiput(203,-47.5)(37,0){3}{
\put(0,0){\clap{приемка}}}
\multiput(222,-46)(37,0){2}{
\put(0,0){\clap{предъяв-}}
\put(0,-3){\clap{лен}}}
\multiput(0,-51)(0,-8.50){15}{\line(1,0){286.0}}
%
\put(0,-191.25){\line(1,0){286}} % низ
\multiput(28,-174.25)(0,-4.25){4}{\line(1,0){243.0}}
\multiput(20,-170)(74,0){3}{
\put(8,0){\line(0,-1){21.25}}
\put(18,0){\line(0,-1){21.25}}
\put(28,0){\line(0,-1){21.25}}
\put(46,0){\line(0,-1){21.25}}
\put(64,0){\line(0,-1){21.25}}
\put(82,0){\line(0,-1){21.25}}
\put(13,-20.25){\clap{Изм.}}
\put(23,-20.25){\clap{Лист}}
\put(37,-20.25){\clap{№ докум.}}
\put(55,-20.25){\clap{Подпись}}
\put(73,-20.25){\clap{Дата}}
}
\put(271,-174.25){\line(1,0){15}}
\put(271,-180){\line(1,0){15}}
\put(271,-184.25){\line(1,0){15}}
\put(272,-173.5){Лист}
\put(272,-183.5){Листов}
\put(280.5,-197.25){\clap{\large{\thepage}}} % Номер страницы
\put(271,-170){\line(0,-1){21.25}}
\put(2.5,-197.25){\large{ТО-516}}
\end{picture}}}}

108
forms-sequencing.sty

@ -0,0 +1,108 @@
\newcommand{\JobSequencingToFiveZeroThreePage}{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,200){%
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(0,0){\line(1,0){143}}
\put(0,-4.25){\line(1,0){143}}
\put(0,0){\line(0,-1){191.25}} % Эта линия идет до конца слева
\put(24,0){\line(0,-1){12.75}}
\put(61,0){\line(0,-1){12.75}}
\put(84,0){\line(0,-1){12.75}}
\put(106,0){\line(0,-1){12.75}}
\put(143,0){\line(0,-1){12.75}}
%
\put(12,-3.5){\clap{Инв. № подп.}}
\put(42,-3.5){\clap{Подпись и дата}}
\put(72.5,-3.5){\clap{Взам. инв. №}}
\put(95,-3.5){\clap{Инв. № дубл.}}
\put(124,-3.5){\clap{Подпись и дата}}
\put(286.0,-4.25){\line(0,-1){187}} % Эта линия идет до конца справа
\multiput(0,-12.75)(0,-17){2}{\line(1,0){286}}
\put(216,-4.25){\line(1,0){70}}
\put(143,-21.25){\line(1,0){143}}
\put(216,-4.25){\line(0,-1){17}}
\put(220,-10){\large{\Notation}}
\put(43,-12.75){\line(0,-1){17}}
\put(143,-12.75){\line(0,-1){17}}
\put(93,-18){\Large{\clap{ГРАФИК}}}
\put(93,-23){\Large{\clap{ПОСЛЕДОВАТЕЛЬНОСТИ ВЫПОЛНЕНИЯ}}}
\put(93,-28){\Large{\clap{ТЕХНОЛОГИЧЕСКИХ ОПЕРАЦИЙ}}}
\put(0,-38.25){\line(1,0){18}}
\put(27,-38.25){\line(1,0){259}}
\put(9,-38.25){\line(0,-1){131.75}}
\put(18,-29.75){\line(0,-1){140.25}}
\put(27,-29.75){\line(0,-1){140.25}}
\multiput(39,-38.25)(6.85,0){25}{\line(0,-1){131.75}}
\put(210.275,-29.75){\line(0,-1){140.25}}
\put(248,-38.25){\line(0,-1){131.75}}
\put(27,-46.85){\line(1,0){12}}
\put(27,-170){\line(1,0){12}}
\put(9,-35.5){\clap{Номер}}
\put(4.5,-42.5){\clap{уча-}}
\put(4.5,-45.5){\clap{стка}}
\put(13.5,-42.5){\clap{опе-}}
\put(13.5,-45.5){\clap{рации}}
\put(22.5,-40){\clap{Стр.}}
\put(33,-44){\clap{Действ.}}
\put(125,-35.5){\clap{П~О~С~Л~Е~Д~О~В~А~Т~Е~Л~Ь~Н~О}}
\put(32,-105){\rotatebox{90}{\clap{П~А~Р~А~Л~Л~Е~Л~Ь~Н~О}}}
\put(248,-34){\clap{Отметка о выполнении}}
\put(248,-37){\clap{технологических операций}}
\put(230,-42){\clap{Произв.}}
\put(230,-45){\clap{мастер}}
\put(267,-42){\clap{Контрольный}}
\put(267,-45){\clap{мастер}}
\multiput(0,-46.75)(0,-6.85){19}{\line(1,0){27}}
\multiput(39,-46.75)(0,-6.85){19}{\line(1,0){247}}
%
\put(0,-191.25){\line(1,0){286}} % низ
\multiput(28,-174.25)(0,-4.25){4}{\line(1,0){243.0}}
\multiput(20,-170)(74,0){3}{
\put(8,0){\line(0,-1){21.25}}
\put(18,0){\line(0,-1){21.25}}
\put(28,0){\line(0,-1){21.25}}
\put(46,0){\line(0,-1){21.25}}
\put(64,0){\line(0,-1){21.25}}
\put(82,0){\line(0,-1){21.25}}
\put(13,-20.25){\clap{Изм.}}
\put(23,-20.25){\clap{Лист}}
\put(37,-20.25){\clap{№ докум.}}
\put(55,-20.25){\clap{Подпись}}
\put(73,-20.25){\clap{Дата}}
}
\put(271,-174.25){\line(1,0){15}}
\put(271,-180){\line(1,0){15}}
\put(271,-184.25){\line(1,0){15}}
\put(272,-173.5){Лист}
\put(272,-183.5){Листов}
\put(280.5,-197.25){\clap{\large{\thepage}}} % Номер страницы
\put(271,-170){\line(0,-1){21.25}}
\put(2.5,-197.25){\large{ТО-503а}}
\end{picture}}}}

93
forms-spec.sty

@ -0,0 +1,93 @@
\newcommand{\SpecFirstPage}{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,205){%
\begin{picture}(0,10)
\color[HTML]{\Color}
\thicklines
\put(15,0){\line(1,0){185}}
\put(15,-287){\line(1,0){185}}
\put(15,0){\line(0,-1){287}}
\put(200,0){\line(0,-1){287}}
\put(15,-15){\line(1,0){185}}
\thinlines
\multiput(15,-15)(0,-8.3){28}{\line(1,0){185}}
\thicklines
\put(21,0){\line(0,-1){247}}
\put(27,0){\line(0,-1){247}}
\put(35,0){\line(0,-1){247}}
\put(105,0){\line(0,-1){247}}
\put(168,0){\line(0,-1){247}}
\put(178,0){\line(0,-1){247}}
\put(15,-262){\line(1,0){185}}
\put(15,-247){\line(1,0){185}}
\put(22,-247){\line(0,-1){15}}
\put(32,-247){\line(0,-1){40}}
\put(55,-247){\line(0,-1){40}}
\put(70,-247){\line(0,-1){40}}
\put(80,-247){\line(0,-1){40}}
\put(150,-262){\line(0,-1){25}}
\thinlines
\put(15,-252){\line(1,0){65}}
\thicklines
\put(15,-257){\line(1,0){65}}
\thinlines
\multiput(15,-267)(0,-5){5}{\line(1,0){65}}
\thicklines
\multiput(150,-267)(0,-5){2}{\line(1,0){50}}
\thinlines
\multiput(155,-267)(5,0){2}{\line(0,-1){5}}
\thicklines
\multiput(165,-262)(15,0){2}{\line(0,-1){10}}
\put(3,-142){\line(0,-1){145}}
\put(8,-142){\line(0,-1){145}}
\put(3,-142){\line(1,0){12}}
\put(3,-177){\line(1,0){12}}
\put(3,-202){\line(1,0){12}}
\put(3,-227){\line(1,0){12}}
\put(3,-262){\line(1,0){12}}
\put(3,-287){\line(1,0){12}}
\put(16.5,-8){{\rotatebox{90}{\clap{Формат}}}}
\put(22.5,-8){{\rotatebox{90}{\clap{\large{Зона}}}}}
\put(29.5,-8){{\rotatebox{90}{\clap{\large{Поз.}}}}}
\put(70,-9){\clap{\large{Обозначение}}}
\put(138,-9){\clap{\large{Наименование}}}
\put(171.5,-8){{\rotatebox{90}{\clap{\large{Кол.}}}}}
\put(189,-7){\clap{\large{Приме-}}}
\put(189,-11){\clap{\large{чание}}}
\put(4.5,-274){{\rotatebox{90}{\clap{Инв. № подл.}}}}
\put(4.5,-244){{\rotatebox{90}{\clap{Подп. и дата}}}}
\put(4.5,-214.5){{\rotatebox{90}{\clap{Взам. инв №}}}}
\put(4.5,-189){{\rotatebox{90}{\clap{Инв. № дубл.}}}}
\put(4.5,-160){{\rotatebox{90}{\clap{Подп. и дата}}}}
\put(18.5,-260.5){\clap{Изм}}
\put(27,-260.5){\clap{Лист}}
\put(44,-260.5){\clap{№ докум.}}
\put(63,-260.5){\clap{Подп.}}
\put(75,-260.5){\clap{Дата}}
\put(15.5,-265.5){Разраб.} \put(32.5,-265.5){\CreatedBy}
\put(15.5,-271){Проверил} \put(32.5,-271){\CheckedBy}
\put(15.5,-280.5){Н. контр.} \put(32.5,-280.5){\NContrBy}
\put(15.5,-285.5){Утв.}
\put(140,-256){{\clap{\large{\Notation}}}}
\put(115,-275){{\clap{\large{\Name}}}}
\put(158.5,-265.5){\clap{Лит.}}
\put(172.5,-265.5){\clap{Лист}}
\put(190,-265.5){\clap{Листов}}
\put(200,-291){\llap{Копировал \hskip 3cm plus 5mm Формат А4}}
\end{picture}}}}

93
forms-workflow-title.sty

@ -0,0 +1,93 @@
\newcommand{\WorkflowTitle}{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,200){%
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(286,5){\llap{ГОСТ~3.1118-82\qquad\qquad Форма~2}}
%\put(148,7){\line(0,-1){9}} % Вертикальная черта сверху
%Блок Б4Ф1
\multiput(0,0)(0,-4.25){4}{\line(1,0){75.4}}
\put(0,0){\line(0,-1){191.25}} % Эта линия идет до конца слева
\put(18.2,0){\line(0,-1){17}}
\put(39.0,0){\line(0,-1){17}}
\put(59.8,0){\line(0,-1){17}}
\put(75.4,0){\line(0,-1){17}}
%
\put(1.5,-3.5){Дубл.}
\put(1.5,-7.75){Взам.}
\put(1.5,-12){Подл.}
\put(28.5,-16.25){\clap{Инв.\,№}} \put(50,-16.25){\clap{Подпись}} \put(67.5,-16.25){\clap{Дата}}
%Блок Б3Ф1а
%На 4.25 выше по отношению к Б5Ф1 (величина одной строчки)
\multiput(205.4,4.25)(0,-4.25){5}{\line(1,0){80.6}}
\put(205.4,4.25){\line(0,-1){21.25}}
\put(215.8,4.25){\line(0,-1){21.25}}
\put(226.2,4.25){\line(0,-1){21.25}}
\put(249.6,4.25){\line(0,-1){21.25}}
\put(270.4,4.25){\line(0,-1){21.25}}
\put(286.0,4.25){\line(0,-1){195.50}} % Эта линия идет до конца справа
\put(211,-16.25){\clap{Изм.}} \put(221,-16.25){\clap{Лист}} \put(238,-16.25){\clap{№\,докум.}} \put(260,-16.25){\clap{Подпись}} \put(278,-16.25){\clap{Дата}}
%Блок Б5Ф1
\multiput(0,-17)(0,-8.5){2}{\line(1,0){286}}
%\put(286.0,-12.75){\line(0,-1){8.5}}
\put(270.4,-17){\line(0,-1){8.5}}
\put(254.8,-17){\line(0,-1){8.5}}
\put(208.0,-17){\line(0,-1){8.5}}
\put(148.2,-17){\line(0,-1){8.5}}
%\put(0,-12.75){\line(0,-1){8.5}}
%
\put(262.5,-22.75){\clap{\large{\pageref{LastPage}}}} % Всего страниц
\put(278,-22.75){\clap{\large{\thepage}}} % Номер страницы
%Б1Ф1 с гор. расп. поля подшивки
\put(96.2,-38.25){\line(1,0){189.8}}
\put(96.2,-46.75){\line(1,0){189.8}}
\put(96.2,-25.5){\line(0,-1){21.25}}
\put(137.8,-25.5){\linethickness{\thick}\line(0,-1){12.75}}
\put(197.6,-25.5){\linethickness{\thick}\line(0,-1){12.75}}
\put(239.2,-25.5){\linethickness{\thick}\line(0,-1){12.75}}
\put(286,-25.5){\linethickness{\thick}\line(0,-1){12.75}}
\put(137.6,-25.5){\linethickness{\thick}\line(1,0){148.7}}
\put(137.6,-38.25){\linethickness{\thick}\line(1,0){148.7}}
%
\put(109.2,-38.25){\line(0,-1){2.5}} % риска
%
\multiput(254.8,-38.25)(10.4,0){3}{\line(0,-1){8.5}}
%
%
\put(148,-95){\clap{\Huge{КОМПЛЕКТ ДОКУМЕНТОВ}}}
\put(148,-105){\clap{\Huge{ТЕХНОЛОГИЧЕСКОГО ПРОЦЕССА}}}
\put(148,-118){\clap{\line(1,0){190}}}
\put(148,-130){\clap{\line(1,0){190}}}
\put(148,-121){\clap{(наименование технологического процесса)}}
%
\put(148,-140){\clap{\line(1,0){58}}}
\put(148,-143){\clap{(шифр изделия)}}
%
% Костыли
%\put(10,-19.5){\line(0,-1){197.25}}
%\put(276,-19.5){\line(0,-1){197.25}}
%\put(68,-19.5){\line(0,-1){197.25}}
%
\put(247,-62){\clap{Утверждаю:}}
\put(247,-70){\clap{\line(1,0){58}}}
\put(247,-78){\clap{<< .~.~. >> \line(1,0){35} ~20 .~.~.~г.}}
\put(213,-167){Гл. специалист:} \put(235,-167){\line(1,0){41}}%
\put(213,-175){Нач. ОТК} \put(235,-175){\line(1,0){41}}
\put(213,-183){Нач. техсектора:} \put(235,-183){\line(1,0){41}}
%
\put(39,-136){\clap{Согласовано:}}
\put(39,-144){\clap{\line(1,0){58}}}
\put(39,-152){\clap{\line(1,0){58}}}
\put(39,-160){\clap{\line(1,0){58}}}
\put(39,-175){\clap{Внедрен актом №~\line(1,0){10}~от~\line(1,0){19.5}}}
\put(39,-183){\clap{Разработчик~\line(1,0){41.25}}}
%
\put(1,-197){\large{ТЛ}}
\put(0,-191.25){\line(1,0){286}}
%
%\put(116.5,-37){\clap{\includegraphics[height=1cm]{resources/stamp/#1}}}
\end{picture}}}}

303
forms-workflow.sty

@ -0,0 +1,303 @@
\newcommand{\pcFormTwoFirstPage}{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,200){%
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(286,5){\llap{ГОСТ~3.1118-82\qquad\qquad Форма~2}}
\put(148,7){\line(0,-1){9}}
%Блок Б4Ф1
\multiput(0,0)(0,-4.25){3}{\line(1,0){75.4}}
\put(0,0){\line(0,-1){199.75}} % Эта линия идет до конца слева
\put(18.2,0){\line(0,-1){12.75}}
\put(39.0,0){\line(0,-1){12.75}}
\put(59.8,0){\line(0,-1){12.75}}
\put(75.4,0){\line(0,-1){12.75}}
%
\put(1.5,-3.5){Дубл.}
\put(1.5,-7.75){Взам.}
\put(1.5,-12){Подл.}
%Блок Б3Ф1а
%На 4.25 выше по отношению к Б5Ф1 (величина одной строчки)
\multiput(205.4,4.25)(0,-4.25){4}{\line(1,0){80.6}}
\put(205.4,4.25){\line(0,-1){17}}
\put(215.8,4.25){\line(0,-1){17}}
\put(226.2,4.25){\line(0,-1){17}}
\put(249.6,4.25){\line(0,-1){17}}
\put(270.4,4.25){\line(0,-1){17}}
\put(286.0,4.25){\line(0,-1){204.25}} % Эта линия идет до конца справа
%Блок Б5Ф1
\multiput(0,-12.75)(0,-8.5){2}{\line(1,0){286}}
%\put(286.0,-12.75){\line(0,-1){8.5}}
\put(270.4,-12.75){\line(0,-1){8.5}}
\put(254.8,-12.75){\line(0,-1){8.5}}
\put(208.0,-12.75){\line(0,-1){8.5}}
\put(148.2,-12.75){\line(0,-1){8.5}}
%\put(0,-12.75){\line(0,-1){8.5}}
%
\put(215,-18.5){\large{}} %104.106.01188.02123
\put(262.5,-18.5){\clap{\large{\pagedifference{FirstOfWorkFlowChart}{LastOfWorkFlowChart}}}} % Всего страниц
\put(278,-18.5){\clap{\large{\pagedifference{page}{FirstOfWorkFlowChart}}}} % Номер страницы
%Блок Б3Ф1в
\multiput(205.4,-4.25)(0,-4.25){2}{\line(-1,0){80.6}}
\put(189.8,-4.25){\line(0,-1){8.5}}
\put(169.0,-4.25){\line(0,-1){8.5}}
\put(145.6,-4.25){\line(0,-1){8.5}}
\put(135.2,-4.25){\line(0,-1){8.5}}
\put(124.8,-4.25){\line(0,-1){8.5}}
%Блок Б2Ф1
\multiput(0,-25.50)(0,-4.25){4}{\line(1,0){96.2}}
\put(0,-42.5){\line(1,0){286.0}}
\put(23.4,-21.25){\line(0,-1){21.25}}
\put(59.8,-21.25){\line(0,-1){21.25}}
\put(80.6,-21.25){\line(0,-1){21.25}}
\put(96.2,-21.25){\line(0,-1){21.25}}
%
% Жирные линии вторым слоем
\put(96.2,-21.25){\linethickness{\thick}\line(1,0){189.75}}
\put(96.2,-34.00){\linethickness{\thick}\line(1,0){189.75}}
\put(96.2,-21){\linethickness{\thick}\line(0,-1){13.25}}
\put(286,-21){\linethickness{\thick}\line(0,-1){13.25}}
%
\put(1.5,-24.5){Разраб.} \put(24.5,-24.5){\CreatedBy}
\put(1.5,-28.75){Проверил} \put(24.5,-28.75){\CheckedBy}
\put(1.5,-33){Т.\,контр.} \put(24.5,-33){\TContrBy}
\put(1.5,-41.75){Н.\,контр.} \put(24.5,-41.75){\NContrBy}
%
\put(167.5,-29){\clap{\large{\Notation}}}
\put(262,-29.5){\large{\clap{\DocumentNumber}}} % 50188.00001
%Блок Б1Ф1 (или Б1Ф3, отличается +одним полем 10,4 справа)
\put(96.2,-34){\line(1,0){189.8}}
\put(137.8,-21.25){\line(0,-1){12.75}}
\put(197.6,-21.25){\line(0,-1){12.75}}
\put(239.2,-21.25){\line(0,-1){12.75}}
\put(109.2,-34){\line(0,-1){3}}
\multiput(275.6,-34)(-10.4,0){3}{\line(0,-1){8.5}}
%
\put(175.5,-40){\clap{\large{\Name}}}
%
%\put(0,-55.25){\line(1,0){286.0}} % Линия дублируется верхней строкой основной таблицы
% Жирные линии вторым слоем
\put(13,-42.5){\linethickness{\thick}\line(1,0){273.0}}
\put(13,-51.0){\linethickness{\thick}\line(1,0){119.5}}
\put(132.5,-55.25){\linethickness{\thick}\line(1,0){153.5}}
\put(13,-42.25){\linethickness{\thick}\line(0,-1){9}}
\put(132.5,-50.75){\linethickness{\thick}\line(0,-1){4.75}}
\put(286.0,-42.25){\linethickness{\thick}\line(0,-1){13.25}}
%
\put(0,-46.75){\line(1,0){286.0}}
\put(0,-51.00){\line(1,0){286.0}}
\put(0,-55.25){\line(1,0){286.0}}
\put(13,-46.50){\line(0,-1){144.75}}
\put(132.5,-42.50){\line(0,-1){12.75}} %132.5 -- размер не точный!!
\put(23.4,-42.50){\line(0,-1){4.25}}
\put(33.6,-42.50){\line(0,-1){4.25}}
\put(44.2,-42.50){\line(0,-1){4.25}}
\put(57.4,-42.50){\line(0,-1){4.25}}
\put(6,-46){А} \put(15,-46){Цех} \put(26.5,-46){Уч.} \put(36.5,-46){РМ} \put(46.5,-46){Опер.} \put(72,-46){Код, наименование операции}
\put(6,-50){Б} \put(46,-50){Код, наименование оборудования}
\put(4.5,-54.5){К/м} \put(32,-54.5){Наименование детали, сб. единицы или материала}
%
\put(190,-45.75){Обозначение документа}
\put(143,-46.75){\line(0,-1){4.25}} \put(135.5,-50.25){СМ}
\put(161,-46.75){\line(0,-1){4.25}} \put(147.5,-50.25){Проф.}
\put(171.5,-46.75){\line(0,-1){4.25}} \put(165.5,-50.25){Р}
\put(184.5,-46.75){\line(0,-1){4.25}} \put(176.5,-50.25){УТ}
\put(195,-46.75){\line(0,-1){4.25}} \put(188.0,-50.25){КР}
\put(208,-46.75){\line(0,-1){8.5}} \put(197.0,-50.25){КОИД}
\put(221,-46.75){\line(0,-1){8.5}} \put(212.5,-50.25){ЕН} \put(211.0,-54.5){ОПП} \put(156.5,-54.5){Обозначение, код}
\put(234,-46.75){\line(0,-1){8.5}} \put(225.0,-50.25){ОП} \put(225.5,-54.5){ЕВ}
\put(247,-46.75){\line(0,-1){8.5}} \put(238.5,-50.25){К\tsub{шт}} \put(238.0,-54.5){ЕИ}
\put(265,-46.75){\line(0,-1){8.5}} \put(254.0,-50.25){Т\tsub{пз}} \put(253.5,-54.5){КИ}
\put(286,-46.75){\line(0,-1){8.5}} \put(273.0,-50.25){Т\tsub{шт}} \put(271.5,-54.2){Н\tsub{расх}}
%
\multiput(0,-63.75)(0,-8.50){16}{\line(1,0){286.0}}
% Ставим риски
\multiput(0,-0)(0,-8.50){16}{%
\put(23.4,-62.5){\line(0,-1){1}}
\put(33.6,-62.5){\line(0,-1){1}}
\put(44.2,-62.5){\line(0,-1){1}}
\put(57.4,-62.5){\line(0,-1){1}}
\put(132.5,-62.5){\line(0,-1){1}}
\put(143,-62.5){\line(0,-1){1}}
\put(162.5,-62.5){\line(0,-1){1}}
\put(171.5,-62.5){\line(0,-1){1}}
\put(184.5,-62.5){\line(0,-1){1}}
\put(195,-62.5){\line(0,-1){1}}
\put(208,-62.5){\line(0,-1){1}}
\put(221,-62.5){\line(0,-1){1}}
\put(234,-62.5){\line(0,-1){1}}
\put(247,-62.5){\line(0,-1){1}}
\put(265,-62.5){\line(0,-1){1}}
\put(286,-62.5){\line(0,-1){1}}}
%
\put(8,-61.0){01}
\put(8,-69.5){02}
\put(8,-78.0){03}
\put(8,-86.5){04}
\put(8,-95.0){05}
\put(8,-103.5){06}
\put(8,-112.0){07}
\put(8,-120.5){08}
\put(8,-129.0){09}
\put(8,-137.5){10}
\put(8,-146.0){11}
\put(8,-154.5){12}
\put(8,-163.0){13}
\put(8,-171.5){14}
\put(8,-180.0){15}
\put(8,-188.5){16}
%
\put(18,-191.25){\line(0,-1){8.5}}
\put(36,-191.25){\line(0,-1){8.5}}
\put(275,-191.25){\line(0,-1){8.5}}
\put(9.25,-197.25){\clap{\large{\Letter}}}
\put(27,-197.25){\clap{\large{ТД-8}}}
\put(280.5,-197.25){\clap{\large{\thepage}}} % Номер страницы
\end{picture}}}}
\newcommand{\pcFormOnebOtherPage}{%
\AddToShipoutPicture*{\setlength{\unitlength}{1mm}%
\put(5.5,200){%
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(286,5){\llap{ГОСТ~3.1118-82\qquad\qquad Форма~1б}}
\put(148,7){\line(0,-1){9}}
%Блок Б4Ф1
\multiput(0,0)(0,-4.25){3}{\line(1,0){75.4}}
\put(0,0){\line(0,-1){199.75}} % Эта линия идет до конца слева
\put(18.2,0){\line(0,-1){12.75}}
\put(39.0,0){\line(0,-1){12.75}}
\put(59.8,0){\line(0,-1){12.75}}
\put(75.4,0){\line(0,-1){12.75}}
%
\put(1.5,-3.5){Дубл.}
\put(1.5,-7.75){Взам.}
\put(1.5,-12){Подл.}
%Блок Б3Ф1а
%На 4.25 выше по отношению к Б5Ф1 (величина одной строчки)
\multiput(205.4,4.25)(0,-4.25){4}{\line(1,0){80.6}}
\put(205.4,4.25){\line(0,-1){17}}
\put(215.8,4.25){\line(0,-1){17}}
\put(226.2,4.25){\line(0,-1){17}}
\put(249.6,4.25){\line(0,-1){17}}
\put(270.4,4.25){\line(0,-1){17}}
\put(286.0,4.25){\line(0,-1){204.25}} % Эта линия идет до конца справа
%Блок Б5Ф1
\multiput(0,-12.75)(0,-8.5){2}{\line(1,0){286}}
%\put(286.0,-12.75){\line(0,-1){8.5}}
\put(270.4,-12.75){\line(0,-1){8.5}}
\put(254.8,-12.75){\line(0,-1){8.5}}
\put(208.0,-12.75){\line(0,-1){8.5}}
\put(148.2,-12.75){\line(0,-1){8.5}}
%\put(0,-12.75){\line(0,-1){8.5}}
%
\put(215,-18.5){\large{}} %104.106.01188.02123
\put(262.5,-18.5){\clap{\large{\pagedifference{FirstOfWorkFlowChart}{LastOfWorkFlowChart}}}} % Номер страницы
\put(278,-18.5){\clap{\large{\pagedifference{page}{FirstOfWorkFlowChart}}}} % Всего страниц
%Блок Б3Ф1в
\multiput(205.4,-4.25)(0,-4.25){2}{\line(-1,0){80.6}}
\put(189.8,-4.25){\line(0,-1){8.5}}
\put(169.0,-4.25){\line(0,-1){8.5}}
\put(145.6,-4.25){\line(0,-1){8.5}}
\put(135.2,-4.25){\line(0,-1){8.5}}
\put(124.8,-4.25){\line(0,-1){8.5}}
% Пустое место и блок Б3Ф1б два раза
\put(17,-21.25){\line(0,-1){12.75}}
\put(27.4,-21.25){\line(0,-1){12.75}}
\put(37.8,-21.25){\line(0,-1){12.75}}
\put(61.2,-21.25){\line(0,-1){12.75}}
\put(82,-21.25){\line(0,-1){12.75}}
\put(97.6,-21.25){\line(0,-1){12.75}}
%
\put(108,-21.25){\line(0,-1){12.75}}
\put(118.4,-21.25){\line(0,-1){12.75}}
\put(141.8,-21.25){\line(0,-1){12.75}}
\put(162.6,-21.25){\line(0,-1){12.75}}
\put(178.2,-21.25){\line(0,-1){12.75}}
\multiput(178.2,-21.25)(0,-4.25){3}{\line(-1,0){161.2}}
% Блок Б3Ф1а
\put(234.8,-21.25){\line(0,-1){12.75}} %%%% Размер не точный и не понятно, откуда он вообще берется!!
\put(274,-21.25){\line(0,-1){12.75}}
\put(0,-34){\line(1,0){286.0}}
\put(206.5,-29){\clap{\large{\Notation}}}
\put(255,-29.5){\large{\clap{\DocumentNumber}}} % 50188.00001
% Жирные линии вторым слоем
\put(13,-34){\linethickness{\thick}\line(1,0){273.0}}
\put(13,-42.5){\linethickness{\thick}\line(1,0){119.5}}
\put(132.5,-46.75){\linethickness{\thick}\line(1,0){153.5}}
\put(13,-33.75){\linethickness{\thick}\line(0,-1){9}}
\put(132.5,-42.25){\linethickness{\thick}\line(0,-1){4.75}}
\put(286.0,-33.75){\linethickness{\thick}\line(0,-1){13.25}}
%
\put(0,-38.25){\line(1,0){286.0}}
\put(0,-42.5){\line(1,0){286.0}}
\put(0,-46.75){\line(1,0){286.0}}
\put(13,-38){\line(0,-1){153.25}}
\put(132.5,-34){\line(0,-1){12.75}} %132.5 -- размер не точный!!
\put(23.4,-34){\line(0,-1){4.25}}
\put(33.6,-34){\line(0,-1){4.25}}
\put(44.2,-34){\line(0,-1){4.25}}
\put(57.4,-34){\line(0,-1){4.25}}
\put(6,-37.5){А} \put(15,-37.5){Цех} \put(26.5,-37.5){Уч.} \put(36.5,-37.5){РМ} \put(46.5,-37.5){Опер.} \put(72,-37.5){Код, наименование операции}
\put(6,-41.5){Б} \put(46,-41.5){Код, наименование оборудования}
\put(4.5,-46){К/м} \put(32,-46){Наименование детали, сб. единицы или материала}
%
\put(190,-37.25){Обозначение документа}
\put(143,-38.25){\line(0,-1){4.25}} \put(135.5,-41.75){СМ}
\put(161,-38.25){\line(0,-1){4.25}} \put(147.5,-41.75){Проф.}
\put(171.5,-38.25){\line(0,-1){4.25}} \put(165.5,-41.75){Р}
\put(184.5,-38.25){\line(0,-1){4.25}} \put(176.5,-41.75){УТ}
\put(195,-38.25){\line(0,-1){4.25}} \put(188.0,-41.75){КР}
\put(208,-38.25){\line(0,-1){8.5}} \put(197.0,-41.75){КОИД}
\put(221,-38.25){\line(0,-1){8.5}} \put(212.5,-41.75){ЕН} \put(211.0,-46){ОПП} \put(156.5,-46){Обозначение, код}
\put(234,-38.25){\line(0,-1){8.5}} \put(225.0,-41.75){ОП} \put(225.5,-46){ЕВ}
\put(247,-38.25){\line(0,-1){8.5}} \put(238.5,-41.75){К\tsub{шт}} \put(238.0,-46){ЕИ}
\put(265,-38.25){\line(0,-1){8.5}} \put(254.0,-41.75){Т\tsub{пз}} \put(253.5,-46){КИ}
\put(286,-38.25){\line(0,-1){8.5}} \put(273.0,-41.75){Т\tsub{шт}} \put(271.5,-45.7){Н\tsub{расх}}
%
\multiput(0,-55.25)(0,-8.50){17}{\line(1,0){286.0}}
% Ставим риски
\multiput(0,-0)(0,-8.50){17}{%
\put(23.4,-54){\line(0,-1){1}}
\put(33.6,-54){\line(0,-1){1}}
\put(44.2,-54){\line(0,-1){1}}
\put(57.4,-54){\line(0,-1){1}}
\put(132.5,-54){\line(0,-1){1}}
\put(143,-54){\line(0,-1){1}}
\put(162.5,-54){\line(0,-1){1}}
\put(171.5,-54){\line(0,-1){1}}
\put(184.5,-54){\line(0,-1){1}}
\put(195,-54){\line(0,-1){1}}
\put(208,-54){\line(0,-1){1}}
\put(221,-54){\line(0,-1){1}}
\put(234,-54){\line(0,-1){1}}
\put(247,-54){\line(0,-1){1}}
\put(265,-54){\line(0,-1){1}}
\put(286,-54){\line(0,-1){1}}}
%
\put(8,-52.5){01}
\put(8,-61.0){02}
\put(8,-69.5){03}
\put(8,-78.0){04}
\put(8,-86.5){05}
\put(8,-95.0){06}
\put(8,-103.5){07}
\put(8,-112.0){08}
\put(8,-120.5){09}
\put(8,-129.0){10}
\put(8,-137.5){11}
\put(8,-146.0){12}
\put(8,-154.5){13}
\put(8,-163.0){14}
\put(8,-171.5){15}
\put(8,-180.0){16}
\put(8,-188.5){17}
%
\put(18,-191.25){\line(0,-1){8.5}}
\put(36,-191.25){\line(0,-1){8.5}}
\put(275,-191.25){\line(0,-1){8.5}}
\put(9.25,-197.25){\clap{\large{\Letter}}}
\put(27,-197.25){\clap{\large{ТД-7а}}}
\put(280.5,-197.25){\clap{\large{\thepage}}} % Номер страницы
\end{picture}}}}

314
main.tex

@ -0,0 +1,314 @@
\documentclass[a4paper]{td}
\newcommand{\Font}{Arial}
\newfontfamily\cyrillicfont{\Font}
\setmathfont{\Font}
\newfontfamily{\cyrillicfonttt}{\Font}
\begin{document}
%\renewcommand{\Notation}{0-0000-1234-12345678}
\renewcommand{\Name}{Проверка названия}
\renewcommand{\CreatedBy}{Иванов И. П.}
%\renewcommand{\CheckedBy}{Сидоров Е. Е.}
\renewcommand{\TContrBy}{Петров А. Б.}
\renewcommand{\NContrBy}{Фролов В. Г.}
\renewcommand{\Color}{0000AA}
\begin{RequirementsChart}
\reqLineNum{1}{При выполнении сварочных работ необходимо строго соблюдать требования по охране труда, изложенные в инструкциях №№ 53, 58 и в ГОСТ 12.3.003-86, и принимать меры, предохраняющие сварщика и окружающих работников от поражения электрическим током, от излучения электрической дуги, принимать меры безопасности при эксплуатации баллонов с защитными газами. Сварщики должны хорошо знать обязанности, изложенные в инструкции № 53 в разделе III.}
\reqLineNum{2}{К сварочным работам допускаются лица, достигшие 18-летнего возраста, прошедшие медицинский осмотр, обученные по профессии, получившие инструктаж и обучение по охране труда на рабочем месте, выдержавшие соответствующие испытания, аттестованные и имеющие на руках удостоверение на право производства сварочных работ в соответствии с ОСТ-92-1107-79. Повторная проверка знаний должна производиться не реже одного раза в год.}
\end{RequirementsChart}
\begin{WorkflowChart}
\pcActLine{При выполнении сварочных работ необходимо строго соблюдать требования по охране труда, изложенные в инструкциях №№ 53, 58 и в ГОСТ 12.3.003-86, и принимать меры, предохраняющие сварщика и окружающих работн \par иков от поражения электрическим током, от излучения электрической дуги, принимать меры безопасности при эксплуатации баллонов с защитными газами. Сварщики должны хорошо знать обязанности, изложенные в инструкции № 53 в разделе III.}
\pcActLineNum{12.}{При выполнении сварочных работ необходимо строго соблюдать требования по охране труда, изложенные в инструкциях №№ 53, 58 и в ГОСТ 12.3.003-86, и принимать меры, предохраняющие сварщика и окружающих работников от поражения электрическим током, от излучения электрической дуги, принимать меры безопасности при эксплуатации баллонов с защитными газами. Сварщики должны хорошо знать обязанности, изложенные в инструкции № 53 в разделе III.}
\pcActLineNum{456.}{При выполнении сварочных работ необходимо строго соблюдать требования по охране труда, изложенные в инструкциях №№ 53, 58 и в ГОСТ 12.3.003-86, и принимать меры, предохраняющие сварщика и окружающих работников от поражения электрическим током, от излучения электрической дуги, принимать меры безопасности при эксплуатации баллонов с защитными газами. Сварщики должны хорошо знать обязанности, изложенные в инструкции № 53 в разделе III.}
\pcActCommentLine{К сварочным работам допускаются лица, достигшие 18-летнего возраста, прошедшие медицинский осмотр, обученные по профессии, получившие инструктаж и обучение по охране труда на рабочем месте, выдержавшие соответствующие испытания, аттестованные и имеющие на руках удостоверение на право производства сварочных работ в соответствии с ОСТ-92-1107-79. Повторная проверка знаний должна производиться не реже одного раза в год.}
\end{WorkflowChart}
\WorkflowTitlePage{14С43-123-0000}{Проставка верхняя}{Сборка проставки верхней}{БРМ}{104.73.01388.00713}
\PassportTitlePage{14С43-123-0000}{Проставка верхняя}{Сборка проставки верхней}{БРМ}{104.73.01388.00713}
\DrawingSheet{drawings/test.PDF}{s}
\DrawingSheet{drawings/test.png}{Операция БРМ-005}
\DrawingSheet{drawings/test.jpg}{Операция БРМ-005}
\DrawingSheet{drawings/test.eps}{Операция БРМ-005}
\begin{ComponentsList}
\ComponentsListComponent{1}{21111}{3}{4}{5}{6}{7}{8}
\ComponentsListEmptyLine
\ComponentsListStandardComponent{1}{111112}{3}{4}{5}{6}{7}{8}
\ComponentsListEmptyLine
\ComponentsListMaterial{1}{211111}{3}{4}{5}{6}{7}{8}
\end{ComponentsList}
\begin{MethodsSheet}
\MethodsSheetOperationLine{1}{2}{2222223}{4}
\MethodsSheetEmptyLine
\end{MethodsSheet}
\begin{QualityControl}
\QualityHead{1}{2}{3}{4}{5}{6}
\QualityPar{1}{2}{\qpm{1}{2}{3}}{4}
\end{QualityControl}
\begin{WorkflowChart}
\pcOperLine{000}{00}{0}{000000000}{000 Qwerty}
\pcEquipLine{1}{2}{3}{4}{5}{6}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\end{WorkflowChart}
\begin{RequirementsChart}
\reqHead{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqHead{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqHead{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqHead{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\end{RequirementsChart}
\begin{Passport}
\PassportOperation{1}{20}{222}{Операция}{12345678}{qwerty}
\PassportComponent{Какая-то деталь}{sdf}{2}
\PassportStandardComponent{Какая-то другая деталь}{ТЕСТ-0000-123}{3}
\PassportComponent{Какая-то другая деталь}{fff}{3}
\PassportOperation{12}{223}{222-222}{3dds}{чертеж}{aaa}
\PassportOperation{1}{2}{}{3dds}{чертеж}{aaa}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportComponent{000-000-000}{чертеж}{23}
\PassportOperation{1}{20}{222}{Операция}{12345678}{qqq}
\PassportComponent{Какая-то деталь}{1-6Х8-АД1МГОСТ18677-73}{2}
\PassportStandardComponent{ Пломба}{1-6Х8-АД1МГОСТ18677-73}{ 4 }
\PassportStandardComponent{ Болт}{ М6-6ЕХ14.26.11ОСТ92-0606-79 }{ 4 }
\PassportStandardComponent{ Шайба}{ А.6.21.11ГОСТ10450-78 }{ 4 }
\PassportStandardComponent{ Гайка}{ М6-6Н.26.11ОСТ92-0612-79 }{ 4 }
\PassportStandardComponent{ Болт}{ М6-6ЕХ38.26.11ОСТ92-0598-79 }{ 32 }
\PassportStandardComponent{ Болт }{ М8-6ЕХ28.26.11ОСТ92-0598-79 }{ 112 }
\PassportStandardComponent{ Болт }{ М8-6ЕХ30.26.11ОСТ92-0598-79 }{ 112 }
\PassportStandardComponent{ Болт }{ М8-6ЕХ40.26.11ОСТ92-0598-79 }{ 96 }
\PassportStandardComponent{ Гайка }{ М6-6Н.26.11ОСТ92-0612-79 }{ 32 }
\PassportStandardComponent{ Гайка }{ М8-6Н.26.11ОСТ92-0612-79 }{ 320 }
\PassportStandardComponent{ Шайба }{ 1-6-10-ХИМ.ПАС-ОСТ134508-80 }{ 32 }
\PassportStandardComponent{ Шайба }{ 1-8-14-ХИМ.ПАС-ОСТ134508-80 }{ 320 }
\end{Passport}
\begin{JobSequencing}
\JobSequencingHeader{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}
\JobSequencingI{1}{BRM005}{qwerty}
\JobSequencingII{1}{1РУС}{}
\JobSequencingIII{1}{2}{}
\JobSequencingIV{1}{2}{}
\JobSequencingV{1}{2}{}
\JobSequencingVI{1}{2}{}
\JobSequencingVII{1}{2}{}
\JobSequencingVIII{1}{2}{qqq}
\JobSequencingIX{1}{2}{}
\JobSequencingX{1}{2}{}
\JobSequencingXI{1}{2}{}
\JobSequencingXII{1}{2}{}
\JobSequencingXIII{1}{2}{}
\JobSequencingXIV{1}{2}{}
\JobSequencingXV{1}{2}{}
\JobSequencingXVI{1}{2}{}
\JobSequencingXVII{1}{2}{}
\JobSequencingXVIII{1}{2}{}
\JobSequencingXIX{1}{2}{}
\JobSequencingXX{1}{2}{}
\JobSequencingXXI{1}{2}{}
\JobSequencingXXII{1}{2}{}
\JobSequencingXXIII{1}{2}{}
\JobSequencingXXIV{1}{2}{}
\JobSequencingXXV{1}{2}{}
\end{JobSequencing}
\end{document}

142
main2.tex

@ -0,0 +1,142 @@
\documentclass[a4paper]{td}
\newcommand{\Font}{GOSTA.ttf}
\newfontfamily\cyrillicfont{\Font}
\setmathfont{\Font}
\begin{document}
%\renewcommand{\Notation}{0-0000-1234-12345678}
\renewcommand{\Name}{Проверка названия}
\renewcommand{\CreatedBy}{Иванов И. П.}
%\renewcommand{\CheckedBy}{Сидоров Е. Е.}
\renewcommand{\TContrBy}{Петров А. Б.}
\renewcommand{\NContrBy}{Фролов В. Г.}
\renewcommand{\Color}{0000AA}
\Cover{Название изделия}{Код}{Номер чертежа}{ТЕХНОЛОГИЧЕСКИЙ ПРОЦЕСС}
\begin{WorkflowChart}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\pcOperLine{000}{00}{0}{000}{000 Qwerty}
\end{WorkflowChart}
\begin{RequirementsChart}
\reqHead{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqHead{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqHead{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqHead{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\reqLine{Qwerty}
\end{RequirementsChart}
\begin{RouteChart}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\routeOperLine{1}{4}{5}
\end{RouteChart}
\begin{Passport}
\PassportOper{1}{20\newline 222-222}{Операция}{12345678}
\PassportEmpty
\PassportComponent{Какая-то деталь}{}{2}
\PassportComponent{Какая-то другая деталь}{}{3}
\PassportEmpty
\PassportEmpty
\PassportEmpty
\PassportEmpty
\PassportOper{1}{222}{3dds ddsddsds dsdds 3dds ddsddsd dsdds 3dds ddwsddsd dsdds 3dds ddsddsd dsdds}{чертеж}
\PassportOper{12}{223\newline 222-222 }{3dds}{чертеж}
\PassportOper{1}{2}{3dds}{чертеж}
\PassportEmpty
\PassportComponent{000-000-000}{чертеж}{23}
\end{Passport}
\begin{JobSequencing}
4 & 015 & 22 & & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + &\\
04 & 015 & 22 & & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + &\\
04 & 015 & 22 & & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + &\\
04 & 015 & 22 & & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + &\\
04 & 015 & 22 & & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + &\\
04 & 015 & 22 & & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + &\\
04 & 015 & 22 & & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + &\\
04 & 015 & 22 & & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + &\\
04 & 015 & 22 & & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + &\\
04 & 015 & 22 & & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + &\\
04 & 015 & 22 & & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + & + &\\
\end{JobSequencing}
\end{document}

10425
resources/tech-proc.eps

File diff suppressed because one or more lines are too long

551
td.cls

@ -0,0 +1,551 @@
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesClass{td}[2013/11/22 v0.1 TD forms class]
% Passes and class options to the underlying article class
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass{article}
\RequirePackage{forms-quality}
\RequirePackage{forms-workflow}
\RequirePackage{forms-spec}
\RequirePackage{forms-complect}
\RequirePackage{forms-cover}
\RequirePackage{forms-passport}
\RequirePackage{forms-sequencing}
\RequirePackage{forms-workflow-title}
\RequirePackage{forms-passport-title}
\RequirePackage{forms-drawing}
\DeclareOption{draft}{\setlength{\overfullrule}{5pt}}
\ProcessOptions\relax
\RequirePackage[landscape]{geometry}
\RequirePackage{polyglossia}
\RequirePackage{xunicode}
\RequirePackage{xltxtra}
\RequirePackage{lastpage}
\RequirePackage{longtable}
\RequirePackage{wallpaper}
\RequirePackage{setspace}
\RequirePackage{eso-pic}
\RequirePackage{color}
\RequirePackage{everypage}
\RequirePackage{xcolor}
\RequirePackage{colortbl}
\RequirePackage{pdflscape}
\RequirePackage{etoolbox}
\RequirePackage{unicode-math}
\RequirePackage{pdfescape}
\RequirePackage{refcount}
\RequirePackage{everypage}
\RequirePackage{graphicx}
\RequirePackage{array}
\RequirePackage{adjustbox}
\setdefaultlanguage[spelling=modern]{russian}
\setotherlanguage{english}
\defaultfontfeatures{Mapping=tex-text}
\hyphenpenalty=10000
%\newcommand{\Font}{GOSTA.ttf} %GOST 2.304 type A
%\newcommand{\Font}{Courier New} %GOST 2.304 type A
\newcommand{\Color}{000000}
\newcommand\BackgroundPic{%
\put(835,32){%
\rotatebox{90}{\scriptsize \textcolor{gray}{Сделано в СПТД \copyright\ МАТИ, кафедра ТИАС, 2015}}
}}
\AtBeginShipout{%
{\AddToShipoutPictureBG*{\BackgroundPic}}%
}
\unitlength=1mm
\newcommand{\thick}{.5mm}
\def\clap#1{\hbox to 0pt{\hss#1\hss}}
\makeatletter
\newcommand\ifpageone{%
\ifnum\value{page}=1
% use only the first of two following arguments,
% \expandafter is necessary to let \@firstoftwo
% only act after \fi has been expanded:
\expandafter\@firstoftwo
\else
% use only the second of two following arguments
\expandafter\@secondoftwo
\fi}
\makeatother
\newcommand{\pagedifference}[2]{%
\number\numexpr\getpagerefnumber{#2}-\getpagerefnumber{#1}\relax}
\newcommand{\pagedifferencecurrnet}[1]{%
\makeatletter
\@tempcnta=-\getpagerefnumber{#1}\relax%
\advance\@tempcnta by \thepage%
% (maybe \advance\@tempcnta by -1, depending on definition of "between")
\xdef\pagedifferencecurrent{\the\@tempcnta}%
\makeatother}
\newcommand{\DocumentNumber}{}
%%% Операционная карта %%%
\newcommand{\hangg}{\hangindent.5cm\hangafter=1}
\newcommand{\pcEmptyLine}{& & & & & & & & & & & & & & & & & & \\}
\newcommand{\pcOperLine}[5]{A && \multicolumn{2}{p{1mm}}{#1} & #2 & #3 & \maxsizebox{1cm}{!}{#4} & #5 & & & & & & & & & & & \\}
\newcommand{\pcActLine}[1]{О &&& \multicolumn{16}{4}{#1} \\}
\newcommand{\pcActLineNum}[2]{О &&& \multicolumn{16}{x}{#1. #2} \\}
\newcommand{\pcToolLine}[1]{Т &&& \multicolumn{16}{4}{#1} \\}
\newcommand{\pcEquipLine}[6]{Б &&& \multicolumn{5}{p{111mm}}{#1} & & #4 & #5 & & #6 & & & & & #2 & #3 \\}
\newcommand{\pcEffortLine}[2]{ Б & & & & & & & & & & & & & & & & & #1 & #2\\}
\newcommand{\pcOperCommentLine}[1]{ &&& \multicolumn{16}{4}{#1} \\}
\newcommand{\pcActCommentLine}[1]{ &&& \multicolumn{16}{4}{#1} \\}
\newenvironment{WorkflowChart}
{\newgeometry{left=5.5mm,right=10mm,top=56.62mm,bottom=9mm}
\renewcommand{\Letter}{МК/ОК}
\newcolumntype{4}{>{\arraybackslash}p{257mm}}
\newcolumntype{x}{>{\hangg}p{257mm}}
\newcolumntype{1}{>{\raggedleft\arraybackslash}p{2.7mm}} % Метка
\newcolumntype{5}{>{\raggedleft\arraybackslash}p{2.2mm}}% Номер строки на листе
\newcolumntype{6}{>{\raggedleft\arraybackslash}p{0.5mm}} % Пустое место
\newcolumntype{7}{>{\centering\arraybackslash}p{2.0mm}} % Цех
\newcolumntype{8}{>{\centering\arraybackslash}p{6.3mm}} % Участок
\newcolumntype{9}{>{\centering\arraybackslash}p{6.5mm}} % РМ
\newcolumntype{a}{>{\centering\arraybackslash}p{9.4mm}} % Опер.
%\newcolumntype{a}{@{\extracolsep{2.5mm}}>{\centering\arraybackslash}p{9.4mm}} % Опер.
\newcolumntype{b}{>{\raggedright\arraybackslash}p{70.9mm}}% Код, наименование операции
\newcolumntype{c}{>{\centering\arraybackslash}p{6.6mm}} % СМ
\newcolumntype{d}{>{\centering\arraybackslash}p{15.5mm}}% Проф.
\newcolumntype{e}{>{\centering\arraybackslash}p{5.0mm}} % Р
\newcolumntype{f}{>{\centering\arraybackslash}p{9.0mm}} % УТ
\newcolumntype{g}{>{\centering\arraybackslash}p{6.5mm}} % КР
\newcolumntype{h}{>{\centering\arraybackslash}p{9.0mm}} % КОИД
\newcolumntype{i}{>{\centering\arraybackslash}p{9.0mm}} % ЕН
\newcolumntype{j}{>{\centering\arraybackslash}p{9.0mm}} % ОП
\newcolumntype{k}{>{\centering\arraybackslash}p{9.1mm}}% Кшт
\newcolumntype{2}{>{\centering\arraybackslash}p{13.8mm}}% Тпз
\newcolumntype{3}{>{\centering\arraybackslash}p{17.1mm}} % Тшт
\AddToShipoutPicture{\pcFormTwoFirstPage}
\AddToShipoutPicture{\ClearShipoutPicture\AddToShipoutPicture{\pcFormOnebOtherPage}}
\label{FirstOfWorkFlowChart}
\begin{longtable}{156789abcdefghijk23}\pcEmptyLine}
{\end{longtable}\label{LastOfWorkFlowChart}\clearpage\ClearShipoutPicture}
\newcommand{\QualityHead}[6]{#1 & #2 & #3 & #4 & #5 & #6 &\\}
\newcommand{\QualityPar}[4]{ & & #1 & #2 & #3 & #4 &\\}
\newcommand{\qpm}[3]{$#1^{#2}_{#3}$}
\newenvironment{QualityControl}
{\newgeometry{left=5.5mm,right=10mm,top=61mm,bottom=25mm}
\AddToShipoutPicture{\QualityToFiveOneSixPage}
\newcolumntype{a}{>{\centering\arraybackslash}p{5mm}} % Номер участка
\newcolumntype{b}{>{\centering\arraybackslash}p{15mm}}% Номер операции
\newcolumntype{c}{>{\raggedright\arraybackslash}p{70mm}} % ЧТО ПРОВЕРЯЕТСЯ
\newcolumntype{d}{>{\centering\arraybackslash}p{24mm}} % Индивид.
\newcolumntype{e}{>{\centering\arraybackslash}p{28mm}} % по чертежу или ТУ
\newcolumntype{f}{>{\raggedleft\arraybackslash}p{28mm}} % фактические
\newcolumntype{g}{>{\centering\arraybackslash}p{88mm}} % остальное
\begin{longtable}{abcdefg}}
{\end{longtable}\clearpage\ClearShipoutPicture}
%%% Паспорт %%%
\newcommand{\PassportOperation}[6]{#1 & #2 \newline #3 \hexlabel{#6} & #4 & #5 & & &\\}
\newcommand{\PassportComponent}[3]{ & & #1 & \maxsizebox{2.9cm}{!}{#2} & #3 & &\\}
\newcommand{\PassportStandardComponent}[3]{ & & & \maxsizebox{2.9cm}{!}{#1 #2} & #3 & &\\}
\newcommand{\PassportEmptyLine}{& & & & & &\\}
\newenvironment{Passport}
{\newgeometry{left=5.5mm,right=10mm,top=52mm,bottom=26mm}
\AddToShipoutPicture{\PassportToFiveFourZeroPage}
\linespread{1.69}\selectfont
\newcolumntype{a}{>{\centering\arraybackslash}p{5mm}} % Номер участка
\newcolumntype{b}{>{\centering\arraybackslash}p{15mm}}% Номер операции
\newcolumntype{c}{>{\raggedright\arraybackslash}p{48mm}}
\newcolumntype{d}{>{\centering\arraybackslash}p{28.5mm}}
\newcolumntype{e}{>{\centering\arraybackslash}p{6mm}}
\newcolumntype{f}{>{\raggedleft\arraybackslash}p{28.5mm}}
\newcolumntype{g}{>{\centering\arraybackslash}p{127mm}}
\begin{longtable}{abcdefg}}
{\end{longtable}\clearpage\ClearShipoutPicture}
\makeatletter
\newcommand*{\make@hex@label}[1]{%
\def\hex@label{#1}%
\@onelevel@sanitize\hex@label
\EdefEscapeHex\hex@label{\hex@label}%
}
\newcommand*{\hexlabel}[1]{%
\@bsphack
\make@hex@label{#1}%
\label{\hex@label}%
\@esphack
}
\newcommand*{\hexref}[1]{%
\make@hex@label{#1}%
\ref{\hex@label}%
}
\newcommand*{\hexpageref}[1]{%
\make@hex@label{#1}%
\pageref{\hex@label}%
}
\makeatother
\newcommand{\tabincell}[2]{\begin{tabular}{@{}#1@{}}#2\end{tabular}}
\pagestyle{empty}
% subscript и superscript в text mode
\newcommand{\tsup}[1]{\ensuremath{^{\textrm\footnotesize{#1}}}}
\newcommand{\tsub}[1]{\ensuremath{_{\textrm{\footnotesize{#1}}}}}
% Получить номера страниц (http://timmurphy.org/2010/03/10/getting-the-current-and-last-page-numbers-in-latex/)
\newcounter{exno}
%\newcommand{\vstrut}{\parbox[c][8.4mm][c]{0cm}{}} % Вертикальная распорка, держит высоту строки таблицы
%\newsavebox\topalignbox
\setlength\parindent{0pt}
\renewcommand{\tabcolsep}{2mm}
\renewcommand{\baselinestretch}{2.015}
\def\clap#1{\hbox to 0pt{\hss#1\hss}}
\newcommand{\Undefined}{\color{red}{\NoPar}}
\newcommand{\NoPar}{\color{red}{PAR?}}
\newcommand{\Name}{}
\newcommand{\Notation}{}
\newcommand{\CreatedBy}{}
\newcommand{\CheckedBy}{}
\newcommand{\TContrBy}{}
\newcommand{\NContrBy}{}
\newcommand{\SpecEmptyMy}{&&&&&\\}
\newcommand{\SpecLine}[4]{A4 & & #1 & \raggedright#2 & \raggedright#3 & #4 \\}
\newcommand{\MakeHead}[1]{\SpecEmptyMy &&&& \underline{#1} &\\ \SpecEmptyMy}
\newcommand{\SpecDoc}{\MakeHead{Документация}}
\newcommand{\SpecComplex}{\MakeHead{Комплексы}}
\newcommand{\SpecAssemblies}{\MakeHead{Сборочные единицы}}
\newcommand{\SpecDetails}{\MakeHead{Детали}}
\newcommand{\SpecStd}{\MakeHead{Стандартные изделия}}
\newcommand{\SpecOther}{\MakeHead{Прочие изделия}}
\newcommand{\SpecMaterials}{\MakeHead{Материалы}}
\newcommand{\SpecComplects}{\MakeHead{Комплекты}}
\newcommand{\Letter}{\Undefined}
\BeforeBeginEnvironment{ConstrSpec}{
\eject \pdfpagewidth=210mm \pdfpageheight=297mm
\setlength{\paperheight}{297mm}
\setlength{\paperwidth}{210mm}}
\BeforeBeginEnvironment{QualityControl}{
\eject \pdfpagewidth=297mm \pdfpageheight=210mm
\setlength{\paperheight}{210mm}
\setlength{\paperwidth}{297mm}}
\BeforeBeginEnvironment{WorkflowChart}{
\eject \pdfpagewidth=297mm \pdfpageheight=210mm
\setlength{\paperheight}{210mm}
\setlength{\paperwidth}{297mm}}
\BeforeBeginEnvironment{ComplectChart}{
\eject \pdfpagewidth=297mm \pdfpageheight=210mm
\setlength{\paperheight}{210mm}
\setlength{\paperwidth}{297mm}}
\newenvironment{ConstrSpec}
{\linespread{1.965}\selectfont
\newgeometry{left=-88mm,right=5mm,top=20mm,bottom=-45mm}
\AddToShipoutPicture{\SpecFirstPage}
\newcolumntype{a}{>{\centering\arraybackslash}p{2.5mm}}
\newcolumntype{b}{>{\centering\arraybackslash}p{2.5mm}}
\newcolumntype{c}{>{\centering\arraybackslash}p{3.5mm}}
\newcolumntype{d}{>{\centering\arraybackslash}p{66mm}}
\newcolumntype{e}{>{\centering\arraybackslash}p{59mm}}
\newcolumntype{f}{>{\centering\arraybackslash}p{6mm}}
\begin{longtable}{abcdef}}
{\end{longtable}\clearpage\ClearShipoutPicture}
%%% Комплектовочная карта %%%
\newcommand{\ComponentsListComponent}[8]{ К & & #1 & & & \maxsizebox{1cm}{!}{#2} & #3 & #4 & #5 & #6 & #7 & & #8 & \\}
\newcommand{\ComponentsListStandardComponent}[8]{ К & & #1 & & & \maxsizebox{1cm}{!}{#2} & #3 & & #4 #5 & #6 & #7 & & #8 & \\}
\newcommand{\ComponentsListMaterial}[8]{ М & & #1 & & & \maxsizebox{1cm}{!}{#2} & #3 & & #4 #5 & #6 & #7 & & & #8 \\}
\newcommand{\ComponentsListEmptyLine}{ & & & & & & & & & & & & & \\}
\newenvironment{ComponentsList}
{\newgeometry{left=5.5mm,right=10mm,top=52mm,bottom=9mm}
\newcolumntype{a}{>{\raggedleft\arraybackslash}p{2.7mm}} % Метка
\newcolumntype{b}{>{\raggedleft\arraybackslash}p{2.3mm}}% Номер строки на листе
\newcolumntype{d}{>{\centering\arraybackslash}p{6mm}} % Цех
\newcolumntype{e}{>{\centering\arraybackslash}p{6.3mm}} % Участок
\newcolumntype{f}{>{\centering\arraybackslash}p{6.5mm}} % РМ
\newcolumntype{g}{>{\centering\arraybackslash}p{9.4mm}} % Опер.
\newcolumntype{h}{>{\centering\arraybackslash}p{6.3mm}}% Поз
\newcolumntype{i}{>{\raggedright\arraybackslash}p{73.7mm}} % Наименование
\newcolumntype{j}{>{\raggedright\arraybackslash}p{56mm}}% Обозначение ДСЕ
\newcolumntype{k}{>{\centering\arraybackslash}p{9.5mm}} % ОПП
\newcolumntype{l}{>{\centering\arraybackslash}p{6.0mm}} % ЕВ
\newcolumntype{m}{>{\centering\arraybackslash}p{9mm}} % ЕН
\newcolumntype{n}{>{\centering\arraybackslash}p{14mm}} % КИ
\newcolumntype{o}{>{\centering\arraybackslash}p{22.0mm}} % Н. расх
\AddToShipoutPicture{\ccFormSevenFirstPage}
\AddToShipoutPicture{\ClearShipoutPicture\AddToShipoutPicture{\ccFormSevenaOtherPage}}
\begin{longtable}{abdefghijklmno}\ComponentsListEmptyLine}
{\end{longtable}\clearpage\ClearShipoutPicture}
\newcommand{\reqEmptyLine}{ \\}
\newcommand{\reqLine}[1]{ #1 \\}
\newcommand{\reqLineNum}[2]{ \multicolumn{1}{x}{#1. #2} \\}
\newcommand{\reqHead}[1]{ \multicolumn{1}{c}{\large{#1}} \\}
\newenvironment{RequirementsChart}
{\newgeometry{left=18mm,right=10mm,top=56.62mm,bottom=9mm}
\renewcommand{\Letter}{МК/КТТБ}
\newcolumntype{x}{>{\hangg\raggedright\arraybackslash}p{268mm}}
\newcolumntype{z}{>{\raggedright\arraybackslash}p{268mm}}
\AddToShipoutPicture{\pcFormTwoFirstPage}
\AddToShipoutPicture{\ClearShipoutPicture\AddToShipoutPicture{\pcFormOnebOtherPage}}
\begin{longtable}{z}\reqEmptyLine}
{\end{longtable}\clearpage\ClearShipoutPicture}
%%% Маршрутная карта %%%
\newcommand{\MethodsSheetEmptyLine}{& & & & & & & & & & & & & & & & & & \\}
\newcommand{\MethodsSheetOperationLine}[4]{A && \multicolumn{2}{p{1mm}}{#1} & #2 & & \maxsizebox{1cm}{!}{#3} & #4 & & & & & & & & & & & \\}
\newenvironment{MethodsSheet}
{\newgeometry{left=5.5mm,right=10mm,top=56.62mm,bottom=9mm}
\renewcommand{\Letter}{МК}
\newcolumntype{4}{>{\arraybackslash}p{257mm}}
\newcolumntype{1}{>{\raggedleft\arraybackslash}p{2.7mm}} % Метка
\newcolumntype{5}{>{\raggedleft\arraybackslash}p{2.2mm}}% Номер строки на листе
\newcolumntype{6}{>{\raggedleft\arraybackslash}p{0.5mm}} % Пустое место
\newcolumntype{7}{>{\centering\arraybackslash}p{2.0mm}} % Цех
\newcolumntype{8}{>{\centering\arraybackslash}p{6.3mm}} % Участок
\newcolumntype{9}{>{\centering\arraybackslash}p{6.5mm}} % РМ
\newcolumntype{a}{>{\centering\arraybackslash}p{9.4mm}} % Опер.
%\newcolumntype{a}{@{\extracolsep{2.5mm}}>{\centering\arraybackslash}p{9.4mm}} % Опер.
\newcolumntype{b}{>{\raggedright\arraybackslash}p{70.9mm}}% Код, наименование операции
\newcolumntype{c}{>{\centering\arraybackslash}p{6.6mm}} % СМ
\newcolumntype{d}{>{\centering\arraybackslash}p{15.5mm}}% Проф.
\newcolumntype{e}{>{\centering\arraybackslash}p{5.0mm}} % Р
\newcolumntype{f}{>{\centering\arraybackslash}p{9.0mm}} % УТ
\newcolumntype{g}{>{\centering\arraybackslash}p{6.5mm}} % КР
\newcolumntype{h}{>{\centering\arraybackslash}p{9.0mm}} % КОИД
\newcolumntype{i}{>{\centering\arraybackslash}p{9.0mm}} % ЕН
\newcolumntype{j}{>{\centering\arraybackslash}p{9.0mm}} % ОП
\newcolumntype{k}{>{\centering\arraybackslash}p{9.1mm}}% Кшт
\newcolumntype{2}{>{\centering\arraybackslash}p{13.8mm}}% Тпз
\newcolumntype{3}{>{\centering\arraybackslash}p{17.1mm}} % Тшт
\AddToShipoutPicture{\pcFormTwoFirstPage}
\AddToShipoutPicture{\ClearShipoutPicture\AddToShipoutPicture{\pcFormOnebOtherPage}}
\begin{longtable}{156789abcdefghijk23}\pcEmptyLine}
{\end{longtable}\clearpage\ClearShipoutPicture}
\newcommand{\JobSequencingEmptyLine}{&&&&&&&&&&&&&&&&&&&&&&&&&&&&&\\}
\newcommand\JobSequencingHeader[9]{%
\gdef\tempa{#1}%
\gdef\tempb{#2}%
\gdef\tempc{#3}%
\gdef\tempd{#4}%
\gdef\tempe{#5}%
\gdef\tempf{#6}%
\gdef\tempg{#7}%
\gdef\temph{#8}%
\gdef\tempi{#9}%
\JobSequencingHeaderNext
}
\newcommand\JobSequencingHeaderNext[9]{%
\gdef\tempj{#1}%
\gdef\tempk{#2}%
\gdef\templ{#3}%
\gdef\tempm{#4}%
\gdef\tempn{#5}%
\gdef\tempo{#6}%
\gdef\tempp{#7}%
\gdef\tempq{#8}%
\gdef\tempr{#9}%
\JobSequencingHeaderContinued
}
\newcommand\JobSequencingHeaderContinued[7]{%
&&&& \mbox{\tempa} &
\mbox{\tempb} &
\mbox{\tempc} &
\mbox{\tempd} &
\mbox{\tempe} &
\mbox{\tempf} &
\mbox{\tempg} &
\mbox{\temph} &
\mbox{\tempi} &
\mbox{\tempj} &
\mbox{\tempk} &
\mbox{\templ} &
\mbox{\tempm} &
\mbox{\tempn} &
\mbox{\tempo} &
\mbox{\tempp} &
\mbox{\tempq} &
\mbox{\tempr} &
\mbox{#1}&
\mbox{#2}&
\mbox{#3}&
\mbox{#4}&
\mbox{#5}&
\mbox{#6}&
\mbox{#7}&\\
}
\newcommand{\JobSequencingI}[3]{#1&\maxsizebox{.6cm}{!}{\maxsizebox{.6cm}{!}{#2}}&\hexpageref{#3}&&\Plus&&&&&&&&&&&&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingII}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&\Plus&&&&&&&&&&&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingIII}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&\Plus&&&&&&&&&&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingIV}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&\Plus&&&&&&&&&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingV}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&\Plus&&&&&&&&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingVI}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&\Plus&&&&&&&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingVII}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&\Plus&&&&&&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingVIII}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&\Plus&&&&&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingIX}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&\Plus&&&&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingX}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&\Plus&&&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingXI}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&\Plus&&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingXII}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&\Plus&&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingXIII}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&\Plus&&&&&&&&&&&&&\\}
\newcommand{\JobSequencingXIV}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&\Plus&&&&&&&&&&&&\\}
\newcommand{\JobSequencingXV}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&&\Plus&&&&&&&&&&&\\}
\newcommand{\JobSequencingXVI}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&&&\Plus&&&&&&&&&&\\}
\newcommand{\JobSequencingXVII}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&&&&\Plus&&&&&&&&&\\}
\newcommand{\JobSequencingXVIII}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&&&&&\Plus&&&&&&&&\\}
\newcommand{\JobSequencingXIX}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&&&&&&\Plus&&&&&&&\\}
\newcommand{\JobSequencingXX}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&&&&&&&\Plus&&&&&&\\}
\newcommand{\JobSequencingXXI}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&&&&&&&&\Plus&&&&&\\}
\newcommand{\JobSequencingXXII}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&&&&&&&&&\Plus&&&&\\}
\newcommand{\JobSequencingXXIII}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&&&&&&&&&&\Plus&&&\\}
\newcommand{\JobSequencingXXIV}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&&&&&&&&&&&\Plus&&\\}
\newcommand{\JobSequencingXXV}[3]{#1&\maxsizebox{.6cm}{!}{#2}&\hexpageref{#3}&&&&&&&&&&&&&&&&&&&&&&&&&&\Plus&\\}
\newcommand{\Plus}{\Large{+}}
\newenvironment{JobSequencing}
{\newgeometry{left=5.5mm,right=10mm,top=50mm,bottom=25mm}
\AddToShipoutPicture{\JobSequencingToFiveZeroThreePage}
\linespread{1.625}\selectfont
\newcolumntype{a}{>{\centering\arraybackslash}p{5mm}} % Номер участка
\newcolumntype{b}{>{\centering\arraybackslash}p{5mm}}% Номер операции
\newcolumntype{c}{>{\centering\arraybackslash}p{5mm}} % Стр
\newcolumntype{d}{>{\centering\arraybackslash}p{8mm}} % Действ
\newcolumntype{e}{>{\centering\arraybackslash}p{2.85mm}} % Плюс
\newcolumntype{f}{>{\centering\arraybackslash}p{72mm}} % остальное
\begin{longtable}{abcdeeeeeeeeeeeeeeeeeeeeeeeeef}}
{\end{longtable}\clearpage\ClearShipoutPicture}
\newcommand{\WorkflowTitlePage}[5]%
{\AddToShipoutPicture{\WorkflowTitle}
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(129,-8.5){\clap{\large{#1}}}
\put(137,-19){\clap{\large{#2}}}
\put(109,-92){\clap{\Large{#3}}}
\put(109,-114){\clap{\Large{#4}}}
\put(224,-8.5){\clap{\large{#5}}}
\end{picture}
\clearpage\ClearShipoutPicture}
\newcommand{\PassportTitlePage}[5]%
{\AddToShipoutPicture{\PassportTitle}
\begin{picture}(0,10)
\color[HTML]{\Color}
\put(109,-116){\clap{\Large{#1}}}
\put(109,-92){\clap{\Large{#2}}}
\put(109,-68){\clap{\Large{#3}}}
%\put(114,-88){\clap{\Large{#4}}}
%\put(109,-8.5){\clap{\large{#5}}}
\end{picture}
\clearpage\ClearShipoutPicture}
\newcommand{\Operation}{\Undefined}
\newcommand{\DrawingSheet}[2]%
{\AddToShipoutPicture{\DrawingSheetFirstPage}
\newgeometry{left=5.5mm,right=10mm,top=56.62mm,bottom=9mm}
\renewcommand{\Letter}{КЭ}
\renewcommand{\Operation}{#2}
\begin{figure}
\centering
\color[HTML]{\Color}
\edef\tmp{\noexpand\includegraphics[width=0.5\linewidth]{#1}}\tmp
\end{figure}
\clearpage\ClearShipoutPicture}
\endinput

BIN
ГОСТ тип А наклонный.ttf

Binary file not shown.
Loading…
Cancel
Save