Search found 17 matches
- Mon Jun 22, 2015 7:08 pm
- Forum: General
- Topic: ifmtarg; can't reproduce examples in documentation
- Replies: 3
- Views: 3635
Re: ifmtarg; can't reproduce examples in documentation
Thanks very much, Johannes for your superfast reply. I *was* wondering about the {1} vs [1] thing. I need the \ifmtarg command for something a good bit more complicated, but got completely stuck trying to get past square one.
- Mon Jun 22, 2015 6:35 pm
- Forum: General
- Topic: ifmtarg; can't reproduce examples in documentation
- Replies: 3
- Views: 3635
ifmtarg; can't reproduce examples in documentation
Hi, I'm trying to get ifmtarg to work. In desparation, I tried simply to recreate the examples given in the documentation, i.e., in
ftp://ftp.dante.de/tex-archive/macros/latex/contrib/ifmtarg/ifmtarg.pdf
The following code is cribbed almost verbatim from the above document, except that I had to ...
ftp://ftp.dante.de/tex-archive/macros/latex/contrib/ifmtarg/ifmtarg.pdf
The following code is cribbed almost verbatim from the above document, except that I had to ...
- Tue Aug 13, 2013 1:36 am
- Forum: General
- Topic: colordvi package doesn't work with pdflatex
- Replies: 4
- Views: 7211
Re: colordvi package doesn't work with pdflatex
This is wonderful thanks, I'm now a total convert to xcolor. Thanks very much in particular for the \DefineColor macro.
- Mon Aug 12, 2013 4:49 pm
- Forum: General
- Topic: colordvi package doesn't work with pdflatex
- Replies: 4
- Views: 7211
colordvi package doesn't work with pdflatex
Thanks for the response, Clemens. I have a pretty strong preference for colordvi because \Red{text} it's a bit less cumbersome than \textcolor{red}{text} , but more important, because colordvi gives me a whole range of colors pre-made, like \BrickRed , \BurntOrange , etc. I presume xcolor gives me a ...
- Sun Aug 11, 2013 5:03 am
- Forum: General
- Topic: colordvi package doesn't work with pdflatex
- Replies: 4
- Views: 7211
colordvi package doesn't work with pdflatex
Hi
I'm finding that the colordvi package doesn't work with pdflatex. Nobody else seems to have complained about this on the web, as far as I can tell. The code below displays in red when I use latex, but in black when I use pdflatex.
\documentclass{article}%
\usepackage{colordvi}
\begin{document ...
I'm finding that the colordvi package doesn't work with pdflatex. Nobody else seems to have complained about this on the web, as far as I can tell. The code below displays in red when I use latex, but in black when I use pdflatex.
\documentclass{article}%
\usepackage{colordvi}
\begin{document ...
- Thu Aug 01, 2013 12:37 am
- Forum: General
- Topic: ifthenelse doesn't work with providecommand
- Replies: 3
- Views: 6240
ifthenelse doesn't work with providecommand
Aghh, thanks very much, I should have known that. I didn't know about
Thanks again, Leo
\providecommand
, it's just that \newcommand
is so annoying about errors. But I didn't know I could do without the ifthen call.Thanks again, Leo
- Wed Jul 31, 2013 10:28 pm
- Forum: General
- Topic: ifthenelse doesn't work with providecommand
- Replies: 3
- Views: 6240
ifthenelse doesn't work with providecommand
Hi
I'm trying to define a variable conditional on the setting of a counter, with an optional argument. Specifically, in the example below, the variable gOpt should return the second argument if the counter general is set to 1, and the first if the counter is set to 0 . If only one argument is ...
I'm trying to define a variable conditional on the setting of a counter, with an optional argument. Specifically, in the example below, the variable gOpt should return the second argument if the counter general is set to 1, and the first if the counter is set to 0 . If only one argument is ...
- Thu May 02, 2013 12:03 am
- Forum: General
- Topic: Recovery of Value by Condition
- Replies: 2
- Views: 4793
Re: Recovery of Value by Condition
Thank you very much indeed, Tom, this is perfect, Leo
- Mon Apr 29, 2013 7:08 pm
- Forum: General
- Topic: Recovery of Value by Condition
- Replies: 2
- Views: 4793
Recovery of Value by Condition
Hi,
I'm trying to condition on the current directory using the "currfile-abspath" package from currfile by means of ifthen . The command \getpwd does recover the pwd, but for some reason I can't condition on the value of \thepwd using ifthen. The problem seems to be with the ifthen command, since I ...
I'm trying to condition on the current directory using the "currfile-abspath" package from currfile by means of ifthen . The command \getpwd does recover the pwd, but for some reason I can't condition on the value of \thepwd using ifthen. The problem seems to be with the ifthen command, since I ...
- Wed Apr 24, 2013 10:57 pm
- Forum: General
- Topic: Construction of Macros for Tracking Changes
- Replies: 1
- Views: 1809
Construction of Macros for Tracking Changes
I'm working with a colleague who wants to effectively track changes on my document. I have set up macros that do things like striking out and adding text, along the lines of
\def\overstrike#1{\Red{\sf {\st{#1}}}}
but she doesn't want to type in every time she removes a comma, etc., \overstrike ...
\def\overstrike#1{\Red{\sf {\st{#1}}}}
but she doesn't want to type in every time she removes a comma, etc., \overstrike ...