I use tape and stick it to the approximate location on my jacket. I use my quilting ruler to make sure that it is perpendicular and straight compared to the edge of the jacket. Then I draw on the tape with a pen. This way I can easily see the ends of the buttonhole when I am sewing.

Here I have sewn two out of the three you can see.

Here is the finished product with the brass buttons. I love it.
