LaTeX Latex: How to Create a Wide Check Symbol

  • Thread starter Thread starter bartadam
  • Start date Start date
  • Tags Tags
    Latex Symbol
Click For Summary
SUMMARY

The discussion focuses on creating a wide check symbol in LaTeX using the mathabx package. Users can achieve this by installing the mathabx fonts from CTAN and including them in their LaTeX document with the command \usepackage{mathabx}. Specific instructions for installing the package on MiKTeX are provided, detailing the necessary file placements and settings adjustments. Additionally, users are cautioned about potential issues with missing symbols when compiling documents that include diagrams.

PREREQUISITES
  • Familiarity with LaTeX document structure and commands
  • Basic understanding of package installation in MiKTeX
  • Knowledge of compiling LaTeX documents to PDF format
  • Experience with mathematical typesetting in LaTeX
NEXT STEPS
  • Research the installation process for LaTeX packages in MiKTeX
  • Learn about the use of the mathabx package for mathematical symbols
  • Explore troubleshooting techniques for missing symbols in LaTeX compilations
  • Investigate alternative methods for creating wide check symbols in LaTeX
USEFUL FOR

LaTeX users, mathematicians, physicists, and anyone involved in typesetting documents that require specialized mathematical symbols.

bartadam
Messages
40
Reaction score
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
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}
 
I'm a bit of a latex novice I know enough to get by. I downloaded the thing, how to I install the package?
 
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.
 
Thanks very much. I am using miktex too so I shall do that.
 
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?
 
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.
 
\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.
 
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?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
Replies
13
Views
789
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K