Document Classescomplie a jarticle documentclass

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
vevo
Posts: 1
Joined: Sat Jan 10, 2009 4:59 pm

complie a jarticle documentclass

Post by vevo »

Hallo everybody,
I would like to compile the following .tex document:

Code: Select all

\documentclass[a4j,10pt,twocolumn,twoside]{jarticle}

\usepackage{dendentitle}
\usepackage[english]{babel}

\begin{document}

\title{Research Trend in Application of Human-Friendly Motion Control \\ -
Focusing on Safety of Robotic Manipulators -\\}
\author{087296 D1 Valerio Salvucci 博士1年}
\date{2008.12.19}
\makedendentitle{}{Horilab} 

this is English.
これは日本語です。

\end{document}
the dendentitle.sty is the following:

Code: Select all

%   ver1.0: 26 Apr 1991 by shisei
%    usage: \makedendentitle{}{
%   \maketitle
% jarticle.sty

\topmargin 0.3in
\textheight=25cm
\def\makedendentitle#1#2{\par
 \begingroup
 \if@twocolumn         
 \twocolumn[\@dendentitle{#1}{#2}]
 \else \newpage         
 \global\@topnum\z@ \@dendentitle{#1}{#2} \fi\@thanks
 \endgroup
 \let\makedendentitle\relax
 \let\@dendentitle\relax
 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}


\vskip -2cm
\def\@dendentitle#1#2{\newpage
 \null
%\vskip 2em
 \newlength \dendenwidth
 \dendenwidth = -2ex
 \advance \dendenwidth by \textwidth
 \begin{center}
 \framebox[\textwidth]{
   \parbox{\dendenwidth}
     {
       \vskip .5ex
       #1 \hfill \@date \\
         \parbox{\dendenwidth}{
           \vskip 1em
           \centering {\Large \gt \bf \@title \par}
           \vskip 1em
         }
       \vskip 0ex
       #2 \hfill \@author
       \vskip .5ex
     }
 }
 \end{center}
% \vskip 3em
 \vskip 1em
}
If I compile using platex in the.dvi file I get some strange characters (maybe cinese) or points, instead of the Japanese characters. If then I try to dvipdf it, in the .pdf I get only white spaces.

Anyone can help me?
Thank you very much,
vevo

ps. If I change the document class to article, add in the .tex file the following two lines

Code: Select all

\usepackage{fontspec}
\setmainfont{VL Gothic}
and delete the "\gt" in the line \centering {\Large \gt \bf \@title \par} of the dendentitle.spy I can compile correctly, but I would like to compile the jarticle document class using platex.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply