Hi,
a couple of loose ends I have concerning my Latex document (note that I am using the IEEEtran.cls template):
1) How do I change how the section heading are displayed? Currently its centred and displays the header as III. Section Name. I'd prefer it to be left-aligned and displayed as 3. Section ...
Search found 5 matches
- Mon Aug 13, 2007 7:24 pm
- Forum: General
- Topic: Section headings and figure captions
- Replies: 1
- Views: 4729
- Thu Aug 09, 2007 9:28 pm
- Forum: General
- Topic: Errors with algorithm package: Undefined control sequence
- Replies: 8
- Views: 35021
Re: Algorithm class
Sorry, I have one more question...
I start off my pseudo code with:
\begin{algorithm}{}
\label{alg:qt}
\caption{$QT\_Clust(S,d)$}
Then later in my text I do \ref{alg:qt} later in my text but it returns the section number the pseudo code is in and no information about the actual algorithm. How do I ...
I start off my pseudo code with:
\begin{algorithm}{}
\label{alg:qt}
\caption{$QT\_Clust(S,d)$}
Then later in my text I do \ref{alg:qt} later in my text but it returns the section number the pseudo code is in and no information about the actual algorithm. How do I ...
- Thu Aug 09, 2007 9:09 pm
- Forum: General
- Topic: Errors with algorithm package: Undefined control sequence
- Replies: 8
- Views: 35021
Re: Algorithm class
It works now. I didn't realize that the commands were case sensitive. Thanks. One of other thing I'm curious about is that in the \Comment command is there a way to change the way the comment is produced? Right now a little arrow is used to show the start of the comment. I would prefer something ...
- Thu Aug 09, 2007 7:04 pm
- Forum: General
- Topic: Errors with algorithm package: Undefined control sequence
- Replies: 8
- Views: 35021
Errors with algorithm package: Undefined control sequence
Hi,
thanks for the \ref comment, that works now.
I removed the \Else line but I still get the same error for the other lines.
For some reason though if I change the inside of \begin{algorithmic} to this: I get no errors.
thanks for the \ref comment, that works now.
I removed the \Else line but I still get the same error for the other lines.
For some reason though if I change the inside of \begin{algorithmic} to this: I get no errors.
- Thu Aug 09, 2007 5:46 pm
- Forum: General
- Topic: Errors with algorithm package: Undefined control sequence
- Replies: 8
- Views: 35021
Errors with algorithm package: Undefined control sequence
Hi,
this has been driving me nuts on how come its not working:
\usepackage{algorithm}
\usepackage{algpseudocode}
...
\begin{algorithm}{}
\caption{$QT\_Clust(S,d)$}
\label{alg:qt}
\begin{algorithmic}[1]
\IF{$N$ is even}
\STATE $X \Leftarrow X \times X$
\STATE $N \Leftarrow N / 2$
\ELSE{$N$ is odd ...
this has been driving me nuts on how come its not working:
\usepackage{algorithm}
\usepackage{algpseudocode}
...
\begin{algorithm}{}
\caption{$QT\_Clust(S,d)$}
\label{alg:qt}
\begin{algorithmic}[1]
\IF{$N$ is even}
\STATE $X \Leftarrow X \times X$
\STATE $N \Leftarrow N / 2$
\ELSE{$N$ is odd ...