\overlinesegment{AB}

The command \overlinesegment{AB} is used to denote a line segment with endpoints A and B, with a line drawn over the letters to indicate the segment. This is typically used in geometry to represent the segment connecting two points.

Examples

Represents the line segment connecting points A and B.

\overlinesegment{AB}

Indicates that the line segment CD is parallel to the line segment EF.

\overlinesegment{CD} \parallel \overlinesegment{EF}

Shows that the line segment XY is congruent to the line segment ZW.

\overlinesegment{XY} \cong \overlinesegment{ZW}