AR 600-25 — Courtesies to the National Anthem & Flag
Source: AR 600-25 (armypubs.army.mil)
National Anthem & Pledge
When in uniform outdoors and the national anthem is played: face the flag (or music if no flag), stand at attention, and render the hand salute.
When in uniform indoors and the national anthem is played: stand at attention. Do not salute indoors unless under arms.
When in civilian clothes and the national anthem is played: face the flag, stand at attention, and place the right hand over the heart.
During the Pledge of Allegiance: in uniform, stand at attention and face the flag. In civilian clothes, stand at attention, face the flag, and place the right hand over the heart.
Reveille & Retreat Ceremonies
Reveille is sounded at the beginning of the duty day to raise the flag. When outdoors and the flag is being raised, face the flag and render the appropriate courtesy.
Retreat is sounded at the end of the duty day to lower the flag. When outdoors and retreat is sounded, halt, face the flag, and render the appropriate courtesy.
"To the Colors" is played after retreat while the flag is being lowered. Render the same courtesies as during the national anthem.
When in a vehicle during reveille or retreat: stop the vehicle, dismount if possible, and render the appropriate courtesy. If unable to dismount, sit at attention.
The flag is folded into a triangle with the blue field on the outside. It is presented to the next of kin at military funerals.