Results 1 to 5 of 5

Math Help - How to circle a letter

  1. #1
    Newbie
    Joined
    Jan 2009
    Posts
    4

    How to circle a letter

    I want to right circled letters.
    Just like \fbox{} but with a circle. How can I do it?

    Tia
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member flyingsquirrel's Avatar
    Joined
    Apr 2008
    Posts
    802
    Hi,
    Quote Originally Posted by darkmoon View Post
    I want to right circled letters.
    Just like \fbox{} but with a circle. How can I do it?
    If you want to circle one letter at a time you can use \textcircled{} :
    Code:
    \textcircled{u}
    \textcircled{u}
    Code:
    \text{d\textcircled{a}rkmoo\textcircled{n}}
    \text{d\textcircled{a}rkmoo\textcircled{n}}
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Jan 2009
    Posts
    4
    Quote Originally Posted by flyingsquirrel View Post
    Hi,

    If you want to circle one letter at a time you can use \textcircled{} :
    Code:
    \textcircled{u}
    \textcircled{u}
    Code:
    \text{d\textcircled{a}rkmoo\textcircled{n}}
    \text{d\textcircled{a}rkmoo\textcircled{n}}
    Almost there...
    I'm looking a way to draw graphs and I need a way to draw the nodes...

    I did some diagrams like this

    \begin{diagram}
    \node{A} \arrow{e}\node{\textcircled{$b_1$}}\arrow{e} \node{C}\end{diagram}

    so the \textcircled doesn't work very well.

    Do you know other way to draw graphs?
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Super Member flyingsquirrel's Avatar
    Joined
    Apr 2008
    Posts
    802
    Quote Originally Posted by darkmoon View Post
    Do you know other way to draw graphs?
    We can use the package PStricks to draw graphs :
    Code:
    \documentclass[11pt,a4paper]{article}
    
    \usepackage[utf8]{inputenc}
    \usepackage{pstricks,pst-node,pst-tree}
    
    \title{Diagrams}
    \author{}
    \date{}
    
    \begin{document}
    \maketitle
    
    %%% using \pstree...
    \[ \psset{arrows=->}
    \pstree[treemode=R,levelsep=5em]{\TR{A}}{ 
    	\pstree{ \Tcircle{b_1}}{ 
    		\TR{C}
    	} 
    } \]
    
    %%% ...or using \psmatrix :
    \[ \psmatrix[colsep=5em,mnode=circle] 
    A & b_1 & C 
    \ncline{->}{1,1}{1,2} 
    \ncline{->}{1,2}{1,3} 
    \endpsmatrix \]
    
    \end{document}
    The result of this code can be seen in the attached file.

    To learn more about how to draw graphs and trees using PStricks :
    Attached Files Attached Files
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Jan 2009
    Posts
    4
    Thanks, it's a great help
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. no letter in right mailbox
    Posted in the Statistics Forum
    Replies: 2
    Last Post: May 21st 2011, 08:29 AM
  2. Letter placement
    Posted in the Discrete Math Forum
    Replies: 4
    Last Post: September 2nd 2009, 03:21 PM
  3. Add a Letter - U.S. States
    Posted in the Math Puzzles Forum
    Replies: 6
    Last Post: June 22nd 2009, 01:56 PM
  4. Which letter comes next?
    Posted in the Math Puzzles Forum
    Replies: 3
    Last Post: June 4th 2009, 11:54 AM
  5. Letter Combinations
    Posted in the Advanced Math Topics Forum
    Replies: 0
    Last Post: April 4th 2008, 07:51 PM

Search Tags


/mathhelpforum @mathhelpforum