% [FORM-PLAIN.tex]  

%      This a form that I have created over the years. Users will want to 
%      make adjustments, especially to dimensions. Note in particular that 
%      \pdfpageheight and \pdfpagewidth, as well as \hsize, \vsize and the 
%      PSTRICKS form (after \bye) are given in inches.   The reason for this
%      is that the paper that I use is   "8.5 in x 11.0 in" ("letter").  Other 
%      measurements are in cm and points.
%
%    Because this is a presentation form I have added explanations. The
%    symbol !! indicates that this is a dimension etc. that you should 
%    consider changing.

%%%%%%%%%%%%%%%%   XETEX INPUTS    %%%%%%%%%%%%%

%  these macro files are explained in more detail at the top of each file
%  here I  give  a brief indication of the content.

\input format_XETEX.mac 
              %  spacing, special symbols ...

\input unicode_latin.mac
               % French and German accented letters

\input macros.mac
            % information boxes, special formats

\input ancestors.mac
             % abbreviations used in my genealogical texts

\input additional.mac   
             % \printdate + \raggedleft (for right to left)

\input petr_olsak.mac
              % Petr Olsak's collection of pure Tex macros for:
              %  tables, marginal notes, footnotes, multiple columns etc.
              % see after \bye below for the footnote commands

\input my_fonts.mac  
              %  different fonts at various sizes; e.g \bftwenty
              %  NOTE:  [my_fonts.mac] must be placed AFTER [petr_olsak.mac]  
              %       as the latter redefines \rm. 
              
\input pstricks  
\input epsf        
              % PSTRICKS is used for importing images (there is a form after \bye)
              % see [images-colour-marginal-notes.tex] for the use of these inputs
              % the shell file [photos2eps] (in the directory SHELL_FILES) will convert
              %     all your .jpg and .png files to .eps

\input color   %  a copy, downloaded from github.com, is included with this package
                      % it allows typesetting text in colour via \definecolor \textcolor and \colorbox
                      % [see  also the graph­ics-pln" package  at CTAN]
                      %  colour can also be obtained via  [petr_olsak.mac], section 8 and
                      %  PSTRICKS

%  TEXSIS   This package is available at CTAN.
%                Preliminary testing  shows that that this is compatible with the above
%                commands  here. Double columns and twin page out appear to work. 
%                There are commands for tables etc.
                   
% EPLAIN  is another powerful package (hyperlinks, multiple columns etc.)
%               for PLAIN TEX. Unfortunately it appears to conflict with the
%               above inputs (I suspect with \input pstricks)

%%%%%%%%%%%%%%%%    END  XETEX INPUTS    %%%%%%%%%%%%%

%%%%%%%%%%%%%%%%    VARIOUS COMMANDS    %%%%%%%%%%%%%

\topglue  0pt       
\topskip  18pt      

\overfullrule=0pt
\tracingoutput  = 0   % file - minimum information ( =1  for full)
\tracingonline  = 0   % screen - minimum information ( =1  for full

%%%%%%%%%%%%%%%%   END  VARIOUS COMMANDS    %%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%    DIMENSIONS    %%%%%%%%%%%%%
\pdfpageheight=11truein   % !!      % these are xetex commands
\pdfpagewidth= 8.5truein   %!!       % presently set for "letter" size

\vsize =  8.50 in       %!!  
{\hsize = 5.94 in      %!!

\voffset = 0.5 truecm   %!!
\hoffset = 0.70truecm    %!!

\baselineskip = 14pt    % default = 12pt!!

%%%%%%%%%%%%%%%%%   END DIMENSIONS    %%%%%%%%%%%%%

%%%%%%%%%%%    FOOTER & HEADER          %%%%%%%%%%%%%%%%%

%         =======> 3 CHANGES TO MAKE   <=========

 \nopagenumbers
 
                 % 2000 was chosen so that I will notice and change
                 %       in final versions
 \pageno = 2000    %   3 CHANGES TO MAKE 

 %  this  footer puts a page number in bold at the bottom of each page, EXCEPT FIRST
 \footline =  {      % THE FOOTLINE MATERIAL IS IN ENCLOSED IN {}  
                       \ifnum \pageno = 2000  % do nothing  <== keep with false #      
                                    \else  
                                   {\centerline{\bf \folio}}  % centerline closes here for page #
                       \fi   % this  matches \ifnum	
                   } 	   
 %
                                  %           NO DATES HERE,  ONLY IN TITLE
\headline =  {% THE FOOTLINE MATERIAL IS IN ENCLOSED IN {} 
                     \centerline{    % CAN NOT PUT \CENTERLINE AFTER ELSE,  FOULS UP!
                               \ifnum \pageno = 2000  % do nothing  <== keep with false #      
                      	            \else   
                                       {\bfthirteen +++++++++++}
                                \fi % THIS  MATCHES \IFNUM
                                   }   %THIS MATCHS CENTERLINE
                }   % THIS MATCHES { WITH \FOOTLINE  

%%%%%%%%%%%%%%%%%%%%  END FOOTER AND  HEADER  %%%%%%%%%%%%%%%%%%%%% 
%
% %%%%%%%%%%%%%%%%%%%%  TEXT STARTS % %%%%%%%%%%%%%%%%%%%% 
%
 {\rm   %  !! 12.5pt  I like a larger font, defined in [my_fonts.mac]
%
% 
{\verysmall . } % !! 0.1pt  used to move  text up via \vskip -20pt\nin  !!
%
\vskip -20pt\nin     % \nin = \noindent, see [format_XETEX.mac]
%
\centerline{\bftwenty ++}  %  defined in [my_fonts.mac]
%
\mni    % \medskip\noindent  see [format_XETEX.mac]
%

%%%%%%%%%%%%%%%%%%%%%%%%%%%
	      % KEEP THIS ENDING!!!   had when needed headers
\vfill\eject 
%%
            }  %  ends roman
	    \par} % ends \hsize
	    \bye
	    
%%%%%%%%%%%%%%%  FORMS %%%%%%%%%%%%%%%%
%   
% PSTRICKS FORM	  
	  \centerline{\epsfxsize = 6.5truein\epsfbox{*.eps}}
\vskip 4 truept
          \centerline{}
%
\vskip 0.7cm\nin 
%
% FOOTNOTES FORM: section 14 of [petr_olsak.mac]
%  \fnotemark{*.}  next to the text
%  \fnotetext{*} place somewhere after location of \fnotemark
%  it may require two runs to complete


	    
	   
