113,598 reputation
14226481
bio website petergrill1ATgmail
location San Jose, USA
age
visits member for 3 years, 9 months
seen 3 hours 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.


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).


4h
accepted Basic S Column Alignment with siunitx package
4h
comment Tikz \draw as part of style (Drawing something inside each node of certain type)
Should use \tikzset instead of \tikzstyle as per Should \tikzset or \tikzstyle be used to define TikZ styles?.
5h
awarded  Guru
16h
awarded  Enlightened
18h
awarded  Nice Answer
18h
revised Wrapping text with curly braces
MWE
22h
revised Wrapping text with curly braces
other uses of {}
1d
revised Wrapping text with curly braces
code formatting
1d
answered Wrapping text with curly braces
1d
comment Wrapping text with curly braces
It doesn't crash as it is valid syntax. The braces define a group, which means that changes will be local to that group. Just because you don't have any settings in there to keep local doesn't make it invalid syntax. For instance, xxx {\bfseries abc} yyy will make only the abc to be bold - the yyy will be in normal font. The braces keep the \bfseries local to within the { and }.
2d
comment 2 histograms with common x-axis are not aligned
Does ybar=stacked do what you want? Also, please try cutting and pasting the code posted here and make sure it compiles.
2d
revised Multiline regression equation in Latex
corrected as per egreg's comment
Dec
18
comment Hiding description part of item in description environment
@Henry: The alternate solution (which does not use the comment pacakge) already provides for this (but does requite the \item content to be an environment).
Dec
18
revised Hiding description part of item in description environment
corrected minor typos & show without hiding
Dec
18
comment Hiding description part of item in description environment
@Henry: As you still want the labels, I have updated solution to hide just the answer environment.
Dec
18
answered Hiding description part of item in description environment
Dec
18
comment Multiline regression equation in Latex
@Mico: Don't know so will defer that to the OP (it isn't in the MWE provided in the question).
Dec
18
answered Multiline regression equation in Latex
Dec
18
comment Multiline regression equation in Latex
Welcome to TeX.SE. You can either use aligned if you want to start in the paragraph, but better to make it display mode and use align*.
Dec
18
comment What is the correct load order for hyperref
hyperref can be last, but requires using \AtEndPreamble instead of AtBeginDocument (requires the etoolbox package). The reason for this is that hyerref redefines some macros at \AtBeginDocument the \bgroup needs to be after that. When you moved the \AtBeginDocument{\bgroup} to after hyperref your bgroup will be processed after the \AtBeginDocument{} issued by hyperref and hence that also works.