Formulas/Math in source code comments

/dev/random
spectral
Posts: 382
Joined: Wed Nov 30, 2011 2:27 pm
Contact:

Formulas/Math in source code comments

Postby spectral » Wed Jul 04, 2012 9:20 am

Hi,

I'm searching for a way to put formula (by example with Latex) into the c++/c code comments.
I have found nothing... but will be interested if someone know a way of documenting the code with well formatted math !

Thx
Spectral
OMPF 2 global moderator

ingenious
Posts: 273
Joined: Mon Nov 28, 2011 11:11 pm
Location: London, UK
Contact:

Re: Formulas/Math in source code comments

Postby ingenious » Wed Jul 04, 2012 12:13 pm

Image Click here. You'll thank me later.

spectral
Posts: 382
Joined: Wed Nov 30, 2011 2:27 pm
Contact:

Re: Formulas/Math in source code comments

Postby spectral » Wed Jul 04, 2012 12:38 pm

Thanks,

I know Doxygen, but it is only to generate documentation :-P

What I'm searching for is a way to 'see/preview' the formulas directly in the code editor, like VS or Notepad++ etc....

Thanks again...
Spectral
OMPF 2 global moderator

ingenious
Posts: 273
Joined: Mon Nov 28, 2011 11:11 pm
Location: London, UK
Contact:

Re: Formulas/Math in source code comments

Postby ingenious » Wed Jul 04, 2012 3:58 pm

spectral wrote:What I'm searching for is a way to 'see/preview' the formulas directly in the code editor, like VS or Notepad++ etc....


What does this mean?
Image Click here. You'll thank me later.

davepermen
Posts: 48
Joined: Fri Dec 02, 2011 12:21 pm

Re: Formulas/Math in source code comments

Postby davepermen » Wed Jul 04, 2012 5:26 pm

He wants to write math-formula-stuff right into his texteditor, right into the code.

Why ever.. :)


Return to “Scratchpad”

Who is online

Users browsing this forum: No registered users and 3 guests