cf. How to use a formula in a post
A LaTeX-tag would be cool:
[latex]e^{i\pi}+1=0[/latex]
This would be displayed as:
Best regards
Thomas
How to use a formula in a post
|
|
« Next Oldest | Next Newest »
|
▼
11-08-2010, 04:22 PM
cf. How to use a formula in a post
A LaTeX-tag would be cool: [latex]e^{i\pi}+1=0[/latex] This would be displayed as:
Best regards ▼
11-08-2010, 05:24 PM
Wow, brings back memories. I used to know TeX by heart and a good amount of LaTeX as well. I was in college when it first came out. This one lady at the computer center was just gaga over it.
Another consideration may be MathML. I thought it was dead but it looks like they just updated it...
11-08-2010, 05:36 PM
Perl is a unix routine. How do I run that on my wodoze machine? ▼
11-08-2010, 06:05 PM
Quote: You may install strawberryperl or activeperl. Use a file for the formula instead of the here-document:
perl -MURI::Escape -ne 'chomp; printf "[img:http://latex.codecogs.com/png.latex?%s]\n\n", uri_escape $_' formula.txt There might be other utilities to uri-escape.
HTH
I can't test that right now, but the following should work. Create a file "uri-escape.pl" with your favorite text-editor and enter the following lines:
use URI::Escape; Create a 2nd file "formula.txt". It may contain several formulas each on a separate line:
e^{i\pi}+1=0 Now run in a command prompt:
perl uri-escape.pl formula.txt
11-09-2010, 10:17 AM
If you are too lazy to upload images you can use aamath for "a-text": $ echo "e^(i*pi)+1=0" | aamath Edited: 9 Nov 2010, 10:20 a.m. |
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
how to manage formula in prime | fabrice48 | 5 | 2,548 |
12-05-2013, 01:09 PM Last Post: Steve Simpkin |
|
(deleted post) | deleted | 2 | 1,401 |
11-03-2013, 06:24 AM Last Post: deleted |
|
trig scales on the Post Versalog slide rule | Al | 12 | 3,784 |
09-15-2013, 06:01 AM Last Post: John I. |
|
(deleted post) | deleted | 19 | 4,680 |
08-31-2013, 03:46 AM Last Post: pascal_meheut |
|
(deleted post) | deleted | 2 | 1,382 |
03-25-2013, 06:41 PM Last Post: Eric Smith |
|
(deleted post) | deleted | 15 | 4,512 |
03-09-2013, 01:35 PM Last Post: Mark Hardman |
|
New Blog Post: Length of a Polynomial Segment | Eddie W. Shore | 1 | 1,215 |
01-17-2013, 08:56 PM Last Post: Namir |
|
(deleted post) | deleted | 5 | 1,979 |
01-07-2013, 09:39 AM Last Post: Frank Boehm (Germany) |
|
Resuming an old post......................while crunching numberes | aurelio | 11 | 3,160 |
09-25-2012, 08:31 AM Last Post: Frido Bohn |
|
(deleted post) | deleted | 7 | 2,333 |
09-18-2012, 11:11 AM Last Post: René Franquinet |