TeX - LaTeX Asked on July 9, 2021
foreignlanguage work in first test-tabular.
But foreignlanguage does not work in second tabular. How to switch language in tabular?
documentclass[a4paper,14pt]{extarticle}
usepackage[T1,T2A]{fontenc}
usepackage[english,russian]{babel}
usepackage{supertabular}
usepackage{multirow}
usepackage{makecell}
usepackage{listings}
input{glyphtounicode}
pdfgentounicode=1
usepackage{pdflscape}
usepackage{longtable}
usepackage{array}
begin{document}
begin{otherlanguage*}{english}
Work:``We will implement prudent and responsible macroeconomic policies to ensure mutually reinforcing effect of growth and to maintain economic and financial stability in the region, and prevent negative spillover effect.''
end{otherlanguage*}
begin{longtable}{|p{0.1textwidth} | p{0.1textwidth}|}
{foreignlanguage{english}{Work: some words in english.}}& А здесь русское длинное слово.
5 & 6
end{longtable}
renewcommandtheadfont{normalsizescshape}
begin{landscape}
begin{longtable}[c]{|p{0.081818linewidth}|p{0.081818linewidth}|p{0.081818linewidth}|p{0.081818linewidth}|p{0.081818linewidth}|p{0.081818linewidth}|p{0.081818linewidth}|p{0.081818linewidth}|p{0.081818linewidth}|p{0.081818linewidth}|}
hline
thead[c]{parbox{0.081818textwidth}{textbf{ITF.LEV}
}} & thead[c]{parbox{0.081818textwidth}{textbf{foreignlanguage{english}{TRTUTBL, c}}
}} & thead[c]{parbox{0.081818textwidth}{textbf{{begin{otherlanguage}{english}TRTUTBL, cend{otherlanguage}}}
}} & thead[c]{parbox{0.081818textwidth}{textbf{{selectlanguage{english}TVTETBL, cselectlanguage{russian}}}
}} & thead[c]{parbox{0.081818textwidth}{textbf{TVTUTBL, с}
}} & thead[c]{parbox{0.081818textwidth}{textbf{TVPCTBL, c}
}} & thead[c]{parbox{0.081818textwidth}{textbf{H1TBL}textbf{, }textbf{мор. миля}textbf{2}textbf{/c}
}} & thead[c]{parbox{0.081818textwidth}{textbf{DMODTBL, мор. миля}
}} & thead[c]{parbox{0.081818textwidth}{textbf{TVPETBL, с}
}} & thead[c]{parbox{0.081818textwidth}{textbf{TVVTT_TBL, с}
}} hline
endfirsthead
hline
thead[c]{parbox{0.081818textwidth}{textbf{ITF.LEV}
}} & thead[c]{parbox{0.081818textwidth}{textbf{foreignlanguage{english}{TRTUTBL, c}}
}} & thead[c]{parbox{0.081818textwidth}{textbf{{begin{otherlanguage}{english}TRTUTBL, cend{otherlanguage}}}
}} & thead[c]{parbox{0.081818textwidth}{textbf{{selectlanguage{english}TVTETBL, cselectlanguage{russian}}}
}} & thead[c]{parbox{0.081818textwidth}{textbf{TVTUTBL, с}
}} & thead[c]{parbox{0.081818textwidth}{textbf{TVPCTBL, с}
}} & thead[c]{parbox{0.081818textwidth}{textbf{H1TBL}textbf{, }textbf{мор. миля}textbf{2}textbf{/c}
}} & thead[c]{parbox{0.081818textwidth}{textbf{DMODTBL, мор. миля}
}} & thead[c]{parbox{0.081818textwidth}{textbf{TVPETBL, с}
}} & thead[c]{parbox{0.081818textwidth}{textbf{TVVTT_TBL, с}
}} hline
endhead
7
& 35
& 35
& 35
& 35
& 48
& .004
& 1.10
& 40
& 25
hline
end{longtable}
end{landscape}
end{document}
Probably you are satisfied with one of the following layouts:
documentclass[a4paper,14pt]{extarticle}
usepackage[T1,T2A]{fontenc}
usepackage[english,russian]{babel}
usepackage{makecell,rotating}
usepackage{xltabular}
renewcommandtheadfont{normalsizescshapebfseries}
begin{document}
settowidth{rotheadsize}{bfseries DMODTBL, мор. миляquad}
begin{longtable}{|*{10}{c|}}
hline
rothead{ITF.LEV}
& rothead{foreignlanguage{english}{TRTUTBL, c}}
& rothead{begin{otherlanguage}{english}TRTUTBL, cend{otherlanguage}}
& rothead{selectlanguage{english}TVTETBL, cselectlanguage{russian}}
& rothead{TVTUTBL, с}
& rothead{TVPCTBL, c}
& rothead{H1TBL, мор. миля2c}
& rothead{DMODTBL, мор. миля}
& rothead{TVPETBL, с}
& rothead{TVVTT_TBL, с} hline
endhead
7
& 35
& 35
& 35
& 35
& 48
& .004
& 1.10
& 40
& 25
hline
end{longtable}
settowidth{rotheadsize}{bfseries TVPETBL, сquad}
begin{longtable}{|*{10}{c|}}
hline
rothead{ITF.LEV}
& rothead{foreignlanguage{english}{TRTUTBL, c}}
& rothead{begin{otherlanguage}{english}TRTUTBL, cend{otherlanguage}}
& rothead{selectlanguage{english}TVTETBL, cselectlanguage{russian}}
& rothead{TVTUTBL, с}
& rothead{TVPCTBL, c}
& rothead{H1TBL, мор. миля2c}
& rothead{DMODTBL, мор. миля}
& rothead{TVPETBL, с}
& rothead{TVVTT_ TBL, с} hline
endhead
7
& 35
& 35
& 35
& 35
& 48
& .004
& 1.10
& 40
& 25
hline
end{longtable}
end{document}
Answered by leandriis on July 9, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP