# How do I align adjacent tokens in a custom language?
I'd like to align on multiple tokens on a single line so that the following code:
clocking_example c1 ( .s1(),
becomes (note aligned on `.` and `(`):
clocking_example c1 (.s1 (),
It's unclear to me how to do this. My project successfully aligns on the `.` but if I create a second `Alignment` token for `(` then nothing seems to happen.
Java somehow does it according to this thread
How do I get a secondary token alignment to work in my language?
I apologize for the bad formatting of this post initially - I long for the day when this page allows markdown (or HTML).