Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12329 > unrolled thread
| Started by | Eric Rasmusen <erasmuse61@gmail.com> |
|---|---|
| First post | 2012-11-13 05:13 +0000 |
| Last post | 2012-11-14 06:49 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Is there a way to do comment with just one keystroke at the start as Eric Rasmusen <erasmuse61@gmail.com> - 2012-11-13 05:13 +0000
Re: Is there a way to do comment with just one keystroke at the start "Nasser M. Abbasi" <nma@12000.org> - 2012-11-14 06:49 +0000
| From | Eric Rasmusen <erasmuse61@gmail.com> |
|---|---|
| Date | 2012-11-13 05:13 +0000 |
| Subject | Is there a way to do comment with just one keystroke at the start as |
| Message-ID | <k7skul$kud$1@smc.vnet.net> |
Hello. The standard way to do comments in Mathematica is like this (*Here is a comment*) In Latex, a short comment only takes one symbol, at the start of the line: %Here is a latex comment Is there a way to comment in Mathematica without the closing symbols? is there an any easy way to make a macro to imitate latex comments?
[toc] | [next] | [standalone]
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Date | 2012-11-14 06:49 +0000 |
| Subject | Re: Is there a way to do comment with just one keystroke at the start |
| Message-ID | <k7veu6$s4q$1@smc.vnet.net> |
| In reply to | #12329 |
On 11/12/2012 11:13 PM, Eric Rasmusen wrote: > Hello. > The standard way to do comments in Mathematica is like this > (*Here is a comment*) > > In Latex, a short comment only takes one symbol, at the start of the line: > %Here is a latex comment > > Is there a way to comment in Mathematica without the closing symbols? is > there an any easy way to make a macro to imitate latex comments? > There is no easy way. You just have to live with (* *) On the same topic, I find one of the annoying things in the notebook is that one can't write free style comments. The comment text follow the notebook rules for alignments in the code cell, so one can't align comments nicely and make free style type documentation inside the notebook (i.e. like verbatim). Unless one makes a new Text cell to write comments in, which is ok, but if one is in a Code Cell, writing comments next or around the code is not too much fun because of code cell own rules of alignments of code which affects comments as well. --Nasser
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web