• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Markdown curly brackets  RSS feed

 
Ranch Hand
Posts: 81
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am not sure where I should put this question. I am trying to write the master theorem in markdown (which requires a double curly bracket as you all remember but it just does not work.  I tried using syntax from LaTex, or


I used this guide but it does not work:http://www.stat.cmu.edu/~cshalizi/rmarkdown/#math-in-r-markdown

Even the footnotes system I found on internet does not work





Can somebody help me out with my curly bracket and footnote?
Thanks a lot!

 
Saloon Keeper
Posts: 5288
143
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What software are you using? There are numerous markdown syntaxes and implementations around, so you need to ensure that the software you're using supports the markdown features you're using.
 
D.J. Quavern
Ranch Hand
Posts: 81
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Moores wrote:What software are you using? There are numerous markdown syntaxes and implementations around, so you need to ensure that the software you're using supports the markdown features you're using.


I'm using visual code.
 
Saloon Keeper
Posts: 20510
115
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what a "master theorem" is supposed to be. I'd actually expect a Master's Thesis to be something you'd write in LaTex, though. Markdown is very useful, but its primary purpose is to allow adding context to code repositories and wikis.

A quick check indicated that "curly bracket" (brace) and square brackets would be escaped with a backslash.

However, consider the environment that you're typing in and remember that a backslash might have a meaning for that environment as well.

For example:

 
D.J. Quavern
Ranch Hand
Posts: 81
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim!
The master theorem is just a shirt theorem about time complexity. (I add a picture of what I want to include in my paper) I use it to prove that time complexity for quicksort is n log n.
I want to write to lines within curly brackets, but even when I escape it it does not work.
0-SMhJVzBPbBuiGOws.png
[Thumbnail for 0-SMhJVzBPbBuiGOws.png]
 
D.J. Quavern
Ranch Hand
Posts: 81
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A short, not a shirt. Damn autocorrect!
 
D.J. Quavern
Ranch Hand
Posts: 81
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry! "Two lines", not "to lines". Damn my brain!
 
Tim Holloway
Saloon Keeper
Posts: 20510
115
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK.

Markdown isn't really very good for mathematics. I'd consider simply embedding something more math-friendly there.

A graphics file works, of course, although it can render badly, especially at scale. Probably my #1 choice would be Embedded Postscript (EPS) if the client supports it (LaTeX can create this, I think). SVG might be able to, although it's less likely to work as well. I think there may even be a math XML format (yup: https://www.w3.org/Math/draft-spec/mathml.html), but whether common client apps could handle it I don't know. Although it appears my current Firefox browser does!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!