Questions tagged [code-example]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
22
votes
1answer
6k views

How do I mark inline code?

How do I mark my inline code in questions and answers, and how can I mark code in comments?
6
votes
3answers
300 views

Why can't TeX.SE compile my TeX code?

(This might have been asked before, but I could not find it.) A lot of questions and answers on this site have some piece of code (to be compiled with one of the standard engines) and a screenshot. ...
6
votes
4answers
126 views

Should minimal examples be completed for the submitter if they only provide a code excerpt?

We had a situation today regarding this question. (See also the timeline). What happened: The submitter asked a question with a code excerpt only, without making a compileable minimum working ...
4
votes
1answer
120 views

Feature request: Better support for copying code from question or answers

Often I'd like to compile code from tex.stackexchange or other sites to my machine and play around a bit with it. There are so many great answers here; there is so much great code in stack overflow, ...
65
votes
0answers
816 views

New support package for MWEs

I often saw that MWEs which include images can be a little bit of a problem. There are no common images in the TEXMF tree which could be used. Even the famous PS tiger is not directly accessible. ...
3
votes
4answers
189 views

Should minimal examples be required, or just encouraged, for questions to be answered?

I just asked a question in which I included a small excerpt of my code that wasn't a standalone example, but enough to see the context (at least I thought so). In a comment*, I was asked to provide a "...