3

I want to introduce table that has multilingual content which are (Arabic, English, Vietnamese and Armenian) as the following figure

this

Any idea how to produce that

UPDATE:

code used to produced table

\documentclass[12pt,journal,compsoc]{IEEEtran}
\usepackage{arabtex}
\usepackage{utf8}{inputenc}
\usepackage[english,vietnam]{babel}
\setcode{utf8}
\usepackage{float}
\usepackage[pdftex]{graphicx}
\usepackage{multirow}
\usepackage{array}
\usepackage{rotating}


\begin{document}



% Table generated by Excel2LaTeX from sheet 'Sheet1'
\begin{table}[htbp]
  \centering
  \caption{Add caption}
    \begin{tabular}{|c|c|c|c|c|c|}
    \hline
    Bigraph& Arabic & Vietnamese & Armenian & English & English\\
           & CCA   & HC    & HC    & Brown& LOB \\
    \hline
    1     & \<ال>    & là    & ու    & th    & th \\
    \hline
    2     & \<لم>   &  ên   & ան    & he    & he \\
    \hline
    3     & \<ية>   & th    & եր    & in    & in \\
    \hline
    4     & \<لا>    & ch    & ար    & er    & er \\
    \hline
    \end{tabular}%
  \label{tab:addlabel}%
\end{table}%


\end{document}
  • 1
    Welcome to the TeX.SX! Could you please add a code of your efforts, if any? – Malipivo Apr 12 '14 at 12:34
  • @Malipivo i could only add Arabic and English by using arabtex package – Alhawiti Apr 12 '14 at 12:38
  • 1
    I see, so the real problem is how to load next fonts and use them to typeset Vietnamese and Armenian words. Oh yes, please, add small example, it is a starting point for the solvers, otherwise they must start from a scratch. – Malipivo Apr 12 '14 at 12:41
  • @Malipivo i have added MWE as required – Alhawiti Apr 12 '14 at 15:03
2

I tried to typeset it without ArabTeX, I've used the fontspec package and the Code2000 font. It is hard to say if this is what you need, if case you must use pdflatex, there are some fonts for Armenian and Vietnamese. I processed it with xelatex.

Next option would be to prepare this table in a separate PDF file with xelatex, crop it and include it afterwards into the main TeX file processed by pdflatex.

%! xelatex mal-multilt.tex
% Code2000 font: http://web.archive.org/web/20101122142710/http://code2000.net/code2000_page.htm
\documentclass[12pt,journal,compsoc]{IEEEtran}
% for LuaLaTeX: http://tex.stackexchange.com/questions/21065/typesetting-arabic-with-lualatex
%\usepackage{luatextra}
%\usepackage{bidi}
%\usepackage{xltxtra}
\pagestyle{empty}
\usepackage{fontspec}
\begin{document}
Text before (Latin Modern).
\begin{table}[htbp]
  \centering
  \caption{Add caption}
  \setmainfont{Code2000}
  \def\arabic#1{{\setmainfont[Script=Arabic, Language=Arabic]{Amiri}#1}}
    \begin{tabular}{|c|c|c|c|c|c|}
    \hline
    Bigraph& Arabic & Vietnamese & Armenian & English & English\\ & CCA   & HC    & HC    & Brown& LOB \\
    \hline
    1     & \arabic{ال}    & là    & ու    & th    & th \\
    \hline
    2     & \arabic{لم}   &  ên   & ան    & he    & he \\
    \hline
    3     & \arabic{ية}   & th    & եր    & in    & in \\
    \hline
    4     & \arabic{لا}   & ch    & ար    & er    & er \\
    \hline
    \end{tabular}%
  \label{tab:addlabel}%
\end{table}%
Text after (LM).
\end{document}

mwe

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.