Latex: How to Create a Wide Check Symbol

In summary, to create a wide check symbol in LaTeX, you can use the mathabx package, which can be downloaded from the CTAN website and installed using MikTeX. This package provides a widecheck command, which can be used to generate an upside down hat symbol. However, when compiling to a ps file and then converting to a pdf, some symbols may disappear. To fix this issue, you can use the command "ps2pdf" to manually convert the ps file to a pdf. Alternatively, you can modify the settings in Texniccenter to automatically perform this conversion.
  • #1
bartadam
41
0
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.
 
Physics news on Phys.org
  • #2
Hi bartadam,

bartadam said:
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:


Code:
\documentclass{article}

\usepackage{mathabx}

\begin{document}

\[ \widecheck{asdf} \]

\end{document}
 
  • #3
I'm a bit of a latex novice I know enough to get by. I downloaded the thing, how to I install the package?
 
  • #4
bartadam said:
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.
 
  • #5
Thanks very much. I am using miktex too so I shall do that.
 
  • #6
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?
 
  • #7
bartadam said:
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.
 
  • #8
\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.
 
  • #9
bartadam,

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

bartadam said:
\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?
 

FAQ: Latex: How to Create a Wide Check Symbol

What is a wide check symbol in Latex?

A wide check symbol in Latex is a mathematical symbol used to indicate that an equation or statement is true. It is typically written as a large checkmark (√) and is commonly used in mathematical and scientific contexts.

How do I create a wide check symbol in Latex?

To create a wide check symbol in Latex, you can use the command "\checkmark" or "\widecheck" in math mode. This will produce a large checkmark symbol that can be used in equations, statements, and other mathematical expressions.

Can I change the size of the wide check symbol in Latex?

Yes, you can change the size of the wide check symbol in Latex by using the "\scalebox" command. This command allows you to scale the size of the symbol to your desired dimensions. For example, "\scalebox{2}{\checkmark}" will produce a wide check symbol that is twice the size of the standard symbol.

Is there a way to add color to the wide check symbol in Latex?

Yes, you can add color to the wide check symbol in Latex by using the "\color" command. This command allows you to specify the color you want for the symbol. For example, "\color{blue}\checkmark" will produce a blue wide check symbol.

Can I use the wide check symbol in non-mathematical contexts in Latex?

Yes, you can use the wide check symbol in non-mathematical contexts in Latex. It is a commonly used symbol in scientific and technical writing, but it can also be used in other contexts to indicate that something is correct or validated. Keep in mind that the symbol may have a different meaning in non-mathematical contexts.

Similar threads

Replies
3
Views
6K
Replies
3
Views
1K
Replies
2
Views
5K
Replies
12
Views
2K
Replies
7
Views
2K
Replies
8
Views
2K
Back
Top