Text Formattinghow can I write this symbol in latex?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
cryptist
Posts: 3
Joined: Tue Jan 11, 2011 5:41 pm

how can I write this symbol in latex?

Post by cryptist »

I made it with paint by arranging "I" and "\Uppsi". But of course it is now a picture, however I want to use it in equations. How can I write it in latex with latex commands?
Symbol:
http://img407.imageshack.us/img407/2998/psiupdown.png

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Sleft
Posts: 16
Joined: Fri Nov 12, 2010 4:19 pm

Re: how can I write this symbol in latex?

Post by Sleft »

Is there any name or description for use of that symbol? Either would help you search for help of writing it.
cryptist
Posts: 3
Joined: Tue Jan 11, 2011 5:41 pm

Re: how can I write this symbol in latex?

Post by cryptist »

I don't know. If I know, I would also probably find. I looked at comprehensive symbols book but I couldn't fully search it since it is too long.

I guess there is no such symbol. In that case, how can I write it on latex? I heard about creating new symbols in latex somewhere. How can I do this?
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

how can I write this symbol in latex?

Post by frabjous »

Where does this symbol come from? What is the symbol used for? I couldn't even find anything like it in Unicode. (And I couldn't find it with DeTeXify or the Symbol list either.)

If you can find it in some other font, even if that font is not set up for LaTeX, you could still use it in XeLaTeX, or export a tiny one-character PDF for inserting into your LaTeX documents. That's probably the best way.

As for drawing things, you can use packages like pstricks and pgf/TikZ, but this would be difficult to draw from scratch. Perhaps creating a vector image with something like inkscape (rather than paint, which would only give you raster graphics) is one thing to consider.

Finally you could just try to recreate the symbol by rotating and overlapping existing symbols (using the graphicx package for example; perhaps it would be easier to use TikZ commands, I'm not sure...), e.g., I get the following just by placing a rotated \Psi on top of another \Psi (with the first one raised). (I'm using the txfonts package since its \Psi seems closest to yours of the ones I looked at):
doublepsi.png
doublepsi.png (857 Bytes) Viewed 3749 times
Code:

Code: Select all

\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{txfonts}
\usepackage{graphicx}
\begin{document}
\makebox{\rlap{\raisebox{3.9pt}{\ensuremath{\Psi}}}\rotatebox[origin=c]{180}{\ensuremath{\Psi}}}
\end{document}

cryptist
Posts: 3
Joined: Tue Jan 11, 2011 5:41 pm

Re: how can I write this symbol in latex?

Post by cryptist »

When you do that the height of the symbol become too long according to the symbols that are in same font size, however thank you for your concern and answer.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

how can I write this symbol in latex?

Post by frabjous »

It was just a starting place. I thought you could take it from there. You have not been upfront at all about what this symbol is or what is being used for, or answered anyone's questions, so how are we to guess what size it should be?

Anyway, you could scale it to any size you want. Here is is scaled to the height of the letter H.

E.g.:

Code: Select all

\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{txfonts}
\usepackage{graphicx}
\newlength{\Hheight}
\settoheight{\Hheight}{H}
\newcommand{\updownpsi}{\resizebox{!}{\Hheight}{\makebox{\rlap{\raisebox{3.9pt}{\ensuremath{\Psi}}}\rotatebox[origin=c]{180}{\ensuremath{\Psi}}}}}

\begin{document}
ABC\updownpsi DEF
\end{document}
I'm not saying this is the best way to do this -- I don't have enough information to know.
Post Reply