tea.mathoverflow.net - Discussion Feed (curly braces!) 2018-11-04T13:07:40-08:00 http://mathoverflow.tqft.net/ Lussumo Vanilla & Feed Publisher Scott Morrison comments on "curly braces!" (16042) http://mathoverflow.tqft.net/discussion/1133/curly-braces/?Focus=16042#Comment_16042 2011-09-08T12:29:47-07:00 2018-11-04T13:07:40-08:00 Scott Morrison http://mathoverflow.tqft.net/account/3/ I wouldn't worry too much about backticks. They are rather convenient for most people, and if we're ever faced with a breaking change we can think about regex tricks to ameliorate the problems. I wouldn't worry too much about backticks. They are rather convenient for most people, and if we're ever faced with a breaking change we can think about regex tricks to ameliorate the problems.

]]>
Emil J comments on "curly braces!" (16032) http://mathoverflow.tqft.net/discussion/1133/curly-braces/?Focus=16032#Comment_16032 2011-09-08T07:12:02-07:00 2018-11-04T13:07:40-08:00 Emil J http://mathoverflow.tqft.net/account/514/ Oh god, I always found backticks to be the single most useful Markdown command. What about \\{ \\}, are they stable or not?And how does the thing with HTML tags work, exactly? I just tried ...
And how does the thing with HTML tags work, exactly? I just tried <p>$\{0,1\}$</p> and <div>$\{0,1\}$</div> in answer preview, and neither works (even though the tags are recognized: the <p> started a separate paragraph).]]>
DavidRoberts comments on "curly braces!" (16024) http://mathoverflow.tqft.net/discussion/1133/curly-braces/?Focus=16024#Comment_16024 2011-09-08T00:16:45-07:00 2018-11-04T13:07:40-08:00 DavidRoberts http://mathoverflow.tqft.net/account/588/ Thanks for that Andrew. :) I shall use \lbrace ... \rbrace from now on. Thanks for that Andrew. :) I shall use \lbrace ... \rbrace from now on.

]]>
Andrew Stacey comments on "curly braces!" (16022) http://mathoverflow.tqft.net/discussion/1133/curly-braces/?Focus=16022#Comment_16022 2011-09-07T23:56:05-07:00 2018-11-04T13:07:40-08:00 Andrew Stacey http://mathoverflow.tqft.net/account/4/ Yes! Anton now says that backticks are bad practice since the behaviour will not be stable under changes to the software. The fact that Markdown doesn't look inside block-level tags is part of the ... Yes!

Anton now says that backticks are bad practice since the behaviour will not be stable under changes to the software. The fact that Markdown doesn't look inside block-level tags is part of the specification of Markdown so anything that pretends to be Markdown has to accept that. But Markdown does look inside backticks and what it does there can depend on the configuration.

]]>
DavidRoberts comments on "curly braces!" (16012) http://mathoverflow.tqft.net/discussion/1133/curly-braces/?Focus=16012#Comment_16012 2011-09-07T15:32:30-07:00 2018-11-04T13:07:40-08:00 DavidRoberts http://mathoverflow.tqft.net/account/588/ Or you could use backticks, but perhaps Andrew will scold me for bad practice. Or you could use backticks, but perhaps Andrew will scold me for bad practice.

]]>
Andrew Stacey comments on "curly braces!" (16007) http://mathoverflow.tqft.net/discussion/1133/curly-braces/?Focus=16007#Comment_16007 2011-09-07T13:04:39-07:00 2018-11-04T13:07:40-08:00 Andrew Stacey http://mathoverflow.tqft.net/account/4/ (And, of course, Markdown demonstrated my point by escaping the angle brackets in those tags!) (And, of course, Markdown demonstrated my point by escaping the angle brackets in those tags!)

]]>
Andrew Stacey comments on "curly braces!" (16006) http://mathoverflow.tqft.net/discussion/1133/curly-braces/?Focus=16006#Comment_16006 2011-09-07T13:04:06-07:00 2018-11-04T13:07:40-08:00 Andrew Stacey http://mathoverflow.tqft.net/account/4/ This is due to the fact that the Markdown interpreter doesn't know about MathJaX. So it doesn't ignore stuff between dollars. Since it uses the backslash to escape special characters, it translates ... This is due to the fact that the Markdown interpreter doesn't know about MathJaX. So it doesn't ignore stuff between dollars. Since it uses the backslash to escape special characters, it translates \{ to { (and \\ to a single backslash, and similar for other things). Then MathJaX only sees { which it interprets as a TeX group and so doesn't display the brace. One solution is to use \lbrace and \rbrace as voloch says. Another is to put the mathematics inside an HTML tag so that Markdown doesn't look at it. If the paragraph doesn't contain anything else that Markdown should look at, you can just put &lt;p> ... &lt;/p> around it.

]]>
Michael Hardy comments on "curly braces!" (16005) http://mathoverflow.tqft.net/discussion/1133/curly-braces/?Focus=16005#Comment_16005 2011-09-07T12:48:13-07:00 2018-11-04T13:07:40-08:00 Michael Hardy http://mathoverflow.tqft.net/account/291/ @voloch: Thank you. I figured that out a minute after I posted above. Do most people know that? I had long thought that the usual thing was \{ \}. (Or \left\{ and \right\} if you want the ... voloch comments on "curly braces!" (16004) http://mathoverflow.tqft.net/discussion/1133/curly-braces/?Focus=16004#Comment_16004 2011-09-07T12:37:42-07:00 2018-11-04T13:07:40-08:00 voloch http://mathoverflow.tqft.net/account/211/ Try \lbrace a,b,c \rbrace . Michael Hardy comments on "curly braces!" (16002) http://mathoverflow.tqft.net/discussion/1133/curly-braces/?Focus=16002#Comment_16002 2011-09-07T12:33:48-07:00 2018-11-04T13:07:40-08:00 Michael Hardy http://mathoverflow.tqft.net/account/291/ Writing \{ a,b,c \} in TeX doesn't work on mathoverflow. Neither does \left\{ a,b,c \right\}. Neither does \left{ a,b,c \right}. All that appears is a,b,c. I'm quite surprised and appalled by ...