121,785 reputation
15 257 527

Peter Grill

Idea borrowed from Hendrik Vogt:


[Welcome to TeX.SE](http://meta.tex.stackexchange.com/questions/1436).


It would be helpful if you composed a fully compilable [MWE](http://meta.tex.stackexchange.com/questions/228) including `\documentclass` and the appropriate packages that sets up the problem.

While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.


It is always best to compose a fully compilable [MWE](http://meta.tex.stackexchange.com/questions/228) that illustrates the problem including the `\documentclass` and the appropriate packages so that those trying to help don't have to recreate it.

This will also serve as a test case and ensure that the solution actually works for you.

That way those trying to help can focus on the solution as opposed to setting up the problem test case.


While code snippets are useful in explanations, it is always best to compose a fully compilable [MWE](http://meta.tex.stackexchange.com/questions/228) that illustrates the problem including the `\documentclass` and the appropriate packages so that those trying to help don't have to recreate it.

This is especially important for `tikz` as there are numerous libraries.

In this case it will actually help to ensure that the solution actually solves your specific problem.

Personally, I have often solved my own problems in the process of reducing the amount of code actually required to reproduce the problem.


A tip: If you indent lines by 4 spaces, then they're marked as a code sample. You can also highlight the code and click the "code" button (`{}`).

I took the liberty to format your post a little. See [this link for more details on available formatting](http://meta.tex.stackexchange.com/editing-help).


Saying it "does not work" does not provide any useful information with which anyone can provide you with any help. I'd suggest you post a new question and include a fully compilable [MWE](http://meta.tex.stackexchange.com/questions/228) including `\documentclass` and the appropriate packages that sets up the problem. If your case does not even compile, then ensure that it compiles if that one line is commented. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.


If the solution worked for you please see [How do you accept an answer?](http://meta.tex.stackexchange.com/questions/1852/how-do-you-accept-an-answer) and perhaps [How does accepting an answer work?](http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work).


Please see [why should the `minimal` class be avoided?](http://tex.stackexchange.com/questions/42114/why-should-the-minimal-class-be-avoided).

Top Tags (448)

Score 3,113
Posts 463
Posts % 23
Score 1,009
Posts 135
Score 736
Posts 166
Score 631
Posts 182
Score 616
Posts 141
Score 502
Posts 115

Top Posts (2,015) All Questions Answers | Votes Newest

View all questions and answers

Badges (799)

Gold 15

Rarest

Silver 257

Rarest

Bronze 527

Rarest