% Example of a TeX file, including a definition and usage % of a macro. % % The following macro, 'nicename', skips down by 'bigskip', % then skips horizontally 2 cm from the margin, % and writes the name in boldface letters. % Then it skips down by 'smallskip'. \def\nicename#1{\bigskip \hskip 2cm \bf #1\smallskip} % Now I will use the macro in creating a list of names. \nicename{Avraham} He is father number 1. \nicename{Yitshak} He is father number 2. \nicename{Yaacov} He is father number 3.\par % \par denotes a new paragraph. % It can be used instead of leaving % a blank line. \nicename{yosef} \bye