szcf-weiya / TeXtemplates

There are some latex templates that I used.
1 stars 3 forks source link

already defined definition and fact in beamer #4

Closed szcf-weiya closed 2 years ago

szcf-weiya commented 2 years ago

when compiling https://github.com/szcf-weiya/Clouds/blob/master/notes/pre20220421.tex, it throws

image

szcf-weiya commented 2 years ago

use ifthenelse, https://tex.stackexchange.com/questions/2433/how-to-conditionally-define-a-new-command-in-latex