The \ClassWarningNoLines and \ClassWarning commands only work when you use the \ProcessOptions command. How do I issue warnings after that? \ProcessOptions\relax
\ifthenelse{\boolean{someboolean}}{dosomething}{\ClassWarningNoLines{myclass}{Cannot use this command at this point}} I get an undefined ...
Search found 8 matches
- Sun Jan 25, 2009 12:50 am
- Forum: Document Classes
- Topic: How to output warnings
- Replies: 1
- Views: 1762
- Mon Jan 05, 2009 3:07 am
- Forum: Document Classes
- Topic: command scope
- Replies: 2
- Views: 2018
Re: command scope
Hmm... odd. I tried that before and it kept saying that the command was already defined. Works now though.
- Sun Jan 04, 2009 9:07 pm
- Forum: Document Classes
- Topic: command scope
- Replies: 2
- Views: 2018
command scope
How do I create a command that can only be used in a certain environment? Like how \item can only be used in either \enumerate and \itemize.
- Sat Jan 03, 2009 9:46 pm
- Forum: Document Classes
- Topic: [SOLVED] Mathpazo --- no small caps
- Replies: 2
- Views: 2930
[SOLVED] Mathpazo --- no small caps
TeX Live
That works for me too, but I'd like this in the document class I'm making.
---Edit---
It's because I tried mixing small caps with a bold face.
That works for me too, but I'd like this in the document class I'm making.
---Edit---
It's because I tried mixing small caps with a bold face.
- Sat Jan 03, 2009 8:35 pm
- Forum: Document Classes
- Topic: [SOLVED] Mathpazo --- no small caps
- Replies: 2
- Views: 2930
[SOLVED] Mathpazo --- no small caps
I've tried a few different things: \RequirePackage[osf]{mathpazo} \RequirePackage[osf,sc]{mathpazo} They enable the text figures, but not the small caps. I've tried both of these to get small caps: \textsc{some text here} {\scshape Some text here} Neither provided small caps. The only time it works ...
- Sat Jan 03, 2009 10:34 am
- Forum: General
- Topic: latex output files in a different directory to input files?
- Replies: 3
- Views: 27517
latex output files in a different directory to input files?
Well if you're in linux, you can do something like this:Haven't used LaTeX on windows, so not sure how that's handled.
Code: Select all
$ mkdir output
$ cd output
$ latex ../mylatexfile.tex
- Sat Jan 03, 2009 10:30 am
- Forum: General
- Topic: Code listing
- Replies: 5
- Views: 5336
Code listing
Like changing the background color of a text?
Preamble needs to have:
Code: Select all
\definecolor{yellow}{cmyk}{0,0,1,0}
\colorbox{yellow}{this is the highlighted text}
Code: Select all
\usepackage{color}
- Sat Jan 03, 2009 9:00 am
- Forum: Document Classes
- Topic: Better way to measure text width and height?
- Replies: 1
- Views: 3170
Better way to measure text width and height?
I've got some really ugly looking code and was hoping someone with a LOT more experience in LaTeX could help me clean it up. What it does is it calculates how wide the minipage width should be to contain the text. \renewcommand{\maketitle}{%
% Establish lengths
\newlength{\@contactinfowidth ...
% Establish lengths
\newlength{\@contactinfowidth ...