作者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/cn.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