Updated \ksecp command to eliminate need for \kfam command

This commit is contained in:
Kenneth John Odle 2026-06-08 09:31:24 -04:00
parent 0bf5c4a582
commit 032b27112d

View File

@ -120,16 +120,14 @@
% Make hrefs easier (must load package hyperref} % Make hrefs easier (must load package hyperref}
\newcommand\kref[2]{\href{#1}{{\texttt{#2}}}} \newcommand\kref[2]{\href{#1}{{\texttt{#2}}}}
% Put unnumbered sections in TOC, also with idented second lines for Latin names % Put unnumbered sections in TOC, also with idented second lines for Latin names
\newcommand{\ksecp}[2]{ \newcommand{\ksecp}[3]{
\section*{{#1}\kskip{}{#2}} \section*{{#1}\kskip{}({#2}{\small \textsc{\textmd{{#3}}}})}
\addcontentsline{toc}{section}{{#1} {#2}} \addcontentsline{toc}{section}{{#1} ({#2}{\small \textsc{\textmd{{#3}}}})}
} }
\newcommand{\ksecn}[1]{ \newcommand{\ksecn}[1]{
\section*{{#1}} \section*{{#1}}
\addcontentsline{toc}{section}{{#1}} \addcontentsline{toc}{section}{{#1}}
} }
% Plant family names in \ksecp command
\newcommand{\kfam}[1]{\textmd{\textsc{{\small {#1}}}}}
%%% Get it started %%% Get it started
@ -250,12 +248,12 @@ He goes on to give a long (and possibly incorrect) definition of the word \texti
It took me longer than it should have to realize that introduced species tend to do well in distubed places—and lawns, gardens, and the sides of roads and paths are all disturbed spaces. So it makes sense that the vast majority of what I find there are introduced species. If I want to see native species, I need to visit the wild spaces around me and go further afoot. It took me longer than it should have to realize that introduced species tend to do well in distubed places—and lawns, gardens, and the sides of roads and paths are all disturbed spaces. So it makes sense that the vast majority of what I find there are introduced species. If I want to see native species, I need to visit the wild spaces around me and go further afoot.
\ksecp{Poison Hemlock}{(\textit{Conium maculatum} L.\kfam{Apiaceae})} \ksecp{Poison Hemlock}{\textit{Conium maculatum} L.}{Apiaceae}
\noindent{}One plant that has wandered far afield is poison hemlock which I have noticed in increasing numbers in recent years. It is native to Europe and North Africa, and has spread to almost every continent in the past few hundred years, where it is often an invasive weed. \noindent{}One plant that has wandered far afield is poison hemlock which I have noticed in increasing numbers in recent years. It is native to Europe and North Africa, and has spread to almost every continent in the past few hundred years, where it is often an invasive weed.
A member of the Apiaceae family (which also includes carrots, dill, and parsnips), it is a striking plant. It can grow to two and a half meters in height and has fernlike bipinnately compound leaves—the botanical description is ``highly dissected'—although this varies from the bottom of the plant to the top, and beautiful white flowers that are tiny and white, but make up for their dimunitiveness by appearing in large compound umbels. The hollow stems are often spotted or streaked with a dull purple color. Once you have see it, you cannot miss it growing in other areas. A member of the Apiaceae family (which also includes carrots, dill, and parsnips), it is a striking plant. It can grow to two and a half meters in height and has fernlike bipinnately compound leaves—the botanical description is ``highly dissected'—although this varies from the bottom of the plant to the top. It also bears beautiful white flowers that are quite tiny, but make up for their dimunitiveness by appearing in large compound umbels. The hollow stems are often spotted or streaked with a dull purple color. Once you have see it, you cannot miss it growing in other areas.
This is the plant that the ancient Greeks used to poison the rabblerouser Socrates (which is what you get, I suppose, when you encourage people to think for themselves). All parts of the plants are toxic, especially the roots and seeds. Every once in a while somebody will mistake it for wild carrot (\textit{Daucus carota}), although the poisonous alkaloids can also be absorbed through the skin, so handling it with ungloved hands can be dangerous, as well as mowing it, as the compounds can be aerosolized and breathed in. This is the plant that the ancient Greeks used to poison the rabblerouser Socrates (which is what you get, I suppose, when you encourage people to think for themselves). All parts of the plants are toxic, especially the roots and seeds. Every once in a while somebody will mistake it for wild carrot (\textit{Daucus carota}) and make the news, occasionally posthumously. The poisonous alkaloids can also be absorbed through the skin, so handling it with ungloved hands can be dangerous. Mowing it can also be dangerous, as the compounds can be aerosolized and breathed in. A mask will provide some protection against this.
\end{multicols} \end{multicols}