3,978 reputation
2933
bio website cs.umb.edu/~eb
location Boston, MA
age 76
visits member for 2 years, 8 months
seen 4 hours ago

Working on several mss calling for increasing TeX sophistication - so learning ...

I tend to try to answer my own questions myself (often with ugly hacks!) so don't ask many here. As an answerer I'm better at do-it-outside-TeX and at helping newbies with easy questions than at competing with the wizards. I've used but never written a macro that needed \makeatletter.


Nov
20
comment Embedding LaTex code in pdf
This may help - it's not quite clear to me just what you want. tex.stackexchange.com/questions/167714/…
Nov
14
comment Combining LaTeX files with different formatting
The combine package might help: tug.ctan.org/macros/latex/contrib/combine/combine.pdf
Nov
11
comment How can I put the title/my name in the middle of my page?
What's your document class? Look up \maketitle, perhaps here: en.wikibooks.org/wiki/LaTeX/Title_Creation
Nov
9
comment Cross-reference two numbered environments
You could post your solution as an answer to your question. That will help others who come here in the future.
Nov
9
reviewed No Action Needed Using whole page with minipages
Nov
7
comment Cross-reference two numbered environments
The nice answers so far address your question, but they don't address one you didn't ask and might want to consider. I have found it very convenient to write the solutions right where the problems appear in the text, then make them appear at the end (or in another document). The answers package (and others) make this possible. You should be able to get the numbering and linking to work with its structure.
Nov
6
comment Using a RegEx to escape LaTeX special characters
Sounds like a job for a script (python, perl, sed, awk ...). You probably shouldn't call your before and after files header.tex and footer.tex since those are technical layout objects. How about before.tex and after.tex?
Nov
4
comment Environment which sends text conditionally to an appendix?
I'm pretty sure this can be done with a layer on top of constructions using the answers package. If no one else provides a solution I may work on one tomorrow.
Nov
2
comment said to have multiple labels in math environment
Is there an eq:ijk label anywhere else in that long document?
Nov
2
comment said to have multiple labels in math environment
Since your very minimal example works, something you deleted to make it is what is causing the problem. That should be a clue for you. If you're still puzzled, post the smallest example that does cause the problem.
Nov
2
comment What is the difference between a package and a template in LaTeX?
You can override commands defined in a package with macros in your document after you have invoked \usepackage. You may need \renewcommand to do that. There's no official LaTeX "template" - that usually refers to a document class or a package. You're always welcome to ask particular questions here about what you want to do in your document.
Oct
30
answered Alignment in matrix (bmatrix)
Oct
29
comment Paragraph overfull hbox
Consider using exp(A+B) instead of exp(A)exp(B) to shorten in a different way.
Oct
28
comment Variable number of arguments for \newcommand
+1 for popularizing xparse.
Oct
27
comment Is there really no better solution to “Overfull \hbox” than adding a line break?
Try sloppypar locally, just where you need it.
Oct
27
comment A problem about typesetting Mathematica code
Consider a verbatim environment: \verb!expression here!
Oct
26
comment Showcase TeX Typography for TUG's Calendar
Fix spelling of "Siting" ?
Oct
24
comment How best to differentiate questions and answers in a document without compromising on typesetting and readability?
Since the questions seem to be short and the answers long, consider boxing the former and using plain text for the latter. Then page breaks in a box would be less likely, and possibly easily preventable.
Oct
23
revised Problems with \eqref{}
formatted code sample
Oct
23
comment Problems with \eqref{}
Have you compiled multiple times? LaTeX can't get the references right until you do.