style.sty
changeset 917 89e05a230d2d
parent 915 f2e667bed1c8
child 922 e86ea06e3b25
equal deleted inserted replaced
916:10f834eb0a9e 917:89e05a230d2d
    96 \def\cwTHREE{27 November} 
    96 \def\cwTHREE{27 November} 
    97 \def\cwFOUR{14 December}
    97 \def\cwFOUR{14 December}
    98 \def\cwFIVE{12 January}
    98 \def\cwFIVE{12 January}
    99 
    99 
   100 %%\def\cwISABELLE{11 December}
   100 %%\def\cwISABELLE{11 December}
       
   101 
       
   102 
       
   103 %%%%%%%%%%%%%%
       
   104 %% lualatex testing commandline arguments
       
   105 \newcommand{\luaif}[1]{\ifnum1=\directlua{if #1 then tex.sprint(1) else tex.sprint(0) end} }
       
   106 
       
   107 \luaif{arg[2] == "sol"}
       
   108 \newcommand{\solution}[1]{%
       
   109   \begin{quote}\sf%
       
   110     #1%
       
   111   \end{quote}} \else
       
   112 \newcommand{\solution}[1]{}
       
   113 \fi