Oops! John, you are absolutely right.
I misread the documentation. Thanks.
On Jun 21, 11:52 am, John H Palmieri wrote:
> On Tuesday, June 21, 2011 9:17:14 AM UTC-7, pong wrote:
>
> > Thanks. Yours command work :)
>
> > I used
>
> > from sage.misc.latex import latex_extra_preamble
> > latex_extra_
On Tuesday, June 21, 2011 9:17:14 AM UTC-7, pong wrote:
>
> Thanks. Yours command work :)
>
> I used
>
> from sage.misc.latex import latex_extra_preamble
> latex_extra_preamble()
> '\\newcommand{\\floor}[1]{ \\lfloor #1 \\rfloor}'
>
Do you mean you executed this in a Sage cell? That would
On 6/21/11 12:23 PM, Chris Seberino wrote:
On Jun 21, 7:56 am, kcrisman wrote:
For clarification, this creates a "raw" string. You should also be
able to use \\tan, which "escapes" the \ so that it doesn't have a
special meaning to Python.
I imagine similar issues are going to happen for L
On Jun 21, 7:56 am, kcrisman wrote:
> For clarification, this creates a "raw" string. You should also be
> able to use \\tan, which "escapes" the \ so that it doesn't have a
> special meaning to Python.
I imagine similar issues are going to happen for Latex commands that
begin with n and r the
On Jun 21, 7:58 am, kcrisman wrote:
> Let us know if this helps. I agree it is suboptimal.
Since there may be other inconsistencies between browsers, it seems
safer to just have all students use Firefox. That is fine with me. I
had other unrelated browser incompatibility issues with some onl
On Jun 21, 9:09 am, Rolf wrote:
> This question may sound somehow out of place, but maybe you can offer
> some help.
> Where in the documentation did you find something about this fancy
> notation to include variables into your html()?
I found it on one of the published worksheets not in officia
Thanks. Yours command work :)
I used
from sage.misc.latex import latex_extra_preamble
latex_extra_preamble()
'\\newcommand{\\floor}[1]{ \\lfloor #1 \\rfloor}'
which I found in the standard documentation. And it does not work.
Perhaps, someone can check whether it is a bug.
On Jun 21, 7:26 am,
On Monday, June 20, 2011 7:22:32 PM UTC-7, pong wrote:
>
> Thank you for your tips.
>
> I use SAGE 4.7
> %latex_debug shows that latex complains about \floor is an undefined
> control sequence (as if the latex_extra_preamble() has no effect)
>
> ! Undefined control sequence.
> \floor
>
> l
> html('The Number: $%f$'%(5 * 10**exponent))
> html('In Scientific Notation: $5 \cdot 10^{%d}$'%exponent)
This question may sound somehow out of place, but maybe you can offer
some help.
Where in the documentation did you find something about this fancy
notation to include variables into your
> You shouldn't have to move it anywhere; Sage doesn't have to live
> anyplace in particular. Is it only after you move it that you
> encounter problems? Maybe you have permission issues there?
Yes, the problems were only with R packages and only after I moved
entire sage folder. I did not wa
> The slider of interact widget didn't work for one student in Internet
> Explorer.
Is it possible this is an older version of IE? Unfortunately, IE uses
completely different javascript ideas, or so the experts tell me. I'm
not sure there is a short-term solution to this.
> The html text was m
On Jun 20, 10:37 pm, Nils Bruin wrote:
> On Jun 20, 2:13 pm, Chris Seberino wrote:
>
> > Is there a problem with Latex commands that begin with \t for some
> > reason?
>
> That's just python's string escaping. Use html(r'$\tan$') instead.
For clarification, this creates a "raw" string. You sh
Hello, i think that my question is simple one, but i have not found
answer in the reference manual. I need a function of vector variables.
For example:
var("x1,x2,x3")
x=vector([x1,x2,x3])
Is it possible to define a function of the vector variable "x",
something like this: f(x)=sum(x[i]*x[i]for i i
13 matches
Mail list logo