|
[Date Index]
[Thread Index]
[Author Index]
Re: Export as PDF without " for strings
- To: mathgroup at smc.vnet.net
- Subject: [mg92751] Re: Export as PDF without " for strings
- From: "michael.p.croucher at googlemail.com" <michael.p.croucher at googlemail.com>
- Date: Sun, 12 Oct 2008 04:32:54 -0400 (EDT)
- References: <gcq0i6$c6u$1@smc.vnet.net>
Hi Markus
Maybe wrapping your expression in HoldForm would help? Simple
example:
X = HoldForm[3 + 4]
Export["test.pdf", X]
Best Regards,
Mike
On 11 Oct, 11:52, M
arkus Huber <m... at gmx.at> wrote:
> Hello,
>
> I want to export some graphics containing mathematical signs as
> strings, e.g. "+". Mathematica does not show the " in plots, and
> that's good. However, when I use Export, the " appear. On the other
> hand, selecting the graphics, using the menu entry File->Save
> Selection as ... works fine, i.e. no " are shown.
>
> Let me give a simplified example:
>
> X="+" a;
> Export["~/test.pdf", X]
>
> This produces a pdf with "+" a in it, but I want + a.
>
> The reason I use strings is that I do not want M to calculate things,
> as it would do otherwise. (If anybody knows how to use + signs without
> M calculating, my problem would also be solved.)
>
> So how can I export something similar to the Save Selection as ...
> command, but with an executable command like Export? Are there any
> options suppressing " for strings?
>
> Thanks in advance,
>
> Markus Huber
Prev by Date:
Getting rid of those deprecated Do[] loops?
Next by Date:
Re: Export as PDF without " for strings
Previous by thread:
Export as PDF without " for strings
Next by thread:
Re: Export as PDF without " for strings
|