Forum archive 2000-2006

Andy Wildenberg - displaying sets/curly braces in PG

Andy Wildenberg - displaying sets/curly braces in PG

by Arnold Pizer -
Number of replies: 0
inactiveTopicdisplaying sets/curly braces in PG topic started 5/6/2001; 9:36:24 PM
last post 5/11/2001; 6:09:55 PM
userAndy Wildenberg - displaying sets/curly braces in PG  blueArrow
5/6/2001; 9:36:24 PM (reads: 1944, responses: 3)
How do I include curly braces in my PG problem's text? I can't use { because that's interpreted as something by LaTeX, and I can't use slash { because that confuses the heck out of the PG translator since it's also reserved. slash slash { doesn't work either. Heck, I can't even post the question in this forum without writing out the name of the slash symbol longhand?!

I would hope that there was a macro defined for this, but unfortunately all the online docs are empty :-( Any idea when they're coming back?

<| Post or View Comments |>


userMichael Gage - Re: displaying sets/curly braces in PG  blueArrow
5/6/2001; 10:58:01 PM (reads: 2275, responses: 0)
Hi,

I think what you want is this:

  $LBRACE             LBRACE()            left brace
$LB LB () left brace
$RBRACE RBRACE() right brace
$RB RB () right brace
You can find it at http://webhost.math.rochester.edu/webworkdocs/docs/pglanguage/pod/PGbasicmacros (look under display macros). Or you can follow the links:

write/modify problems -> PG advance reference ->PGbasicmacros-> display macros

Some of the online docs are out of date (catching up will be among the first tasks when our interns start work this summer). The docs in the advanced section are actually taken from the current pod documentation in the code and are (usually) the most up to date and detailed.

Hope this helps.

Take care,

Mike

<| Post or View Comments |>


userMichael Gage - Re: displaying sets/curly braces in PG  blueArrow
5/6/2001; 11:00:32 PM (reads: 2258, responses: 0)
P.S. Can you give me the URL of the empty docs? I'll see if there is something simple I can do to fix the problem.

-- Mike

<| Post or View Comments |>


userMichael Gage - Re: displaying sets/curly braces in PG  blueArrow
5/11/2001; 6:09:55 PM (reads: 2432, responses: 0)
On Mon, May 07, 2001 at 03:00:50AM +0000, gage@math.rochester.edu wrote:
>> Can you give me the URL of the empty docs? I'll see if there is
>> something simple I can do to fix the problem.
>
>Here are two I can find right now. Actually things look better than I
>remember them the other night -- have you been working on this (like
>the environment variables stuff I couldn't find the other night).
>*
>PGBasics:PG Language Macros is empty
>*
>Alphabetical List of PG Macros: displays, but causes a URL error if
you try to click through to anything




Not much -- but I did put a site map in (see lower left margin entry)
That may help you find some things. The organization needs work
and there is also basic documentation working. As I said, it has
become a priority, but it may still take some time ...



Thanks for your quick response!
-- Andy



>Thanks for your quick response!
>-- Andy



The links you mention were really were pretty obsolete, so I've removed the links for the
moment to avoid confusion. I'm hoping that the manpages section
will essentiall replace the functionality that these pages once provided.
(They were written by Leeza Pachepsky, who worked for us more than 3 years ago!
I don't think they have been updated since.)



-- Mike

<| Post or View Comments |>