Text FormattingEncircle "." and "," Characters automatically

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
xeon123
Posts: 3
Joined: Thu Jun 23, 2011 5:57 pm

Encircle "." and "," Characters automatically

Post by xeon123 »

Hi,

I want to put circles around the punctuation. So, I saw the solution put in this thread (http://www.latex-community.org/forum/vi ... =44&t=6301) and it works.

But, I wouldn't like to replace all the "." and "," by "\mycirc{.}" and \mycirc{,}". I would like that, by defining this new command, all the "." and "," characters found would be encircled by default when compiling the document.

Is it possible to define in latex that all "." and "," characters must be encircled, without adding the command "mycirc" to the text?

Thanks

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

Encircle "." and "," Characters automatically

Post by localghost »

xeon123 wrote:[…] Is it possible to define in latex that all "." and "," characters must be encircled, without adding the command "mycirc" to the text? […]
No. This is an easy job for the Search & Replace function of your editor.


Thorsten
Post Reply