I would like to be able to change a non-\long macro into a \long macro. Here is a toy example of what I am looking to do:
\def\xxx#1{{\em #1}}
\makeitlong\xxx
\xxx{This is a test\par in two paragraphs.}
(What's missing, of course, is a "\makeitlong" command.)
If you're curious, my actual ...
Search found 8 matches
- Fri May 20, 2011 12:32 am
- Forum: Document Classes
- Topic: Making a macro long -- after the fact
- Replies: 0
- Views: 1282
- Tue May 10, 2011 7:22 pm
- Forum: MiKTeX and proTeXt
- Topic: "partially enabled" write18 not working?
- Replies: 0
- Views: 3157
"partially enabled" write18 not working?
I'm running MiKTeX 2.9 on Windows XP. I want one LaTeX document, when compiled, to cause another to be compiled.
For a minimal non-working example, here is the first document, called mwe1.tex:
\documentclass{article}
\begin{document}
\immediate\write18{latex mwe2.tex}
This is document 1.
\end ...
For a minimal non-working example, here is the first document, called mwe1.tex:
\documentclass{article}
\begin{document}
\immediate\write18{latex mwe2.tex}
This is document 1.
\end ...
- Fri Aug 20, 2010 6:21 pm
- Forum: Document Classes
- Topic: Hook for end of a Beamer frame
- Replies: 0
- Views: 1288
Hook for end of a Beamer frame
I'm writing a package to work with Beamer. Is there a hook I can use to run code automatically at the end of every frame? Ideally, I'd like something like an "\AtEndFrame" command that would work analogously to the \AtEndDocument command.
(My code uses TikZ with overlays to draw automatically ...
(My code uses TikZ with overlays to draw automatically ...
- Sun Feb 14, 2010 12:24 am
- Forum: Graphics, Figures & Tables
- Topic: opacity in TikZ with animate package
- Replies: 4
- Views: 5224
Re: opacity in TikZ with animate package
Thank you very much! I'm glad I was able to help you find a bug in pdftex, and I'm very pleased you were able to alter the animate package to resolve the issue. This will help tremendously with some classroom demonstrations I am writing.
Sincerely,
Anders Hendrickson
Sincerely,
Anders Hendrickson
- Fri Jan 15, 2010 6:53 am
- Forum: Graphics, Figures & Tables
- Topic: opacity in TikZ with animate package
- Replies: 4
- Views: 5224
opacity in TikZ with animate package
I am creating an animation of TikZ graphics using the animate package, taking
http://www.texample.net/tikz/examples/sine-and-cosine-functions-animation/
as a model. It is working fine, except that when I try to use opacity commands in TikZ within the animateinline environment, the entire TikZ ...
http://www.texample.net/tikz/examples/sine-and-cosine-functions-animation/
as a model. It is working fine, except that when I try to use opacity commands in TikZ within the animateinline environment, the entire TikZ ...
- Sat Sep 12, 2009 12:21 am
- Forum: Graphics, Figures & Tables
- Topic: Uncovering images in Beamer
- Replies: 4
- Views: 11219
Re: Uncovering images in Beamer
Thank you very much! I used your suggestion, along with the node options [outer sep=0pt,inner sep=0pt] to eliminate extra padding, and my beamer presentation looked great. Thanks again!
- Mon Sep 07, 2009 8:48 pm
- Forum: Graphics, Figures & Tables
- Topic: Uncovering images in Beamer
- Replies: 4
- Views: 11219
Uncovering images in Beamer
Here's a MWE:
Code: Select all
Code, edit and compile here:
\documentclass[xcolor=pst,dvips]{beamer}\usepackage{poker}\mode<presentation>{\usetheme{Singapore}\setbeamercovered{transparent}}\usepackage[english]{babel}\begin{document}\begin{frame}\crdtwos\pause\crdfourd\pause\crdKh\end{frame}\end{document}
- Mon Sep 07, 2009 5:23 pm
- Forum: Graphics, Figures & Tables
- Topic: Uncovering images in Beamer
- Replies: 4
- Views: 11219
Uncovering images in Beamer
In a Beamer presentation, I want to use the transparency effects of \uncover to keep some items onscreen but direct attention away from them. Unfortunately some of the items are images. The Beamer manual says "The transparency effect will automatically apply to all colors, except for the colors in ...