Register to reply

Latex wide check symbol

by bartadam
Tags: check, latex, symbol, wide
Share this thread:
bartadam
#1
Oct9-08, 07:53 AM
P: 41
How do I do a wide check symbol in latex?

A wide hat or wide tilde is easy, it is simply \widehat{long expression} or \widetilde{longexpression}

There is no command for wide check, i.e an upside down hat.
Phys.Org News Partner Science news on Phys.org
Physicists discuss quantum pigeonhole principle
Giant crater in Russia's far north sparks mystery
NASA Mars spacecraft prepare for close comet flyby
alphysicist
#2
Oct10-08, 01:14 PM
HW Helper
P: 2,249
Hi bartadam,

Quote Quote by bartadam View Post
How do I do a wide check symbol in latex?

A wide hat or wide tilde is easy, it is simply \widehat{long expression} or \widetilde{longexpression}

There is no command for wide check, i.e an upside down hat.
You can install the mathabx fonts found here:

http://www.ctan.org/tex-archive/fonts/mathabx/

which contain a widecheck. Once they are installed, you can use them with the regular \usepackage command:


\documentclass{article}

\usepackage{mathabx}

\begin{document}

\[ \widecheck{asdf} \]

\end{document}
bartadam
#3
Oct10-08, 04:35 PM
P: 41
I'm a bit of a latex novice I know enough to get by. I downloaded the thing, how to I install the package?

alphysicist
#4
Oct10-08, 05:38 PM
HW Helper
P: 2,249
Latex wide check symbol

Quote Quote by bartadam View Post
I'm a bit of a latex novice I know enough to get by. I downloaded the thing, how to I install the package?
I am using miktex on windows, so I can tell you how I did it for that.

Downloaded mathabx.zip from the website and unzipped it.

Inside there were about 54 files in a folder named 'source'; all 54 of those files had the extension .mf; in a folder named 'texinputs' there were four files: mathabx.dcl, mathabx.sty, mathabx.tex, testmac.tex



I went to where my miktex distribution is located and went in the folder:

c:\Program Files\MikTeX 2.7\fonts\source\public

In there I created a new folder called mathabx and put all 54 of the .mf files in there.



I then went to the folder

c:\Program Files\MikTeX 2.7\tex\generic\misc

I created a new folder called mathabx and put the other four files (mathabx.dcl, mathabx.sty, mathabx.tex, testmac.tex) in there.



(In other words when I was re done I had all of the .mf files in:

c:\Program Files\MikTeX 2.7\fonts\source\public\mathabx

and the four files mathabx.dcl, mathabx.sty, mathabx.tex, testmac.tex in:

c:\Program Files\MikTeX 2.7\tex\generic\misc\mathabx

)


Then on the start menu I went to Miktex2.7 --> Settings. On the window that comes up, I clicked the buttons "Refresh FNDB" and then "Update Formats".

After that all was ready. Hope this helps.
bartadam
#5
Oct12-08, 05:00 AM
P: 41
Thanks very much. I am using miktex too so I shall do that.
bartadam
#6
Oct20-08, 04:09 PM
P: 41
This is all working fine now.

Couple of questions

a) When I compile this as latex>ps>pdf it misses out some of the mathematical symbols such as arrows and lines. It has diagrams in the document as ps files so has to compile as a ps first.

b) I have done this on my computer at home, are the uni computers likely to have the same package

c) This is a document I shall be submitting to the physics arxiv and admitting for being published in a journal, will the package mathabx be available to them also?
alphysicist
#7
Oct21-08, 09:52 AM
HW Helper
P: 2,249
Quote Quote by bartadam View Post
This is all working fine now.

Couple of questions

a) When I compile this as latex>ps>pdf it misses out some of the mathematical symbols such as arrows and lines. It has diagrams in the document as ps files so has to compile as a ps first.
I've never seen this happen to me; is there a short sample tex file you can show that reproduces this behavior?


b) I have done this on my computer at home, are the uni computers likely to have the same package
I think this would be completely up to the system admins, so would be different from place to place.


c) This is a document I shall be submitting to the physics arxiv and admitting for being published in a journal, will the package mathabx be available to them also?
I seem to recall (for the last article I submitted) a caution on the journal's website about using what they called "non-standard" packages. I would send an email to the journal about it. Even if they don't want to accept this particular package, they might have their own way to create the widecheck symbol.
bartadam
#8
Oct22-08, 01:55 AM
P: 41
\documentclass{article}[12pt]
\usepackage{mathabx}


\begin{document}
\begin{equation}
\frac{q}{\hat{1}}\left\{\Omega_{j-1}-\widecheck{j-1}\right\}
\end{equation}

\end{document}

The above code compiles as a pdf. My document imports diagrams as ps files. That won't compile as a pdf so it has to compile as latex>ps>pdf. Without the mathabx package it works fine. with the mathabx package it does the same as the above code, some of the symbols vanish.

Can I write some code within the text of my latex file to generate widechecks? Somehow farm it from the package itself, I do not know what I'm doing with Latex enough.
alphysicist
#9
Oct24-08, 11:16 AM
HW Helper
P: 2,249
bartadam,

Sorry, but I did not see your post here until now.

Quote Quote by bartadam View Post
\documentclass{article}[12pt]
\usepackage{mathabx}


\begin{document}
\begin{equation}
\frac{q}{\hat{1}}\left\{\Omega_{j-1}-\widecheck{j-1}\right\}
\end{equation}

\end{document}

The above code compiles as a pdf. My document imports diagrams as ps files. That won't compile as a pdf so it has to compile as latex>ps>pdf. Without the mathabx package it works fine. with the mathabx package it does the same as the above code, some of the symbols vanish.

Can I write some code within the text of my latex file to generate widechecks? Somehow farm it from the package itself, I do not know what I'm doing with Latex enough.

Here's what you can do (if you don't want to change settings in TexnicCenter):



Use the option "latex=>ps" to build the ps file "filename.ps".

Open a command prompt window, go to the folder with the file, and run the command
"ps2pdf filename.ps"

(Is the appropritate Miktex folder in your path so the system can find ps2pdf?)

That should create filename.pdf with the symbols in it.


-----------------------

The unexpected thing to me is that the ps file created by the "latex=>ps" option and the intermediate ps file created by "latex=>ps=>pdf" are different! (Because the commands that create the ps files in each case are different, as you can see by looking at the output profile settings.)


I'm glad you brought this up; it's nice to know what choices are being made by default. I had always assumed that texniccenter just directly called ps2pdf to create the pdf, but they have a different route.

You could always modify the Texniccenter settings to do the above process automatically. But are you getting the correct pdf file now?


Register to reply

Related Discussions
How do I get LaTeX to put the infinity on top of the SUM symboL Calculus & Beyond Homework 2
Spell check latex Math & Science Software 2
How wide is a photon? General Physics 46
The World-Wide Mind Medical Sciences 0