Skip to main content

Questions tagged [code-example]

10 votes
2 answers
361 views

Can (or should) I post Latex examples on TeX.SE?

I am currently working on a custom table for a friend of mine and that question came up to my mind: Should I post it on TeX.SE to hopefully help other people? I didn't find a place to post Latex ...
Leone's user avatar
  • 606
4 votes
1 answer
131 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, ...
Keks Dose's user avatar
  • 31.6k
8 votes
4 answers
395 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. ...
Gaussler's user avatar
  • 13.4k
10 votes
1 answer
229 views

Is TeXample site still alive? [closed]

I hope this is the right place to ask this. Does anyone know what happened to TeXample? I submitted a TikZ example one year ago, and it still hasn't appeared. The last examples were added in ...
Olivier's user avatar
  • 3,201
3 votes
1 answer
246 views

How Ethical is it to Use Actual Institution or Commercial Brand Names in Examples?

In some examples in the main forum, I have seen code examples which contain the following scenarios. Using names of actual institutions, where the institution is no way a known-to-everyone one. Using ...
Masroor's user avatar
  • 18.3k
67 votes
0 answers
1k 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. ...
Martin Scharrer's user avatar
15 votes
3 answers
448 views

List of commonly available example images

Often one or more images are required in minimal working examples or as part of some example code of and answer to make it compile successful and/or give some nice visual result. One problem is that ...
Martin Scharrer's user avatar
6 votes
4 answers
147 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 ...
Martin Tapankov's user avatar
23 votes
1 answer
9k 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?
49 votes
5 answers
152k views

Usage of the lipsum package in answers

I've notices several times people have been using \usepackage{lipsum} in answers as a space filler. While this is great for demonstration purposes when the document is going to be immediately ...
3 votes
4 answers
228 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 "...
Tomas Aschan's user avatar
  • 15.9k