style.sty
changeset 917 d3d371ae5fab
parent 915 88a25a236cb2
child 921 b4da72f2219f
equal deleted inserted replaced
916:2ab96407f350 917:d3d371ae5fab
    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