James Tocknell avatar James Tocknell committed 19e38e9

Fixed set related stuff

Comments (0)

Files changed (2)

texmf/tex/aragilar/group-theory-commands.sty

   \left(\docsvlist{#1}\right)% Process list
 }
 
-%%%% SET COMMAND — write sets easily %%%%
+%%%% LISTSET COMMAND — write sets composed of listed elements easily %%%%
 %% define counters
-\newcounter{setlistcount} 
-\newcounter{settotalcount}
+\newcounter{listedsetlistcount} 
+\newcounter{listedsettotalcount}
 %% define contants
-\newcommand{\setsep}{,}
+\newcommand{\listedsetsep}{,}
 %% define command
-\newcommand{\set}[1]{
-  \setcounter{settotalcount}{0} % Reset total count
-  \renewcommand*{\do}[1]{\stepcounter{settotalcount}}% Reconfigure count
+\newcommand{\listedset}[1]{
+  \setcounter{listedsettotalcount}{0} % Reset total count
+  \renewcommand*{\do}[1]{\stepcounter{listedsettotalcount}}% Reconfigure count
   \docsvlist{#1}% Count number of items
-  \setcounter{setlistcount}{0}% Reset current item count
+  \setcounter{listedsetlistcount}{0}% Reset current item count
   \renewcommand*{\do}[1]{% Reconfigure item \do
-    \stepcounter{setlistcount}% Next item
-    ##1\ifnum\value{setlistcount}<\value{settotalcount}\setsep\fi% Print item
+    \stepcounter{listedsetlistcount}% Next item
+    ##1\ifnum\value{listedsetlistcount}<\value{listedsettotalcount}\listedsetsep\fi% Print item
   }
   \left\{\docsvlist{#1}\right\}% Process list
 }

texmf/tex/aragilar/sanemath.sty

 %%%% MAIN PACKAGES %%%%
 \RequirePackage{amsmath}
 %\RequirePackage[retainorgcmds]{IEEEtrantools} % For IEEEeqnarray
+\RequirePackage{braket} % Provides \Bra,\Ket,\Braket,\Set
 
 \RequirePackage[standard,hyperref,amsmath,thmmarks,thref]{ntheorem}
 
+
+
 %%%% THEOREM DEFINITIONS %%%%
 %% Unnumbered versions of theorem environments
 \theorembodyfont{\upshape}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.