%% %% This is file `hep-text.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% hep-text-implementation.dtx (with options: `package') %% This is a generated file. %% Copyright (C) 2019-2023 by Jan Hajer %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later %% version. The latest version of this license is in: %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of %% LaTeX version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{hep-text}[2023/07/01 v1.2 Some text macros] \RequirePackage{kvoptions} \SetupKeyvalOptions{ family=heptext, prefix=heptext@ } \DeclareStringOption[british]{lang} \ProcessKeyvalOptions* \PassOptionsToPackage{\heptext@lang}{babel} \RequirePackage{babel} \PassOptionsToPackage{autostyle}{csquotes} \RequirePackage{csquotes} \RequirePackage{soulutf8} \let\underline\textul \RequirePackage{pdftexcmds} \ifnum\pdf@strcmp{\heptext@lang}{american}=0 \newcommand{\heptext@lang@foreign}{USenglish} \else \ifnum\pdf@strcmp{\heptext@lang}{USenglish}=0 \newcommand{\heptext@lang@foreign}{USenglish} \else \newcommand{\heptext@lang@foreign}{british} \fi \fi \PassOptionsToPackage{all, \heptext@lang@foreign}{foreign} \RequirePackage{foreign} \renewcommand\foreignabbrfont{} \DeclareRobustCommand\vs{\xperiodafter{{\foreignabbrfont{vs}}}} \xspaceaddexceptions{\csq@qclose@i} \newcommand{\no}[1]{\textnumero~#1} \RequirePackage{relsize} \newcommand{\software}[2][\hspace{-\fontdimen2\font}]{% {\smaller[.5]\textsc{#2}~#1}% } \RequirePackage{xparse} \NewExpandableDocumentCommand\hep@gobble@opt@arg{om}{#2} \AtBeginDocument{\@ifpackageloaded{hyperref}{% \pdfstringdefDisableCommands{\let\software\hep@gobble@opt@arg}% }{}} \providecommand{\online}[2]{\texttt{#2}}% \providecommand{\hep@email}[1]{\online{mailto:#1}{#1}} \providecommand\email{\hep@email} \AtBeginDocument{\@ifpackageloaded{hyperref}{% \renewcommand{\online}[2]{\href{#1}{\nolinkurl{#2}}}% }{}} \newcommand{\prefix}[2]{(#1\mbox{-)}\allowbreak #2} \newcommand\subsubparagraph{% \@tempskipa 3.25ex \@plus 1ex \@minus .2ex\relax% \addpenalty\@secpenalty\addvspace\@tempskipa% \everypar{\setbox\z@\lastbox\everypar{}}% } \PassOptionsToPackage{inline}{enumitem} \RequirePackage{enumitem} \newlist{inlinelist}{enumerate*}{1} \setlist*[inlinelist,1]{% label=\roman*), itemjoin={,\ }, itemjoin*={, and\ }, after=.% } \newlist{enumdesc}{enumerate}{2} \setlist[enumdesc]{label=\arabic*.} \newenvironment{enumdescript}[1][]{ \begin{enumdesc}[#1] \let\hep@item\item \renewcommand{\item}[2][]{% \ifx&##1&\hep@item\else\hep@item[##1]\fi% \textbf{##2}\ifx##2\empty\else\hspace{1em}\fi% \@ifnextchar\par\@gobble\relax% } }{\end{enumdesc}} \endinput %% %% End of file `hep-text.sty'.