Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Math Resources > LaTex Help
Reply
 
Thread Tools Display Modes
  #1  
Old October 29th, 2009, 06:06 AM
MHF Contributor
 
Join Date: Oct 2009
Posts: 1,164
Thanks: 52
Thanked 398 Times in 376 Posts
tonio is just really nicetonio is just really nicetonio is just really nicetonio is just really nicetonio is just really nice
Default Some little help more with Latex, please

Hi all:

Several times already I've tried to write about a function that is "defined" or "undefined" somewhere using LaTex, but I get the following error message: [LaTex Error: Restricted command found (def)]
Since I can't believe we can't write "defined" using LaTex. what is the way to overcome these restrictions? I tried using " ", enclosing the word in brackets [] , etc., but nothing.

Thanx for reading
Tonio
Reply With Quote
Advertisement
 
  #2  
Old October 29th, 2009, 06:41 AM
flyingsquirrel's Avatar
Super Member
 
Join Date: Apr 2008
Posts: 791
Thanks: 152
Thanked 427 Times in 360 Posts
flyingsquirrel is a glorious beacon of lightflyingsquirrel is a glorious beacon of lightflyingsquirrel is a glorious beacon of lightflyingsquirrel is a glorious beacon of lightflyingsquirrel is a glorious beacon of light
Default

Quote:
Originally Posted by tonio View Post
Since I can't believe we can't write "defined" using LaTex. what is the way to overcome these restrictions? I tried using " ", enclosing the word in brackets [] , etc., but nothing.
Here is the answer given by Opalg in another thread:
Quote:
Originally Posted by Opalg View Post
You can fool the system into accepting a reserved word like def by disguising it, splitting it up with a pair of braces.

[math]\buildrel \text{d{}ef}\over =[/math] produces \buildrel \text{d{}ef}\over = .
Reply With Quote
The Following 2 Users Say Thank You to flyingsquirrel For This Useful Post:
Donate to MHF
  #3  
Old October 29th, 2009, 07:12 AM
Opalg's Avatar
MHF Contributor

 
Join Date: Aug 2007
Location: Leeds, UK
Posts: 2,065
Country:
Thanks: 126
Thanked 1,261 Times in 1,048 Posts
Opalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant futureOpalg has a brilliant future
Default

Quote:
Originally Posted by flyingsquirrel View Post
Here is the answer given by Opalg in another thread:
Quote:
Originally Posted by Opalg View Post
You can fool the system into accepting a reserved word like def by disguising it, splitting it up with a pair of braces.

[math]\buildrel \text{d{}ef}\over =[/math] produces \buildrel \text{d{}ef}\over = .
That's not the whole story, though. You can fool the MathHelpForum's LaTeX compiler into printing the word "def", but you cannot get it to implement a user-defined control sequence by using the \def command. I assume that is a security precaution, to stop malicious hackers.
Reply With Quote
The following users thank Opalg for this useful post:
Donate to MHF
  #4  
Old October 29th, 2009, 11:30 AM
Super Member

 
Join Date: May 2006
Location: Lexington, MA (USA)
Posts: 7,286
Thanks: 555
Thanked 4,647 Times in 3,710 Posts
Soroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond repute
Default

Hello, tonio!

Quote:
Several times already I've tried to write about a function that is "defined"
or "undefined" somewhere using LaTex, but I get the following error message:
. . [LaTex Error: Restricted command found (def)]

Since we can't write "defined" using LaTex.
what is the way to overcome these restrictions?

Enclose one of the offending letters in a pair of braces.


While \text{defined} will generate that error message,

. . \text{de{f}ined} will get us by.


The censor program here outlaws certain touchy words.
One of them is the nickname for Richard.
. . (While Peter, Willy and Johnson are okay!)

If I want to refer to Mr. Clark of American Bandstand,
. . I must use: .\text{Di{c}k Clark} . \text{Dick Clark}


Please . . . do not use this technique to post obscene words.
You will offend many of us and get yourself banned.

Reply With Quote
The following users thank Soroban for this useful post:
Donate to MHF
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 08:14 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.