diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-31 21:14:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-31 21:14:32 +0000 |
commit | 1d444b81d53d885a68ef7096605fc3bf3dba5fe8 (patch) | |
tree | 58b20743c108bbbfc2926dc50623fed565aa65fc /Master/texmf-dist/doc/lualatex | |
parent | 90e73850033e421c88fbb193007a39dad5b4b759 (diff) |
autopuncitems (31jan22)
git-svn-id: svn://tug.org/texlive/trunk@61825 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf | bin | 41875 -> 38603 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.tex | 36 |
2 files changed, 34 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf b/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf Binary files differindex d2a5da00ed8..c377b41f50e 100644 --- a/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf +++ b/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf diff --git a/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.tex b/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.tex index 06f3f5e9bed..e30c85e26fb 100644 --- a/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.tex +++ b/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.tex @@ -1,5 +1,5 @@ % Kale Ewasiuk (kalekje@gmail.com) -% 2022-01-18 +% 2022-01-30 % Copyright (C) 2021-2022 Kale Ewasiuk % % Permission is hereby granted, free of charge, to any person obtaining a copy @@ -62,7 +62,6 @@ \begin{document} \maketitle -{\Huge TODO make an environment that can be used outside of itemize, useful for beamer possibly} \section{Introduction} This package provides environments \cmd{AutoPuncItemize}, \cmd{AutoPuncItemizeO}, and \cmd{AutoPuncItemizeE} (beta) @@ -209,5 +208,38 @@ If you disable auto-pass nested lists, and don't use \cmd{\APpass}, here is what \end{itemize} \end{LTXexample} +You may want to use the \cmd{AutoPuncItems} environment outside a list environment instead, +say perhaps if you're using the \cmd{beamer}. +Note that nested lists are normally not punctuated, and since the first-level list is inside the environment, it's considered nested. +If you would like to disable the prevention of auto-punctuating all nested lists, use the \cmd{\disableAPprotectnest}. +Note that nested lists will cause an error to occur. + +\begin{LTXexample} +\disableAPprotectnest +\begin{AutoPuncItems} +\begin{itemize} + \item one + \item two + \item three + \item four +\end{itemize} +\end{AutoPuncItems} +\end{LTXexample} + +The normal way to use the environment should be inside the first list, like so. + +\begin{LTXexample} +\enableAPautopassnest % default settn +\begin{itemize} +\begin{AutoPuncItems} + \item one + \item two + \item three + \item four +\end{AutoPuncItems} +\end{itemize} +\end{LTXexample} + + \end{document} |