Re: [問題] algorithmic package

看板LaTeX (論文排版)作者 (好多目標)時間17年前 (2008/02/10 17:53), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
※ 引述《scan33scan33 (亨利喵)》之銘言: : ※ 引述《eieio (好多目標)》之銘言: : 文件上有說唷! : Because the mechanisms used to build the various algorithmic structures make : it difficult to use the above mechanism for placing comments at the end of : the first line of a construct, the commands \IF, \ELSIF, \ELSE, \WHILE, \FOR, : \FORALL, \REPEAT and \LOOP all take an optional argument which will be treated : as a comment to be placed at the end of the line on which they appear. : 他說應該要變成這樣 \IF{OOO} [XXX] : []裡面的是註解! : 希望有幫上忙^^ 問題解決了,非常感謝^^ 正確的用法是 \IF[yyy]{xxx} \STATE zzz \ENDIF 其中 yyy 是註解,出來會變 if xxx then // yyy zzz -- If I don't know I don't know, I think I know If I don't know I know, I think I don't know ── R. D. Laing -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 75.142.222.87
文章代碼(AID): #17hic4jT (LaTeX)
討論串 (同標題文章)
文章代碼(AID): #17hic4jT (LaTeX)