1
vote
0answers
70 views

Adding Text to Caption via Style File [closed]

I am trying to add text to a caption via a sty file. With the following code: \ifthenelse{\equal{#1}{caption}}{% {Sample Tex \\ Added Here} }{}% The style file will add "Sample TexAdded Here" ...
2
votes
2answers
127 views

Conditionals within captions

I have defined a conditional using the ifthen package as: \newcommand{\Switch}[1] { \ifthenelse{\equal{#1}{1}}{Test1}{Test2} } Running this command works without problem. However, if I try to place ...