Examples of AND and OR branches in tex