-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Hello,
I am attempting to use etoolbox for various logical operators to conditionally write text. I can't seem to understand how \ifstrequal behaves. Specifically, I am getting two outputs when a condition is met. Is this intended? Am I using this incorrectly? I am not sure how I could provide the output of my working example, but I get:
Test1: TRUETRUE
Test2: FALSEFALSE
I have previously posted this issue here: LINK, and was referred to report this issue to the pandoc github.
Thank you in advance for taking the time to read and reply.
-Alan
Working Example in Rmarkdown:
output: pdf_document
header-includes:
- \usepackage{etoolbox}
Test1: \ifstrequal{hello}{hello}{TRUE}{FALSE}
Test2: \ifstrequal{hello}{world}{TRUE}{FALSE}
edit: excuse me as I can't seem to be able to properly mark the above as code