Thanks Alex,
To avoid dealing with escapes like that, you could use the raw-string
> package, which lets you do this:
> raco pkg install raw-string
>
> #lang raw-string/raw-string racket/base #\$
>
>
When I add the package via raco and change the #lang line as you suggest, I
get the following
> On Sep 24, 2015, at 7:51 AM, Marc Kaufmann wrote:
>
> Ah, I actually had tried that and was about to send you the error code for
> bad syntax. But then I realised that it complained about me defining $ as the
> equivalent of math-inline, which of course clashes
Greetings, all.
On 24 Sep 2015, at 13:12, Alex Knauth wrote:
Ah, I actually had tried that and was about to send you the error
code for bad syntax. But then I realised that it complained about me
defining $ as the equivalent of math-inline, which of course clashes
with #\$.
Oh.
Well, if
Hi all,
I had a hard time to get any equations into my scribble document, as writing
\begin{equation*} f(x) = x^2 \end{equation*}
would be turned into "$\backslash$begin...", which meant that it wouldn't
actually show up as an equation but as garbage text with "begin{equation*}" and
so on
> On Sep 23, 2015, at 8:53 AM, Marc Kaufmann wrote:
> #lang racket/base
>
> (require scribble/base
> scribble/core)
>
> (provide equation*)
>
> (define (mymath start end . strs)
> (make-element (make-style "relax" '(exact-chars)) `(,start ,@strs ,end)))
>
5 matches
Mail list logo