The Rivia can occur either by itself, or following one or two Munachs. When there are two Munachs prior to a Rivia, the first Munach has a long melody, and the second one is short. When there is one Munach, it is short.
The Hebrew word רְבִ֗יע means fourth. It is therefore represented by a diamond-shaped mark.