[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LaTeX CJK beginner's bumble



Min> Can you post card.tex?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% namecard_layout.tex                                             %%
%% (c) 2002 Arne Goetje                                            %%
%% arne@....goetje-online......de                                  %%
%% This is an example only. If you want to redistribute this file, %%
%% you may do so, but please remove my personal data from it. :-)  %%
%% --------------------------------------------------------------- %%
%% This layout fits for Avery White Business Cards No. 8571.       %%
%% If you use different cards, you might need to modify the        %%
%% measurements.                                                   %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{article}
% enable Chinese, Japanese, Korean text.
\usepackage{CJK}
% for better layout and multicolumn text
\usepackage{vmargin,multicol}
% use T1 fonts instead of bitmap
\usepackage[T1]{fontenc}
% enable support for tables
\usepackage{array}

% set default font family to Helvetica (phv) [Times -> ptm]
\renewcommand{\familydefault}{phv}

% set the indent of every paragraph to 0pt
\setlength{\parindent}{0pt}
% 4pt extra space between the rows
\setlength{\extrarowheight}{4pt}

\setpapersize[portrait]{USlegal}
% set the margins: {left}{top}{right}{bottom}{head height}{head distance from top}{foot height}{foot distance from bottom}
\setmarginsrb{19mm}{11mm}{19mm}{11mm}{0mm}{0mm}{0mm}{0mm}
% get an empty page without pagenumbering
\pagestyle{empty}

% set fontsize to normal
\normalsize

% end preamble, start document
\begin{document}

% start CJK text {encoding}{fontstyle}
\begin{CJK*}{Bg5}{ming}
% set the ~ sign to be a proper space between Chinese and Latin chars
  \CJKtilde
% start minipage (a page within a page) [position][height][inner position]{width}
  \begin{minipage}[b][2in][c]{3.5in}
    \begin{center}
% change fontsize (\tiny, \scriptsize, \footnotesize, \small, \normalsize, \laarge, \Large, \LARGE, \huge, \Huge)
      \large Arne Goetje\\
      \large 高盛华\\
      \vspace{4mm}
      \small 9F-2, ------------------------aoyuan City, 33065\\
      \small Taiwan, Republic of -----\\
      \vspace{1mm}
      \small 33065~桃园市大业路----------~楼之~2\\
      \begin{multicols}{2}
        \small 电话~Phone:\\
        \small +886-----------\\
        \small 电子邮件~E-Mail:\\
        \small arne@g---------ine.de
      \end{multicols}
    \end{center}
  \end{minipage}
  \begin{minipage}[b][2in][c]{3.5in}
    \begin{center}
.....
\\
% here starts the next row on the page (2 cards per row)
  \begin{minipage}[b][2in][c]{3.5in}
.....
\end{CJK*}
\end{document}

--
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.



Reply to: