% Welcome to openmp-examples.tex. % This is the master LaTex file for the OpenMP Examples document. % % The files in this set include: % % openmp-examples.tex - this file, the master file % Makefile - makes the document % openmp.sty - the main style file % Title_Page.tex - the title page % openmplogo.png - the logo % Introduction_Chapt.tex - unnumbered introductory chapter % Examples_Chapt.tex - unnumbered chapter % Examples_Sects.tex - examples % sources/*.c, *.f - C/C++/Fortran example source files % % When editing this file: % % 1. To change formatting, appearance, or style, please edit openmp.sty. % % 2. Custom commands and macros are defined in openmp.sty. % % 3. Be kind to other editors -- keep a consistent style by copying-and-pasting to % create new content. % % 4. We use semantic markup, e.g. (see openmp.sty for a full list): % \code{} % for bold monospace keywords, code, operators, etc. % \plc{} % for italic placeholder names, grammar, etc. % % 5. Other recommendations: % Use the convenience macros defined in openmp.sty for the minor headers % such as Comments, Syntax, etc. % % To keep items together on the same page, prefer the use of % \begin{samepage}.... Avoid \parbox for text blocks as it interrupts line numbering. % When possible, avoid \filbreak, \pagebreak, \newpage, \clearpage unless that's % what you mean. Use \needspace{} cautiously for troublesome paragraphs. % % Avoid absolute lengths and measures in this file; use relative units when possible. % Vertical space can be relative to \baselineskip or ex units. Horizontal space % can be relative to \linewidth or em units. % % Prefer \emph{} to italicize terminology, e.g.: % This is a \emph{definition}, not a placeholder. % This is a \plc{var-name}. % % The following says letter size, but the style sheet may change the size \documentclass[10pt,letterpaper,twoside,makeidx,hidelinks]{scrreprt} % Text to appear in the footer on even-numbered pages: \newcommand{\VER}{5.0.0} \newcommand{\PVER}{\VER{}p1} \newcommand{\VERDATE}{February 2018} \newcommand{\footerText}{OpenMP Examples Version \PVER{} - \VERDATE} % Unified style sheet for OpenMP documents: \input{openmp.sty} \begin{document} \pagenumbering{roman} \setcounter{page}{0} \setcounter{tocdepth}{2} % Uncomment the next line to enable line numbering on the main body text: \linenumbers\pagewiselinenumbers \newpage\pagenumbering{arabic} \setcounter{chapter}{0} % start chapter numbering here % \input{Chap_Single} \input{Example} %\setcounter{chapter}{0} % restart chapter numbering with "letter A" %\renewcommand{\thechapter}{\Alph{chapter}}% %\appendix %\input{History} \end{document}