Search found 17 matches

by daiyue
Thu Feb 18, 2016 7:52 pm
Forum: General
Topic: Latex Misc bib show year first
Replies: 1
Views: 1976

Latex Misc bib show year first

Hi, I have the following @misc bibliography,

@MISC{UIUCRepository,
title = "The {UIUC} Web Integration Repository",
year = "2003",
howpublished = "Computer Science Department, University of Illinois at Urbana-Champaign. \url{http://metaquerier.cs.uiuc.edu/repository}"
}

But it is shown as ...
by daiyue
Sat Feb 06, 2016 8:06 pm
Forum: Graphics, Figures & Tables
Topic: Cannot determine size of graphic when inserted a pdf image
Replies: 4
Views: 29302

Cannot determine size of graphic when inserted a pdf image

Hi, I tried to insert a pdf image using the code:


\usepackage{graphicx}
\begin{figure}
\centering
\includegraphics[scale=0.4]{time_elapsed.pdf}
\caption{Processing speed for SVM Classification}
\label{fig5.5}
\end{figure}


but got a error message:

! LaTeX Error: Cannot determine size of ...
by daiyue
Sun Aug 16, 2015 5:39 pm
Forum: General
Topic: How to add headings for splitted algorithms
Replies: 5
Views: 7313

How to add headings for splitted algorithms

Johannes_B wrote:How did you generate the splitted algorithm? Can you show us a minimal working example?
I have modified my OP.

thanks
by daiyue
Sun Aug 16, 2015 4:35 pm
Forum: General
Topic: How to continue displaying an algorithm if it is too long?
Replies: 12
Views: 27999

How to continue displaying an algorithm if it is too long?

The thing is when I was using algorithmic , there seems to be no end if and such appears. So I was wondering how to turn such thing off.

You could create your own macro which saves that work:

\newcommand\myIf[2]{\If{#1}#2\EndIf}
\newcommand\myWhile[2]{\While{#1}#2\EndWhile}


Using requires ...
by daiyue
Sun Aug 16, 2015 4:26 pm
Forum: General
Topic: How to add headings for splitted algorithms
Replies: 5
Views: 7313

How to add headings for splitted algorithms

Hi, after I splitted a long algorithm into 2-3 parts across 3 pages. I now add a caption like "Algorithm 1 continued" to each of the consecutive part.

\begin{algorithm}
\caption{Construct relational tables}
\label{alg3}
\begin{algorithmic}[1]
\Input a set of data item clusters $C$
\Output a ...
by daiyue
Sun Aug 16, 2015 2:10 pm
Forum: General
Topic: How to continue displaying an algorithm if it is too long?
Replies: 12
Views: 27999

How to continue displaying an algorithm if it is too long?

Stefan_K wrote: \EndIf and such can hardly be shortened, ay they belong to the syntax. You need to close blocks.
The thing is when I was using algorithmic, there seems to be no end if and such appears. So I was wondering how to turn such thing off.
by daiyue
Sun Aug 16, 2015 2:03 pm
Forum: General
Topic: How to continue displaying an algorithm if it is too long?
Replies: 12
Views: 27999

How to continue displaying an algorithm if it is too long?

Johannes_B wrote:This seems to be a duplicate to TeX.SX.
Sry, I didn't know the two sites are related. So I tried my luck and posted on both sites.
by daiyue
Sun Aug 16, 2015 12:53 pm
Forum: General
Topic: How to continue displaying an algorithm if it is too long?
Replies: 12
Views: 27999

How to continue displaying an algorithm if it is too long?

Sry for the minimal working example, as there a separated style class file, and a main tex file along with several individual tex files as chapters in the thesis. It might be difficult to pull up a minimal working example to reproduce the problem.

By Googling the algorithm split problem, I have ...
by daiyue
Sat Aug 15, 2015 7:27 pm
Forum: General
Topic: How to continue displaying an algorithm if it is too long?
Replies: 12
Views: 27999

How to continue displaying an algorithm if it is too long?

Hello,

please post a of your code, which shows the problem.

Stefan

Here it is.

{\scriptsize
\begin{algorithm}
\caption{Construct relational tables}
\label{alg3}
\begin{algorithmic}[1]
\REQUIRE a set of data item clusters $C$
\ENSURE a relational table with all data items aligned
\STATE Set ...
by daiyue
Sat Aug 15, 2015 6:33 pm
Forum: General
Topic: How to continue displaying an algorithm if it is too long?
Replies: 12
Views: 27999

How to continue displaying an algorithm if it is too long?

Hi, I have a situation that an algorithm has too many lines (too long), which can't be fitted into one page. Then the remainder of the algorithm couldn't be displayed in the next page so some reason. I am wondering how to resolve this issue?

ps. I am still using the same PhD thesis template ...