作者qazpoi753 (草間雨)
站內LaTeX
標題[問題] 關於中英文並排高低不同的問題
時間Mon May 5 18:34:44 2014
小弟最近使用Lyx打中文的論文
但是常常需要用到英文註記
而中英文並排的時候會發現英文明顯矮了一點
大概就像連結中圖片的情形
http://www.fotopu.com/fullsize/584881
想請問各位版上的高手這有沒有辦法讓中英文高度比較接近
不然版面看起來實在很奇怪orz
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.231.67.250
※ 文章網址: http://webptt.com/m.aspx?n=bbs/LaTeX/M.1399286088.A.81D.html
※ 編輯: qazpoi753 (61.231.67.250), 05/05/2014 18:35:33
※ 編輯: qazpoi753 (61.231.67.250), 05/05/2014 18:36:12
1F:→ obarisk:可是你的是小寫英文字啊 05/05 21:29
2F:→ qazpoi753:因為我有看到別的論文小寫英文字卻是在中間 05/05 21:40
3F:→ qazpoi753:也有同學用Latex打不會有此問題,所以想來請教Lyx的方法 05/05 21:43
4F:推 JamesChen:You should give the source code 05/06 04:43
抱歉,這兩天到處查資料結果忘了回這裡看看orz
這兩天發現數字也是比中文低了一點
我的原始碼如下
請各位高手看看我這個文字高低的問題有沒有救
% 預覽原始碼
%% LyX 2.1.0 created this file. For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass{report}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2.54cm,bmargin=2.54cm,lmargin=3.17cm,rmargin=3.17cm}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{amsmath}
\usepackage{setspace}
\doublespacing
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\numberwithin{figure}{section}
\numberwithin{equation}{section}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage[bf,small,center,indentafter,pagestyles]{titlesec}
\usepackage{CJKnumb}
\titleformat{\chapter}{\Huge\bfseries}{第\,\CJKnumber{\thechapter}章}{1em}{}
\titleformat{\section}{\large\bfseries}{\thesection}{1em}{}
\titleformat{\subsection}{\large\bfseries}{\thesubsection}{1em}{}
\makeatother
\begin{document}
\begin{CJK}{UTF8}{bsmi}%
樣本共變異數(sample\,covariance)
數字高低123
\end{CJK}
\end{document}
※ 編輯: qazpoi753 (61.231.67.250), 05/07/2014 23:19:10
5F:→ andrew43:Lyx顯示和編譯出來的PDF不一定一模一樣。PDF中是正常的嗎 05/07 23:27
6F:→ qazpoi753:不正常,PDF看起來就是英數矮中文一個頭 05/08 02:43
7F:→ andrew43:我自己編出來的PDF和你給的圖差不多。大概字體已決定了 05/08 18:08
8F:→ andrew43:和Lyx沒關係。 05/08 18:09
9F:→ obarisk:如果不是大小寫,那就字型問題了! 05/09 13:25