107,345 reputation
13214463
bio website petergrill1ATgmail
location San Jose, USA
age
visits member for 3 years, 7 months
seen 13 mins ago

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.


6h
comment Enter 2 by n matrix (permutation notation) as inline math without taking up much space
I would recommend you leave the question. You are probably not the last person who will have this issue, so this can help others. However, I would recommend you post a full MWE including \documentclass and the appropriate packages.
6h
revised Disable indentation within a section
code formatting
6h
answered Disable indentation within a section
7h
revised Drawing grids filled with random selected colors and connecting them
elminated \numexpr
7h
comment Drawing grids filled with random selected colors and connecting them
@pceccon: If the MWE does not compile for you as is then there is a problem with your distribution. Posted a new version -- guess you don't really need to use \numexpr in this case. You should try updating your packages. Add \listfiles before \begin{document} (as in the new MWE in answer) and post the versions of the packages reported in the log file in the question here.
7h
comment Drawing grids filled with random selected colors and connecting them
@pceccon: Does the MWE as provided above work for you? I mean just the MWE, nothing else.
7h
comment Drawing grids filled with random selected colors and connecting them
@pceccon: Without seeing the actual code I can't guess as to what the problem is. It seems as if your issue is not specifically about drawing a grid with random fill, but with the use of \numexpr so I'd suggest you post a new question. You can link to this in your question if you think it is relevant.
8h
revised Drawing grids filled with random selected colors and connecting them
random colorinxation
8h
answered Drawing grids filled with random selected colors and connecting them
8h
comment How best to differentiate questions and answers in a document without compromising on typesetting and readability?
@PacificOrion: Without seeing exactly how you are changing the margins it is difficult to help you. I'd suggest you compose a fully compilable MWE including \documentclass and the appropriate packages that reproduces the problem, and post a new question.
8h
comment How best to differentiate questions and answers in a document without compromising on typesetting and readability?
@PacificOrion: That problem you mention with smash can happen with regular text as well -- the surrounding text somehow needs to know about that vertical space that was taken up. Try adding normal text afterwards and you'll notice that the vertical space is shorter than it is in normal display mode equations. Or make the \smashed content several lines high; the problem will be even more obvious. IMHO that is not a problem with using this proposed solution, it is a problem in using \smash and requires that the surrounding text know about it. If you post the full code I can try have a look.
9h
comment Vertical Spacing within align environment accounting for fractions
@ahorn: I don't think the math.SE site supports full TeX. I'd suggest compose a fully compilable MWE including \documentclass and the appropriate packages that reproduces the problem and post a new question on TeX.SE.
9h
comment Should I use \lstinline for the language keywords embedded in text?
@ajeh: I can't seem to duplicate it. I'd recommend you post a new question.
9h
comment How best to differentiate questions and answers in a document without compromising on typesetting and readability?
@cfr: Yeah, I think it is a bad idea -- I personally would not do it. But that isn't the thrust of this question -- perhaps would be as a new question though.
9h
answered How best to differentiate questions and answers in a document without compromising on typesetting and readability?
10h
answered mdframed margins
1d
comment pgfgantt bar alignment off
It would be helpful if you turned your code snippet into a fully compilable MWE including \documentclass and the appropriate packages that reproduces 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.
1d
comment Appending a full version of a document
@Rebbig: If you are asking about using a prefix other than -new for different types of labels, you could parse the value of #1 in the \renewcommand and adjust the prefix based on that, but not sure why that is any better? If you are referring to how the equations are displayed that is a totally different question (and most likely already has been asked and answered on TeX.SE).
1d
answered Control the height and the length of a frame
1d
comment Appending a full version of a document
@Rebbig: Have added a brief explanation. I would recommend you NOT restart the numbering of the equations in the appendix as this can be confusing, unless you are adding a prefix (ie., Equation A-1). If you really want to restart the equation numbering you can use \setcounter{equation}{0}. Seems as if hyperef is fine with this and the links are correct.