Videos
You are looking for combining overline symbol (U+0305): ̅3 (at least for me in Firefox it doesn't print as nicely as advertised), see this wikipedia article for more details.
So Ctrl+Shift+U+0305 and then the letter/number you want overlined.
If you want something more complex (e.g. for more repeating numbers) you need to write in a specialized tool for writing math like LaTeX (Pandoc with Markdown + LaTeX is great if you want something fast and relatively easy to write) or LibreOffice Math.
Does this seem perfect:- 33.3̅ ? Just type an 33.3U+0305 in Libreoffice Writer / Any word processor and Alt+X. Copy 33.3̅ , paste it on the text editor, and you will get this :-
Something similar has been defined by @egreg in this post. But here is a customized command:
\newcommand{\pbar}{\lower1.5ex\hbox{$\mathchar'26$}\mkern-6mu p}
Here is mwe:
\documentclass{article}
\newcommand{\pbar}{\lower1.5ex\hbox{$\mathchar'26$}\mkern-6mu p}
\begin{document}
$\pbar$ {\large$\pbar$} {\huge$\pbar$}
\end{document}
Here is another take at the symbol. The extra horizontal space can be addressed with a \!. The vertical space has been accounted for by keeping the original height and setting the depth to 0pt.
\newcommand{\pbar}{\raisebox{-1.5ex}[\height][0pt]{$\mathchar'26$}\mkern-6mu p}
The symbol has a Unicode code point:
U+A751 LATIN SMALL LETTER P WITH STROKE THROUGH DESCENDER
There are some (at least) text fonts, which do provide the symbol. Example for LuaTeX/XeTeX:
\documentclass{article}
\usepackage{booktabs}
\usepackage{fontspec}
\newfontfamily\DejaVuSans{DejaVu Sans}
\newcommand*{\Rows}{}
\makeatletter
\newcommand*{\TestFamily}[1]{%
\expandafter\newfontfamily\csname FONT@#1\endcsname{#1}%
\g@addto@macro\Rows{\RowFamily{#1}}%
}
\newcommand*{\TestSingle}[1]{%
\expandafter\newfontfamily\csname FONT@#1\endcsname{#1}%
\g@addto@macro\Rows{\RowSingle{#1}}%
}
\newcommand*{\RowFamily}[1]{%
#1 & \csname FONT@#1\endcsname\symbol{"A751}
& \csname FONT@#1\endcsname\bfseries\symbol{"A751}
& \csname FONT@#1\endcsname\itshape\symbol{"A751}
& \csname FONT@#1\endcsname\bfseries\itshape\symbol{"A751}
\tabularnewline
}
\newcommand*{\RowSingle}[1]{%
#1 & \csname FONT@#1\endcsname\symbol{"A751}
\tabularnewline
}
\TestFamily{DejaVu Sans}
\TestSingle{Quivira}
\TestFamily{Segoe UI}
\TestFamily{FreeSerif}
\makeatother
\begin{document}
\begin{tabular}{lllll}
\toprule
Name & Regular & Bold & Italic & Bold Italic\\
\midrule
\Rows
\bottomrule
\end{tabular}
\end{document}
The symbol could then be used inside math via \text{\symbol{"A751}} (package amstext or amsmath).