Page **1** of **1**

### Formulas/Math in source code comments

Posted: **Wed Jul 04, 2012 9:20 am**

by **spectral**

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

### Re: Formulas/Math in source code comments

Posted: **Wed Jul 04, 2012 12:13 pm**

by **ingenious**

### Re: Formulas/Math in source code comments

Posted: **Wed Jul 04, 2012 12:38 pm**

by **spectral**

Thanks,

I know Doxygen, but it is only to generate documentation

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...

### Re: Formulas/Math in source code comments

Posted: **Wed Jul 04, 2012 3:58 pm**

by **ingenious**

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?

### Re: Formulas/Math in source code comments

Posted: **Wed Jul 04, 2012 5:26 pm**

by **davepermen**

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

Why ever..