Using stacks to impose tangency conditions on curves | Synapse