[Tex/LaTex] New environment to change font for some book quotations

fonts

I am working on a document that requires block quotes from books, some of which are from the American Colonial period. I found an answer close to what I need that suggested the following in the preamble:

\usepackage[veryoldstyle]{kpfonts}

It's exactly the font I need, but just not globally.

So what I'm trying to do it call the [veryoldstyle] part just for quotes from old book that use that type. I was thinking of trying some sort of \newenvironment command but I am not getting anywhere. Does anyone have any suggestions?

Best Answer

May be like this:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lipsum}

\newenvironment{myoldstyle}{%
    \bgroup
    \par
    \fontfamily{jkpkvos}\selectfont\small
}
{%
    \par\egroup
}

\begin{document}
  \lipsum[1]
  \begin{myoldstyle}
    \lipsum[2]
  \end{myoldstyle}
  \lipsum[3]
\end{document}

enter image description here

Or as a quote:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lipsum}

\newenvironment{myoldstyle}{%
    \begin{quote}
    \fontfamily{jkpkvos}\selectfont\small
}
{%
    \end{quote}
}

\begin{document}
  \lipsum[2]
  \begin{myoldstyle}
    \lipsum[2]
  \end{myoldstyle}
  \lipsum[2]
\end{document}

enter image description here

This can be made more glamorous using etoolbox goodies and make all quote environments to use this font. But this job is left out.

Related Question