Minor changes to \ksecp command

This commit is contained in:
Kenneth John Odle 2026-06-08 19:58:29 -04:00
parent 197c513aaf
commit a185fd029c
3 changed files with 14 additions and 1 deletions

View File

@ -15,6 +15,15 @@ A member of the Apiaceae family (which also includes carrots, dill, and parsnips
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.
\ksecp{Purple Deadnettle}{\textit{Lamium purpureum} L.}{Lamiaceae}
\noindent{}I have seen this plant my entire life.
\ksecp{Creeping Charlie}{\textit{Glechoma hederaceae} L.}{Lamiaceae}
\noindent{}Another plant I have seen my entire life.
\ksecp{Motherword}{\textit{Leonurus cardiaca} L.}{Lamiaceae}
\noindent{}Another plant I have seen my entire life.
\end{multicols}

View File

@ -4,5 +4,6 @@
\usepackage{lettrine} % Drop caps
\usepackage[object=vectorian]{pgfornament}
\usepackage[english]{babel} % Correcting hyphenation issues
\usepackage{ragged2e}
\usepackage[hidelinks]{hyperref}

View File

@ -29,7 +29,10 @@
\newcommand\kref[2]{\href{#1}{{\texttt{#2}}}}
% Put unnumbered sections in TOC, also with idented second lines for Latin names
\newcommand{\ksecp}[3]{
\section*{{#1}\kskip{}({#2}{\small \textsc{\textmd{{#3}}}})}
\section*{
% \raggedright
{\small {#1}\kskip{}({#2}{\small \textsc{\textmd{{#3}}}})}
}
\addcontentsline{toc}{section}{{#1} ({#2}{\small \textsc{\textmd{{#3}}}})}
}
\newcommand{\ksecn}[1]{