Solving LaTeX \nmid Problems with Packages

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

Discussion Overview

The discussion centers around issues related to the LaTeX command \nmid and its proper rendering in documents. Participants explore the use of various LaTeX packages and their effects on the command's functionality, focusing on both preview and final output.

Discussion Character

  • Technical explanation, Debate/contested, Experimental/applied

Main Points Raised

  • One participant reports that the \nmid command does not work, despite using several packages including latexsym, amsfonts, amsthm, and amsmath.
  • Another participant indicates that the command works correctly in the final PDF output but does not display properly in the preview pane of their editor (LeD).
  • A suggestion is made to include the amssymb package to resolve the issue.
  • Some participants note that DVI previewers may use different fonts than those used in the final document, which could affect the display of symbols.
  • A later reply confirms that adding the amssymb package resolves the issue for them.

Areas of Agreement / Disagreement

Participants express differing experiences with the \nmid command, with some finding it functional in the final output while others encounter issues in the preview. There is no consensus on a single solution, but the addition of the amssymb package is suggested as a potential fix.

Contextual Notes

Limitations include the dependency on specific LaTeX editors and their handling of fonts, as well as the potential for different outputs between preview and final document formats.

JasonRox
Homework Helper
Gold Member
Messages
2,394
Reaction score
4
I'm trying to make the following command work:

\nmid

It doesn't work at all. I found other old threads over the net about people also having the same problem, but no response to those thread! Hopefully this one gets a response.

The following packages are in use...

\usepackage{latexsym}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{amsmath}

Does not work.
 
Physics news on Phys.org
Works for me, but check this out. It DOESN'T show the correct symbol in the preview plane (I'm using LeD) but when i build the pdf it works correctly. Are you looking at the pdf?
 
Try to add \usepackage{amssymb}.
 
ah yes, i was also using the assymb sty. Again though, make sure you're actually looking at the final product. For some reason most DVI previewers use a different set of fonts than the ones used in the compiler and loaded by the document.
 
Hepth said:
ah yes, i was also using the assymb sty. Again though, make sure you're actually looking at the final product. For some reason most DVI previewers use a different set of fonts than the ones used in the compiler and loaded by the document.

Thanks guys, that's the correct package!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 6 ·
Replies
6
Views
18K