#!/bin/tcsh -f

set fname=$1
set base=`basename $fname .pdf`

cat << EOF
\begin{figure}[htbp]
\begin{center}
\includegraphics[width=0.48\textwidth]{$fname}
\caption{default}
\label{$base}
\end{center}
\end{figure}

EOF