75,795 reputation
4130293
bio website petergrill1ATgmail
location San Jose, USA
age
visits member for 2 years, 2 months
seen 1 hour ago
stats profile views 2,363

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
awarded  Necromancer
12h
reviewed Approve suggested edit on Why is my document moving out of alignment after the first page
12h
comment PNG as a background?
Yes it is possible. Here is an example of using a background image with opacity: Background images for code listings. We'd really have to see a MWE to figure out why what you tried did not work for you.
13h
comment Highlight / color parts of text
The todonotes package is very useful for this.
14h
awarded  vertical-alignment
21h
awarded  Popular Question
22h
reviewed Approve suggested edit on How set hyphen (divis) to specific unicode char
1d
awarded  Enlightened
1d
awarded  Nice Answer
1d
comment Same page and multicols
Yep, definitely simpler... I blame David for teaching me to not read documentation. :-)
1d
revised Same page and multicols
info on expanding number of lines kept together
1d
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.
1d
answered Same page and multicols
1d
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.
1d
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.
2d
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.
2d
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