作者pgcci7339 (= =)
站内LaTeX
标题[问题] 乘号显示问题
时间Wed May 11 03:15:55 2011
刚刚在打乘「×」这个符号时出现了问题..
我在中文稿件输入 $3\times (1)$ 结果出现 3(1)而不是 3×(1)
想说好像怪怪的..再试一次
输入 $5\times A$ 结果还是出现 5A...
但我切换到英文稿件时出现的结果就是正常的..
我不知道是哪里出了问题...也GOOGLE不到Orz..
请问有解决的方法吗?谢谢大家帮忙^^
附上程式码,这是一开始做的设定:
%UTF8
\documentclass[12pt,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2.5cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\usepackage{color}
\definecolor{slight}{gray}{0.75}
\fboxsep=00.1pt
\usepackage{setspace}
\onehalfspacing
\usepackage{amstext,amsmath,amsthm,amssymb,latexsym}
\everymath{\displaystyle}
\usepackage{cases}
\usepackage{graphicx}% 可用 \includegraphics 插入图档
\theoremstyle{plain}
\newtheorem{thm}{\textbf{定理}}
\renewcommand{\proof}{\textbf{证明.}}
\def\fs{\nolinebreak[4]\hspace{.3em}\raise.7ex\hbox{。}\hspace{0.3em}}
\def\comma{\nolinebreak[4]\hspace{.3em}\raise.8ex\hbox{,}\hspace{0.3em}}
\def\commb{\nolinebreak[4]\hspace{.3em}\raise.8ex\hbox{、}\hspace{0.3em}}
\def\semicolon{\nolinebreak[4]\hspace{.3em}\raise.3ex\hbox{;}\hspace{0.3em}}
\def\colon{\nolinebreak[4]\hspace{.3em}\raise.3ex\hbox{:}\hspace{0.3em}}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\XeTeXlinebreaklocale "zh" %以中文方式断行
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt %在字元间加入0pt-1pt使文件左右
对齐
\usepackage{xunicode,xltxtra}
\usepackage{fontspec}
\setmainfont[BoldFont={cwTeXHeiBold},ItalicFont={cwTeXKaiItalic}]{cwTeXKai}
%设定粗体:cwTeX粗黑体 ; 斜体:cwTeX楷书italic ; 内文预设字型:cwTeX楷书
\newfontfamily\kai{标楷体} %新增"标楷体"及用法
\newfontfamily\ming{新细明体} %新增"新细明体"及用法
%cwTeXFangSong 仿宋体; cwTeXHeiBold 粗黑体; cwTeXKai 楷书; cwTeXFangSongTT 仿
宋体tt; cwTeXKaiItalic 楷书italic; cwTeXMing 明体; cwTeXMingMono 明体mono;
cwTeXYen 圆体
\newfontfamily\times{Times New Roman}
\makeatother
\usepackage{babel}
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.37.169.237
1F:→ Volodos:有没有很简单的example(用了什麽package,中文方案?) 05/11 03:17
※ 编辑: pgcci7339 来自: 114.37.169.237 (05/11 10:26)
2F:推 pi719:\newfontfamily\times{Times New Roman} 把这行拿掉即可 06/06 02:12