Fork me on GitHub
Math for the people, by the people.

User login

circumscribe

Synonym: 
circumscribed, circumscription
Type of Math Object: 
Definition
Major Section: 
Reference

Mathematics Subject Classification

51D20 no label found

Comments

I thought that what worked for my moving average entry would work here, too. Now, instead of a picture of a circumscribed triangle, I'm getting some weird images of text.

You have \includegraphics{CircumscribedTriangle}. What is CircumscribedTriangle written in? I was getting a similar error for my first graphics entry "area". I think it was because I was forgetting to declare the dimensions of the drawing window.

In any case, you might want to have someone look at the source code for CircumscribedTriangle. I would only be of assistance if it is in PSTricks (in which case, I must admit, I would be weirded out that you are trying to include the graphics in this manner in the first place).

CircumscribedTriangle is a Photoshop EPS. Photoshop EPS's can show up in PlanetMath sometimes (e.g., BertrandsProblem). I don't blame you if you're further weirded out that I'm using Photoshop for this - I could be using Mathematica instead.

Try removing the usepackage of pstricks.

There's something odd going on here. There have been other entries recently in which I had usepackages for both psfrag and pstricks - and got exactly the same odd text strings - and removed the usepackage for psfrag to solve the problem.

Roger

That's exactly what the doctor ordered. Thank you very much.

You might try a similar thing in your entry "negative numbers".

Does anyone know enough about pstricks to understand what the issue is here?

I was thinking the same thing, but it didn't work for me there. I should take a break from this now, I'll come back to it in the morning.

> Does anyone know enough about pstricks to understand what the issue is here?

I just sent PrimeFan a message about my guesses as to what the issue is.

Warren

I was actually trying to ask a more general question. PM seems to be pretty finicky about what usepackages appear in an entry related to pstricks (and perhaps in what order). This is not a LaTeX issue, I don't think, since TexNiccenter is not nearly so finicky.

Are there guidelines that anyone clearly understands as to what works and what doesn't (in PM) and why? If not, is this something that we can have someone figure out and document this summer?

Wkbj79 thinks the issue has to do with the order of the declarations, and purely from what I've observed in my own entries which he has helped fix, I'm inclined to agree with him.

Perhaps the default preamble could be changed to suggest one place for commands (e.g., special operator symbols) and another place for usepackage declarations.

This is a portion of a message that I sent to PrimeFan after editing his entry in order to make the graphics display correctly:

> Apparently, the problem is that \usepackage{pstricks} needs to be used relatively early in the preamble. I do not know why this makes a difference, but it did the trick. You had the declaration at the very end of the preamble. I moved it so that it was in front of the large block of lines that are commented out.

> This might be a PM bug, and hopefully one that can get fixed relatively easily.

PrimeFan said in his post about this message:

> Wkbj79 thinks the issue has to do with the order of the declarations, and purely from what I've observed in my own entries which he has helped fix, I'm inclined to agree with him.

He also had this suggestion:

> Perhaps the default preamble could be changed to suggest one place for commands (e.g., special operator symbols) and another place for usepackage declarations.

This is a good idea on which I would like to build. As an alternative, I suggest that the default preamble be changed to something along the lines of:

% This is the default PlanetMath preamble. As your knowledge
% of TeX increases, you will probably want to edit this, but
% it should be fine as is for beginners.

% You almost certainly want these:
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}

% need the following line (without leading %) for including PSTricks graphics
%\usepackage{pstricks}
% need both the previous and following lines (both without the leading %) for including PSTricks graphics that require axes
%\usepackage{pst-plot}
% need the following line (without leading %) for including eps files
%\usepackage{psfrag}
% need the following line (without leading %) for including graphics via \includegraphics
%\usepackage{graphicx}
% need the following line (without leading %) for neatly defining theorems and propositions
\usepackage{amsthm}
% need the following line (without leading %) for making logically defined graphics
%\usepackage{xypic}

% Add other packages here as you need them:

% Define commands here:

Any thoughts?

Warren

Subscribe to Comments for "circumscribe"