Latex: How to Create a Wide Check Symbol

  • Context: LaTeX 
  • Thread starter Thread starter bartadam
  • Start date Start date
  • Tags Tags
    Latex Symbol
Click For Summary

Discussion Overview

The discussion revolves around creating a wide check symbol in LaTeX, exploring methods to achieve this using the mathabx package. Participants share their experiences with installation, compilation issues, and compatibility with different systems, particularly in the context of preparing documents for submission to journals.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • Some participants note that while wide hats and wide tildes can be easily created using \widehat and \widetilde, there is no direct command for a wide check symbol.
  • One participant suggests installing the mathabx fonts to access the wide check symbol, providing a link and installation instructions for MiKTeX users.
  • A novice user expresses uncertainty about how to install the mathabx package after downloading it.
  • Another participant describes their installation process for the mathabx package on MiKTeX, detailing the file locations and steps taken.
  • Some users report issues with missing mathematical symbols when compiling documents as latex>ps>pdf, prompting requests for sample files to diagnose the problem.
  • Concerns are raised about whether university computers will have the mathabx package installed, with responses indicating variability based on system administration.
  • Participants discuss the potential acceptance of the mathabx package by journals, with one suggesting contacting the journal for clarification on their policy regarding non-standard packages.
  • One user shares a code snippet that compiles correctly but still encounters issues with symbol visibility when using the mathabx package.
  • Another participant offers a workaround for generating PDFs from PS files, highlighting differences in the compilation processes that may affect symbol rendering.

Areas of Agreement / Disagreement

There is no consensus on the best method for creating a wide check symbol, as participants present various approaches and experiences. Additionally, issues related to symbol visibility and package availability remain unresolved.

Contextual Notes

Participants express uncertainty regarding the installation and compatibility of the mathabx package across different systems, as well as potential issues with journal submissions related to non-standard packages.

Who May Find This Useful

This discussion may be useful for LaTeX users seeking to create wide check symbols, particularly those using the mathabx package, as well as individuals interested in troubleshooting compilation issues in LaTeX documents.

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
815
  • · 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