My LaTeX Style Guide/Techniques: Benjamin-Newton Overview

Main Content of This Page Starts Here

All of these techniques are purely LaTeX for pdftex or xetex compiler. You can use these techniques freely, as long as you don't copy my general site designs. I got most of them or parts of them from other places as well.

Print/Interactive PDF Version of Book

I got this from somewhere else but developed my own implementation


\makeindex
\documentclass[10pt,twoside]{book}
\usepackage{calc}
\usepackage[papersize={6in,9in},margin={1.1in}]{geometry}
\setlength{\marginparwidth}{.7in}
\setlength{\marginparpush}{.2in}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[CE]{Book Title}  
\fancyhead[CO]{\thesection}
\fancyfoot[RE,LO]{\thepage}
\usepackage{ragged2e}
\setlength{\RaggedRightParindent}{.3in}
\RaggedRight
\usepackage{graphicx}
\usepackage[pdftex]{color}
\usepackage{newcent}
\usepackage[colorlinks=true,urlcolor=black,linkcolor=black,bookmarksnumbered=true]{hyperref}
\hypersetup{
pdfauthor = {Ben Huot},
pdftitle = {Book Title},
pdfsubject = {book subject},
pdfkeywords = {keywords separated by commas} }
\begin{document}
\title{Book Title}
\author{Ben Huot}
\date{\today}
\maketitle

\clearpage
\tableofcontents
\clearpage


\clearpage
\begin{center}
\chapter{First Things}
by Ben Huot
\end{center}
\clearpage

\section{Logo}

\includegraphics[scale=0.35]{penbible.pdf}

\section{For More Information}

For more books and information, visit me on the web at
\url{https://benjamin-newton.com/}

Feel free to send me e-mail regarding the books and website at
\url{mailto:ben@benjamin-newton.com} I even enjoy constructive criticism

\section{Cover Graphic}

\includegraphics[scale=0.35]{cover-vector-graphic.pdf}

\section{License}

\par This entire PDF is licensed together under a Creative Commons Attribution-No Derivative Works 3.0 United States License as a whole, and nothing is to be separated, added on to, or modified in any manner.
\par Clarification on what no derivatives means:
\par No changes may be made in any way including but not limited to:
\par the material content and design must be copied as a whole (everything contained in this pdf file)
\begin{enumerate}
  \item  with nothing added
  \item  without anything taken away
\end{enumerate}

\par must be kept in its original form with no additions or subtractions to

\begin{enumerate}
  \item  file formats
  \item  HTML and CSS code
  \item  PDF files 
  \item  graphics and movies
  \item  sounds, music, and spoken word
  \item  interactivity and flash
  \item  file and directory structure
  \item  filenames and directory names
  \item  links
  \item  distribution method
\end{enumerate}

Large Print/Interactive PDF Version of Book

I got this from somewhere else but developed my own implementation


\makeindex
\documentclass[12pt,twoside]{book}
\usepackage{calc}
\usepackage[papersize={8.5in,11in},margin={1.1in}]{geometry}
\setlength{\marginparwidth}{.7in}
\setlength{\marginparpush}{.2in}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[CE]{Book Title: Large Print Edition}  
\fancyhead[CO]{\thesection}
\fancyfoot[RE,LO]{\thepage}
\usepackage{ragged2e}
\setlength{\RaggedRightParindent}{.3in}
\RaggedRight
\usepackage{scalefnt}
\usepackage{titlesec}
\titleformat{\section}{\Huge\bfseries}{\thesection}{1em}{}
\titleformat{\subsection}{\Huge\bfseries}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\Huge\bfseries}{\thesubsubsection}{1em}{}
\usepackage{graphicx}
\usepackage[pdftex]{color}
\usepackage{newcent}
\usepackage[colorlinks=true,urlcolor=black,linkcolor=black,bookmarksnumbered=true]{hyperref}
\hypersetup{
pdfauthor = {Ben Huot},
pdftitle = {Book Title: Large Print Edition},
pdfsubject = {book subject},
pdfkeywords = {keywords separated by commas}}
\begin{document}
\scalefont{1.5}
\title{Book Title: Large Print Edition}
\author{Ben Huot}
\date{\today}
\maketitle
\clearpage
\tableofcontents


\clearpage
\begin{center}
\chapter{First Things}
by Ben Huot
\end{center}
\clearpage

\section{Logo}

\includegraphics[scale=0.35]{penbible.pdf}

\section{For More Information}

For more books and information, visit me on the web at
\url{https://benjamin-newton.com/}

Feel free to send me e-mail regarding the books and website at
\url{mailto:ben@benjamin-newton.com} I even enjoy constructive criticism

\section{Cover Graphic}

\includegraphics[scale=0.35]{cover-vector-graphic.pdf}

\section{License}

\par This entire PDF is licensed together under a Creative Commons Attribution-No Derivative Works 3.0 United States License as a whole, and nothing is to be separated, added on to, or modified in any manner.
\par Clarification on what no derivatives means:
\par No changes may be made in any way including but not limited to:
\par the material content and design must be copied as a whole (everything contained in this pdf file)
\begin{enumerate}
  \item  with nothing added
  \item  without anything taken away
\end{enumerate}

\par must be kept in its original form with no additions or subtractions to

\begin{enumerate}
  \item  file formats
  \item  HTML and CSS code
  \item  PDF files 
  \item  graphics and movies
  \item  sounds, music, and spoken word
  \item  interactivity and flash
  \item  file and directory structure
  \item  filenames and directory names
  \item  links
  \item  distribution method
\end{enumerate}

Online Version of Book

I came up withy this all by myself

  • (LaTeX) to Convert to OpenOffice.org (Open Document)
  • then to DAISY Pipeline (Daisy XML)
  • then XHTML then to Calibre (ePub)

\makeindex
\documentclass[10pt,twoside]{book}
\begin{document}
\title{Book Title}
\author{Ben Huot}
\date{\today}
\maketitle
\clearpage
\tableofcontents

\clearpage
\begin{center}
\chapter{First Things}
by Ben Huot
\end{center}
\clearpage

\section{Logo}

\section{For More Information}

For more books and information, visit me on the web at
\url{https://benjamin-newton.com/}

Feel free to send me e-mail regarding the books and website at
\url{mailto:ben@benjamin-newton.com} I even enjoy constructive criticism

\section{Cover Graphic}

\section{License}

\par This entire PDF is licensed together under a Creative Commons Attribution-No Derivative Works 3.0 United States License as a whole, and nothing is to be separated, added on to, or modified in any manner.
\par Clarification on what no derivatives means:
\par No changes may be made in any way including but not limited to:
\par the material content and design must be copied as a whole (everything contained in this pdf file)
\begin{enumerate}
  \item  with nothing added
  \item  without anything taken away
\end{enumerate}

\par must be kept in its original form with no additions or subtractions to

\begin{enumerate}
  \item  file formats
  \item  HTML and CSS code
  \item  PDF files 
  \item  graphics and movies
  \item  sounds, music, and spoken word
  \item  interactivity and flash
  \item  file and directory structure
  \item  filenames and directory names
  \item  links
  \item  distribution method
\end{enumerate}

\section{Celebrating 15 Years}

\clearpage
\begin{center}
\chapter{Introductions About Me}
by Ben Huot
\end{center}
\clearpage

My New Website

Benjamin-Newton.com by Ben Huot

All Material Copyright 1998-Present unless otherwise stated.

Privacy Policy plus More User Rights now on its own page.

Jump to Top

For Automated Software Visitors

XML Sitemap