Text FormattingCircle around Math Symbol

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
arthur
Posts: 3
Joined: Sat Jan 12, 2013 7:22 pm

Circle around Math Symbol

Post by arthur »

Hello,

I want to put a circle around the \bot symbol in the {displaymath} environment. How do I do this?

Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Circle around Math Symbol

Post by localghost »

Search »The Comprehensive LaTeX Symbol List« for symbols like \obot or \bigobot. In such cases it can also be helpful to use Detexify.


Best regards and welcome to the board
Thorsten
arthur
Posts: 3
Joined: Sat Jan 12, 2013 7:22 pm

Circle around Math Symbol

Post by arthur »

I've found very useful the Detexify program, thank you. In »The Comprehensive LaTeX Symbol List« I've seen the \obot and I could use it but it changes the size of the \bot symbol. Is there any way of surrounding the symbol maintaining it's size?

Thank you for the welcome.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Circle around Math Symbol

Post by Stefan Kottwitz »

Hi Arthur,

welcome to the board!

Clemens posted a solution here, which can be used:

Code: Select all

\documentclass{article}
\usepackage{tikz}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
  \node[shape=circle,draw,inner sep=1pt] (char) {#1};}}
\begin{document}
\[ \bot \quad \circled{$\bot$} \]
\end{document}
You would get the same \bot with a circle around, properly aligned at the baseline of the \bot:
circled-bot.png
circled-bot.png (1.5 KiB) Viewed 27106 times
Stefan
LaTeX.org admin
arthur
Posts: 3
Joined: Sat Jan 12, 2013 7:22 pm

Re: Circle around Math Symbol

Post by arthur »

Thank you, that's what I wanted.
Post Reply