76,319 reputation
4130295
bio website petergrill1ATgmail
location San Jose, USA
age
visits member for 2 years, 2 months
seen 2 hours ago
stats profile views 2,376

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.


May
17
awarded  Enlightened
May
17
awarded  Nice Answer
May
17
comment Same page and multicols
Yep, definitely simpler... I blame David for teaching me to not read documentation. :-)
May
17
revised Same page and multicols
info on expanding number of lines kept together
May
17
comment Emphasizing some parts of string in lstlisting
While code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it.
May
17
answered Same page and multicols
May
16
comment Title page report with TikZ
It would be helpful if you composed a fully compilable MWE including \documentclass and the appropriate packages that sets up the problem. Complete the portions of this that you are able to, and show what you have attempted. 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.
May
16
comment Proper use of \mathchoice
I somehow feel as if this is going to have an issue with nested usage. I think that your example above works because \fbox{} created a grouping for you, and hence the redefinition of math style was kept local to that group. But I am not an expert on this subject, so perhaps there is no issue.
May
15
comment String Comparison with a \protected\def
Yeah, I should be able to extend it, and would if I actually understood the expansion related issues. But since I don't understand expansion, not sure I can do it. The reason I don't know the argument types is that I am processing a list which is partially specified in the .tex file using \SpecialValue and partially determined form the filesystem where it comes in as text special.
May
15
comment String Comparison with a \protected\def
This seems to be dependent on the order of #1 and`#2` of \MyIfStrEq. Is this expected? It would be better to not have to think of the order of the parameters when invoking \MyIfStrEq. For instance \MyIfStrEq{special}{\SpecialValue}{Pass 1}{Fail 1} fails the test.
May
15
awarded  Good Answer
May
15
awarded  Enlightened
May
15
awarded  Nice Answer
May
15
comment String Comparison with a \protected\def
Yep that seems to work in the MWE. Will check it in my code tomorrow. Thanks...
May
15
reviewed Approve suggested edit on Insert text inside a image in eps format
May
15
awarded  Popular Question
May
15
comment String Comparison with a \protected\def
@JosephWright: I'd prefer to not change \MyToken but anything that is localized to \MyStrEq would be fine. The second parameter will be a value of a \def from a modified version of GetShellOutput from Specify file name shell access via \@@input. If it makes a difference I can add that to the MWE.
May
15
comment Conflicting commands in preamble
The following does not have a problem so it must be somethign else in your preamble and hence a MWE woudl be good: \documentclass{IEEEtran} \usepackage{algorithm} \usepackage{hyperref} \newcommand{\theHalgorithm}{\thechapter.\arabic{algorithm}} \begin{document} Hello World! \end{document}
May
15
comment Conflicting commands in preamble
It would be helpful if you composed a fully compilable MWE including \documentclass and the appropriate packages that reprodcuces 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.
May
15
answered mdframed being cut across pages