summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/nostarch
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-05-11 20:10:13 +0000
committerKarl Berry <karl@freefriends.org>2023-05-11 20:10:13 +0000
commitcb4b9d4e10f52f852461e569e09e8b5cfb9fc65d (patch)
tree34317fa06860e91d505946f2b3143ed605786bd5 /Master/texmf-dist/doc/latex/nostarch
parent23575925d5c33a26cb46f88595ee94b30d4e5266 (diff)
nostarch (11may23)
git-svn-id: svn://tug.org/texlive/trunk@67072 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/nostarch')
-rw-r--r--Master/texmf-dist/doc/latex/nostarch/README8
-rw-r--r--Master/texmf-dist/doc/latex/nostarch/nostarch.pdfbin290838 -> 350878 bytes
-rw-r--r--Master/texmf-dist/doc/latex/nostarch/nssample.pdfbin279615 -> 281557 bytes
-rw-r--r--Master/texmf-dist/doc/latex/nostarch/nssample.tex108
-rw-r--r--Master/texmf-dist/doc/latex/nostarch/tabletest.pdfbin0 -> 35332 bytes
-rw-r--r--Master/texmf-dist/doc/latex/nostarch/tabletest.tex215
-rw-r--r--Master/texmf-dist/doc/latex/nostarch/urltest.pdfbin0 -> 18227 bytes
-rw-r--r--Master/texmf-dist/doc/latex/nostarch/urltest.tex8
8 files changed, 314 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/latex/nostarch/README b/Master/texmf-dist/doc/latex/nostarch/README
index ca989a73abc..96dc00c597a 100644
--- a/Master/texmf-dist/doc/latex/nostarch/README
+++ b/Master/texmf-dist/doc/latex/nostarch/README
@@ -10,6 +10,14 @@ nshyper.sty and MakeIndex style nostarch.ist.
CHANGES:
+Version 2.1
+ Urls now correspond to the requirements of NoStarch: italic font,
+ low tilde, splitting according to the NoStarch rules
+ Bibliography updates
+ New formatting for captions.
+ Longtable is now loaded by default
+ New code for colored rows
+
Version 2.0:
Incorporated the changes by Alex Freed and other members of
the NoStarch team over the years.
diff --git a/Master/texmf-dist/doc/latex/nostarch/nostarch.pdf b/Master/texmf-dist/doc/latex/nostarch/nostarch.pdf
index b5c2467124b..d0b15ee893e 100644
--- a/Master/texmf-dist/doc/latex/nostarch/nostarch.pdf
+++ b/Master/texmf-dist/doc/latex/nostarch/nostarch.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/nostarch/nssample.pdf b/Master/texmf-dist/doc/latex/nostarch/nssample.pdf
index 80f59d139d0..a6b476eba46 100644
--- a/Master/texmf-dist/doc/latex/nostarch/nssample.pdf
+++ b/Master/texmf-dist/doc/latex/nostarch/nssample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/nostarch/nssample.tex b/Master/texmf-dist/doc/latex/nostarch/nssample.tex
index ff4cadaeb99..5fbd1c5f8e3 100644
--- a/Master/texmf-dist/doc/latex/nostarch/nssample.tex
+++ b/Master/texmf-dist/doc/latex/nostarch/nssample.tex
@@ -11,11 +11,11 @@
\frontmatter
-\author{A.~U.~Thor, C.~O.~R.~Respondent and W.~R.~Iter}
+\author{Boris Veytsman}
-\title{Pellentesque habitant morbi}
+\title{\emph{No Starch Press} example file}
-\subtitle{Cum sociis natoque penatibus}
+\subtitle{A short demonstration}
\nostarchlogo{vitruvian.jpg}
@@ -25,9 +25,8 @@
\begin{copyrightpage}
- \textbf{\sffamily\MakeUppercase{Pellentesque habitant morbi.}}
- Copyright \textcopyright{} 2008 by A.~U.~Thor, C.~O.~R.~Respondent
- and W.~R.~Iter
+ \textbf{\sffamily\MakeUppercase{\emph{No Start Press} example file}}
+ Copyright \textcopyright{} 2023 by Boris Veytsman
No rights reserved. Any part of this work may be reproduced or
transmitted in any form or by any means, electronic or mechanical,
@@ -116,7 +115,14 @@ Or was I a worm---too low crawling for death?\\
\chapter*[Foreword by R.~E.~Viewer]{Foreword}
-\lipsum[48-60]
+This is a foreword. Note that the chapter\index{chapter} has two
+arguments: the title of the chapter and the title for the table of
+contents\index{table of contents!adding to}. The first paragraph
+is automatically typeset in a larger font.
+
+Now a couple of paragraphs of filler text to make some pages.
+
+\lipsum[1-3]
\bigskip
@@ -128,22 +134,32 @@ December 2007
\end{raggedright}
\mainmatter
-\part{Mi aliquam dictum}
+\part{The first part}
+
+The main part of the book starts with the command, well,
+\path{\mainmatter}\index{main matter}.
+
+Again some filler.
\lipsum[77-78]
-\chapter[Morbi ac orci]{Morbi ac orci et nisl hendrerit
- mollis}
+\chapter[The first chapter]{The first chapter (the long title)}
\chapterartfile{1eurogr}\index{euro, coin!Greece}\index{Greek euro|see{euro}}
-
-Fusce adipiscing justo nec ante. Nullam in enim. Pellentesque felis
-orci, sagittis ac, malesuada et, facilisis in, ligula\index{ligula}.
-Nunc\index{nunc} non magna sit amet mi aliquam dictum\index{dictum}.
+The first chapter again has two versions of the title. There is a
+special command \path{\chapterartfile}. It adds the art vignette to
+the start of the chapter. Now again some filler---but here we show
+how to add index entries to the text. Fusce adipiscing justo nec
+ante. Nullam in enim. Pellentesque felis orci, sagittis ac, malesuada
+et, facilisis in, ligula\index{ligula}. Nunc\index{nunc} non magna
+sit amet mi aliquam dictum\index{dictum}.
\section{Quisque aliquam ipsum sed turpis}
+Some additional filler\ldots
+
+
\lipsum[1]
Nam dui ligula\index{ligula}, \emph{fringilla a}, euismod sodales,
@@ -167,6 +183,8 @@ Pellentesque cursus luctus mauris\footnote{\lipsum[3]}.
\section{Nunc\index{nunc} non magna sit amet mi aliquam dictum}
+The index can be even in the section head.
+
\lipsum[32-33]
\subsection{Nam sed augue}
@@ -177,15 +195,17 @@ Pellentesque cursus luctus mauris\footnote{\lipsum[3]}.
\lipsum[36-38]
-\chapter{Proin vel urna}
+\chapter{Footnotes, figures and tables}
\label{chap:proin}
\chapterartfile{100euroit}\index{euro, coin!Italy}\index{Italian
euro|see{euro}}
-Aenean imperdiet\footnote{Quisque aliquam ipsum sed turpis\index{turpis}}.
-Vestibulum ante ipsum pri\-m\-is in faucibus orci luctus et ultrices
-posuere cubilia Curae; Donec lacinia nonummy lectus. Proin vel urna.
-Fusce sit amet orci ac magna iaculis pharetra.
+
+Some examples of footnotes. Aenean imperdiet\footnote{Quisque aliquam
+ ipsum sed turpis\index{turpis}}. Vestibulum ante ipsum pri\-m\-is
+in faucibus orci luctus et ultrices posuere cubilia Curae; Donec
+lacinia nonummy lectus. Proin vel urna. Fusce sit amet orci ac magna
+iaculis pharetra.
Fusce adipiscing justo nec ante. Nullam in enim. Pellentesque felis
orci, sagittis ac, malesuada et, facilisis in, ligula\index{ligula}.
@@ -228,13 +248,15 @@ sit amet augue tristique gravida.\index{ante}
odio.
\end{itemize}
+
\begin{figure}[tp]
\includegraphics[width=3in]{vitruvian}
\index{Da Vinci, Leonardo@\emph{Da Vinci, Leonardo}}
\index{Leonardo Da Vinci@\emph{Leonardo Da Vinci}|see{Da Vinci,
Leonardo}}
\index{Vitruvian Man}
- \caption{Pellentesque laoreet velit nec justo}
+ \caption{Vitruvian man. Note that the caption is typeset in a box
+ with the width automatically calculated from the image.}
\label{fig:one}
\end{figure}
@@ -333,11 +355,10 @@ nunc\index{nunc}, venenatis elementum tortor lorem eu erat.
\begin{table}[tp]
\caption[Sed blandit, tortor a auctor]{Sed blandit, tortor a auctor
- imperdiet, wisi nibh\\ ornare leo,
+ imperdiet, wisi nibh ornare leo,
ac dictum nibh enim eu orci}
- \tbfont
- \begin{tabular}{@{}lll}
- \toprule\let\normalfont=\bfseries%
+ \begin{tabular}{lll}
+ \toprule
\thfont Phasellus & \thfont At Dui & \thfont Donec Commodo \\
\midrule
Augue At Nunc & Nunc In sapien & Et magna mollis \\
@@ -365,9 +386,46 @@ condimentum. Nullam imperdiet mattis neque. Proin eget magna porta
erat rhoncus consectetuer. Aenean pulvinar erat vitae\index{vita} mi.
\index{donec|)}
+
\section{Proin eget magna porta erat rhoncus consectetuer}
-\lipsum[123-124]
+\lipsum[123-125]
+
+\begin{longtable}{lll}
+ \caption{This is a longtable with a very long caption. It will be
+ typeset in several lines}\label{tab:longtable}\\
+ \toprule
+ \thfont First column & \thfont Second column\\
+ \midrule
+ \endfirsthead
+ \caption[]{This is a longtable with a very long caption. It will be
+ typeset in several lines---continued\ldots}\\
+ \toprule
+ \thfont First column & \thfont Second column\\
+ \midrule
+ \endhead
+ \bottomrule
+ \endfoot
+ a & b\\
+ ab & bc\\
+ $\alpha$ & $\beta$\\
+ a & b\\
+ ab & bc\\
+ $\alpha$ & $\beta$\\
+ a & b\\
+ ab & bc\\
+ $\alpha$ & $\beta$\\
+ a & b\\
+ ab & bc\\
+ $\alpha$ & $\beta$\\
+ a & b\\
+ ab & bc\\
+ $\alpha$ & $\beta$\\
+ a & b\\
+ ab & bc\\
+ $\alpha$ & $\beta$\\
+\end{longtable}
+
\part{Curabitur vitae}\index{vita|(}
\label{part:Curabitur}
diff --git a/Master/texmf-dist/doc/latex/nostarch/tabletest.pdf b/Master/texmf-dist/doc/latex/nostarch/tabletest.pdf
new file mode 100644
index 00000000000..5ed27d9915c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/nostarch/tabletest.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/nostarch/tabletest.tex b/Master/texmf-dist/doc/latex/nostarch/tabletest.tex
new file mode 100644
index 00000000000..b1e28864dba
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/nostarch/tabletest.tex
@@ -0,0 +1,215 @@
+\documentclass[cfonts, nofontsdir]{nostarch}
+\usepackage{nshyper}
+\begin{document}
+
+Some examples of tables
+
+
+\begin{table}[H]
+\caption{Similar to Figures, Table Titles Also Should Break Within the Table's Width Instead of Extending the Full Page Width Like This}\index{kinds, meanings of}
+\label{exampletable}
+\begin{tabular}{ll}
+ \toprule
+ \thfont Col 1 & \thfont Col 2 \\
+ \midrule
+ Lorem ipsum & dolor sit amet \\
+ consectetur adipiscing & elit sed do \\
+ eiusmod tempor & incididunt ut \\
+ labore et dolore & magna aliqua \\
+ ut enim ad & minim veniam \\
+ \bottomrule
+\end{tabular}
+\end{table}
+
+A long table
+
+\begin{longtable}{ll}
+ \caption{A very long table. Its caption also wraps up like the
+ caption of figures and tables}\label{long table}\\
+ \toprule
+ \thfont Col 1 & \thfont Col 2 \\
+ \midrule
+ \endfirsthead
+ \caption[]{A very long table. Its caption also wraps up like the
+ caption of figures and tables continued\ldots}\\
+ \toprule
+ \thfont Col 1 & \thfont Col 2 \\
+ \midrule
+ \endhead
+ \bottomrule
+ \endfoot
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+ this table is & long! \\
+\end{longtable}
+
+Equations have unequal amounts of spacing above and below them. The
+space before the following equation looks roughly twice as large as
+after.
+\begin{equation}
+mean~tot = b + c ~ temp + d ~ temp^2.
+\end{equation}
+
+Additionally, the amount of space before/after equations is not always
+consistent. The below equation seems to have even more leading space
+than the previous one.
+\begin{equation}
+mean~tot = b + c ~ temp + d ~ temp^2 + e ~ hum + f ~ hum^2 + g ~ temp
+\times ~ hum.
+\end{equation}
+
+We've been manually adding \lstinline{\vspace} commands to account for this, which is not an ideal solution.
+
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/nostarch/urltest.pdf b/Master/texmf-dist/doc/latex/nostarch/urltest.pdf
new file mode 100644
index 00000000000..152b9e7170f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/nostarch/urltest.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/nostarch/urltest.tex b/Master/texmf-dist/doc/latex/nostarch/urltest.tex
new file mode 100644
index 00000000000..56368a2ce7b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/nostarch/urltest.tex
@@ -0,0 +1,8 @@
+\documentclass[cfonts, nofontsdir]{nostarch}
+\usepackage{nshyper}
+\begin{document}
+\url{https://bilbo.dynip.com/~boris}
+
+
+\fbox{\parbox{.8cm}{\url{https://bilbo.dynip.com/~boris_ddd=2345&aaaaaaa-b-c-c-c-cdddddddddd@ddddddddd!ddddd?dddddd|dddddd,ddddd;ddddd'dddddd+dddddd<aaaaaa>bbbbbb(aaaaaa)bbbbbb[aaaaaa]bbbbb{aaaaaa}bbbbb"aaaaaaaa:bbbbbbbbb///////////bbbbbbbbbbb}}}
+\end{document}