5

I would like to know how to make geometric symbols denoting lines, line segments, rays, arcs, or circles. This is what they should look like. I have tried symbol searching things like DeTextify, but it can't find symbols that attach to other letters.

enter image description here

1

2 Answers 2

11

Here is a start, using elements from the Comprehensive LaTeX Symbol List:

enter image description here

\documentclass{article}

\usepackage{amsmath,mathabx}

% For convenience and syntax, define your own commands for each.
% See https://tex.stackexchange.com/a/29846/5764
\newcommand{\Line}{\overleftrightarrow}
\newcommand{\Linesegment}{\overline}
\newcommand{\Ray}{\overrightarrow}
\newcommand{\Yar}{\overleftarrow}
\newcommand{\Arc}{\overgroup}
\newcommand{\Circle}{\mathord{\odot}}

\begin{document}

\[
  \Line{AB},
  \Linesegment{AB},
  \Ray{AB},
  \Yar{AB},
  \Arc{AB},
  \Circle A
\]

\end{document}

While amsmath is not needed in the example above, it's good to use for other things.

2
  • what does \mathord do
    – Some Guy
    Mar 16, 2021 at 19:12
  • 2
    @SomeGuy Tells LaTeX that the symbol is an “ordinary” symbol, and not a binary operator, relation, or something else. That affects the spacing of the expression.
    – Davislor
    Mar 16, 2021 at 19:14
8

The whole list of latex symbols is here: https://www.ctan.org/pkg/comprehensive

\documentclass{article}
\usepackage{amsmath}
\usepackage{fourier}
\begin{document}
\[
  \overleftrightarrow{AB}, \overline{AB},\overrightarrow{AB},  \widearc{AB}, \wideparen{AB}, \odot A
\]
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .