Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
162,789
reputation
24
432
740

Peter Grill
top 0.20% overall

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


It would be helpful if you composed a fully compilable [MWE](http://meta.tex.stackexchange.com/q/228/4301) 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/q/228/4301) 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/q/228/4301) 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.

Also, the solution may be dependent on the packages that you are using.

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/q/228/4301) 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).

1,905
answers
425
questions
~13.3m
people reached
  • San Jose, USA
  • Member for 7 years, 8 months
  • 6,594 profile views
  • Last seen 39 mins ago

Top Tags (502)

Score 4,122
Posts 556
Posts % 24
Score 1,510
Posts 151
Score 884
Posts 181
Score 839
Posts 173
Score 789
Posts 215
Score 623
Posts 128

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

View all questions and answers

Badges (1,196)

Gold

24

Rarest

Silver

432

Rarest

Bronze

740

Rarest