Group Abstract Group Abstract

Message Boards Message Boards

READ FIRST: How to post and use Wolfram Community


This is a quick tutorial to teach you how to use Wolfram Community in almost no time. Just a few minutes to read through will save you a lot of time and make your posts clear and beautiful. Please be kind and give back to Community by:

  • Voting up good posts
  • Being gracious to others
  • Posting and providing help in the area of your expertise
  • Posing your discussions and questions clearly and creatively
  • Checking by searching first whether your question was already asked

Wolfram Community provides the following essential features that we will overview:

  • Lightweight crystal clear post editor empowering you to post on the fly

  • Wolfram Language code formatting for easy copy-paste between Community and notebooks and lively syntax highlighting.

  • Images insertion anywhere in the post from the web or your computer, by drag and drop or browsing to a file.

  • Full mathematical notation for advanced formulas

  • File attachments for any format you can find in Wolfram Language Documentation

Now lets take a look at these in a bit of more detail.

Post Editor

Wolfram Community Editor uses Markdown Syntax with full documentation available here. While you typing your post help is always available at the top right corner. Editor has a clear simple but yet powerful and flexible functionality outlined on the diagram below:

enter image description here

The Editor consists of two parts: edit and preview eras. While you use plain text markup syntax described in the documentation the preview are shows you exactly how post will appear after you publish it.

enter image description here

Code Formatting

Proper code formatting is an essential part of posting. Only then can other member will be able to understand, copy and paste code between Community and notebooks. It is done in a very simple manner.

  1. Type code in the editor or simply paste it from for example Mathematica or Wolfram Cloud notebook.
  2. Select all code
  3. Press CMD+K on Mac or CTRL+K on Windows
  4. Alternatively press code button shown on the very first diagram

This is how a properly formatted code block should look like - note beautiful syntax highlighting:

info = WolframAlpha["weather", "PodInformation"];
ids = Rest[DeleteDuplicates[#[[1, 1, 1]] & /@ info]];
titles = Map[{{#, 0}, "Title"} &, ids] /. info;
contents = Column[Cases[info, _[{{#, _}, "Content"}, val_] :> val]] & /@ ids;
MenuView[Thread[titles -> contents], ImageSize -> Automatic]

Images insertion

To insert an image anywhere in the text press image button indicated on the main diagram above. Follow simple instructions. You have a choice to

  • Point to an image online by copying and pasting its URL in to the image up-loader form
  • Browse to an image on your computer
  • Drag and drop image from your computer

Please use only allowed image formats: .JPG, .PNG, .SVG, and .GIF. Images above 10MB will not be accepted. Files in format .GIF can be animated and we encourage their usage because they make your post very lively. Use the following tools for animated GIFs:

Mathematical Notation

Mathematical notation is enabled via MathJax. A very good tutorial can be found here: MathJax basic tutorial and quick reference. For Wolfram Language user it will be very easy to produce math formulas using built-in function TeXForm. For example code

TeXForm[Integrate[1/(1 - x^3), x]]

will produce output:

\frac{1}{6} \log \left(x^2+x+1\right)-\frac{1}{3} \log (1-x)+\frac{\tan^{-1}\left(\frac{2 x+1}{\sqrt{3}}\right)}{\sqrt{3}}

which when placed between $...$ (in-line) or $$...$$ (centered paragraph) will produce the following:

$$\frac{1}{6} \log \left(x^2+x+1\right)-\frac{1}{3} \log (1-x)+\frac{\tan^{-1}\left(\frac{2 x+1}{\sqrt{3}}\right)}{\sqrt{3}}$$

If you would like retain the original unevaluated expressions please use:

TeXForm[HoldForm[Integrate[1/(1 - x^3), x]]]

which when placed between $...$ (in-line) or $$...$$ (centered paragraph) will produce the following:

$$\int \frac{1}{1-x^3} \, dx$$

File Attachments

Files up to 10MB of any type found in Wolfram Language documentation can be attached to a post via the button at the bottom left corner of the Editor. Please attach only meaningful files - for example well structured and clear Mathematica notebooks or data. If images are not large it is better NOT use file attachments but insert images right in the text where appropriate to illustrate better the post content.

enter image description here

POSTED BY: Moderation Team
2 years ago

Having used both Mathematica.SE (which used this system from the start) and the previous editor on Community, I can say that this is a wonderful improvement!

I just have one suggestion for an improvement: the MarkDown source editor should really use a fixed width font. This is preferable for so many reasons: 1. spaces are very relevant in MarkDown, we need to indent with a specific number of spaces (the number also depending on whether we're in a bullet list) 2. code is always better edited with a fixed-width font (if there is't a complicated auto-formatting environment to help, such as the Mathematica front end)

POSTED BY: Szabolcs Horvat
2 years ago