用希腊字母枚举列表

用希腊字母枚举列表

我是 LaTeX 的新手,在枚举子列表方面遇到了问题。

内容是希腊文,TexMaker 向导已自动添加了这部分代码:

\usepackage[utf8]{inputenc}
\usepackage[greek]{babel}

因此,我在编辑器中写的所有内容都是希腊语(即使我用英语写,它也会自动将其更改为希腊语)。

我遇到的问题是在子列表的标签中。第一个列表有如下数字1 -> 2 -> 3 -> ....

子列表中有希腊字母,这没问题,但我这里有两个问题。标签如下α' -> β' -> γ' -> δ' -> ε' -> þ'

1) 有什么方法可以删除撇号?我尝试过在\begin{document}此行之前添加\renewcommand{\textdexiakeraia}{},但没有成功。

2)第二个问题是第六个字母。应该是,στ但是它是另一个字符。

我使用 TexMaker 4.3 和 MikTex 2.9

编辑:这是 MWE

\documentclass[10pt,a4paper,twoside]{report}

\usepackage[utf8]{inputenc}
\usepackage[greek]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}

\renewcommand{\textdexiakeraia}{}

\begin{document}
   \begin{enumerate}
    \item 
       \begin{enumerate}
          \item $45 = 45$
          \item $38 > 36$
          \item $ 456 < 465$
          \item $8.765 < 8970$
          \item $90.876 > 86.945$
          \item $345 < 5.690$ 
        \end{enumerate}
    \item ...
    \item ...
    \end{enumerate}
\end{document}

编辑2:使用‘\listfiles’的文件列表

 *File List*
  report.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
inputenc.sty    2008/03/30 v1.1d Input encoding file
    utf8.def    2008/04/05 v1.1m UTF-8 support for inputenc
   t1enc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
  ot1enc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
  omsenc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
   babel.sty    2008/07/08 v3.8m The Babel package
 bblopts.cfg    2006/07/31 v1.0 MiKTeX 'babel' configuration
   greek.ldf    2005/03/30 v1.3l Greek support from the babel system
  lgrenc.def    2013/07/16 v0.9 LGR Greek font encoding definitions
  lgrenc.dfu    2013/07/18 1.4.1 UTF-8 support for Greek
greek-fontenc.def    2013/11/28 v0.11 Common Greek font encoding definitions
 amsmath.sty    2013/01/14 v2.14 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
amsfonts.sty    2013/01/14 v3.01 Basic AMSFonts support
 amssymb.sty    2013/01/14 v3.01 AMS font symbols
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  pdftex.def    2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty    2010/04/08 v1.3 Providing info/warning/error messages (HO)
 ltxcmds.sty    2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
geometry.sty    2010/09/12 v5.6 Page Geometry
   ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
  ifvtex.sty    2010/03/01 v1.5 Detect VTeX and its facilities (HO)
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
geometry.cfg
  lgrcmr.fd    2013/09/01 v1.0 Greek European Computer Regular
supp-pdf.mkii
    umsa.fd    2013/01/14 v3.01 AMS symbols A
    umsb.fd    2013/01/14 v3.01 AMS symbols B
 ***********

答案1

如果我使用

\renewcommand{\textdexiakeraia}{}

我在二级枚举列表中没有得到撇号(正确的是数字符号)。6 的符号是“stigma”(U+03DB);如果你想输出组合 στ 而不是 ϛ,你可以重新定义\textstigma

\renewcommand{\textstigma}{\textsigma\texttau}

完整示例:

\documentclass[10pt,a4paper,twoside]{report}

\usepackage[utf8]{inputenc}
\usepackage[greek]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}

\renewcommand{\textdexiakeraia}{}
\renewcommand{\textstigma}{\textsigma\texttau}

\begin{document}
   \begin{enumerate}
    \item
       \begin{enumerate}
          \item $45 = 45$
          \item $38 > 36$
          \item $ 456 < 465$
          \item $8.765 < 8970$
          \item $90.876 > 86.945$
          \item $345 < 5.690$
        \end{enumerate}
    \item ...
    \item ...
    \end{enumerate}
\end{document}

在此处输入图片描述


这是我的文件列表:

 *File List*
  report.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
inputenc.sty    2014/04/30 v1.2b Input encoding file
    utf8.def    2008/04/05 v1.1m UTF-8 support for inputenc
   t1enc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
  ot1enc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
  omsenc.dfu    2008/04/05 v1.1m UTF-8 support for inputenc
   babel.sty    2014/03/24 3.9k The Babel package
   greek.ldf    2014/07/20 v1.9 Greek support for the babel system
  lgrenc.def    2013/12/02 v0.11.2 LGR Greek font encoding definitions
  lgrenc.dfu    2013/07/18 1.4.1 UTF-8 support for Greek
greek-fontenc.def    2013/11/28 v0.11 Common Greek font encoding definitions
 amsmath.sty    2013/01/14 v2.14 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
amsfonts.sty    2013/01/14 v3.01 Basic AMSFonts support
 amssymb.sty    2013/01/14 v3.01 AMS font symbols
graphicx.sty    2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    2014/05/08 v1.15 key=value parser (DPC)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live
  pdftex.def    2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty    2010/04/08 v1.3 Providing info/warning/error messages (HO)
 ltxcmds.sty    2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
geometry.sty    2010/09/12 v5.6 Page Geometry
   ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
  ifvtex.sty    2010/03/01 v1.5 Detect VTeX and its facilities (HO)
 ifxetex.sty    2010/09/12 v0.6 Provides ifxetex conditional
  lgrcmr.fd    2013/09/01 v1.0 Greek European Computer Regular
supp-pdf.mkii
pdftexcmds.sty    2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
epstopdf-base.sty    2010/02/09 v2.5 Base part for package epstopdf
  grfext.sty    2010/08/19 v1.1 Manage graphics extensions (HO)
kvdefinekeys.sty    2011/04/07 v1.3 Define keys (HO)
kvoptions.sty    2011/06/30 v3.11 Key value format for package options (HO)
kvsetkeys.sty    2012/04/25 v1.16 Key value parser (HO)
etexcmds.sty    2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
epstopdf-sys.cfg    2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
    umsa.fd    2013/01/14 v3.01 AMS symbols A
    umsb.fd    2013/01/14 v3.01 AMS symbols B
 ***********

diff你的(>表示我的列表,<表示你的列表):

3c3
< inputenc.sty    2014/04/30 v1.2b Input encoding file
---
> inputenc.sty    2008/03/30 v1.1d Input encoding file
8,10c8,11
<    babel.sty    2014/03/24 3.9k The Babel package
<    greek.ldf    2014/07/20 v1.9 Greek support for the babel system
<   lgrenc.def    2013/12/02 v0.11.2 LGR Greek font encoding definitions
---
>    babel.sty    2008/07/08 v3.8m The Babel package
>  bblopts.cfg    2006/07/31 v1.0 MiKTeX 'babel' configuration
>    greek.ldf    2005/03/30 v1.3l Greek support from the babel system
>   lgrenc.def    2013/07/16 v0.9 LGR Greek font encoding definitions
20,21c21,22
< graphicx.sty    2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
<   keyval.sty    2014/05/08 v1.15 key=value parser (DPC)
---
> graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
>   keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
24c25
< graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live
---
> graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
31a33
> geometry.cfg
34,42d35
< pdftexcmds.sty    2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
< ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
< epstopdf-base.sty    2010/02/09 v2.5 Base part for package epstopdf
<   grfext.sty    2010/08/19 v1.1 Manage graphics extensions (HO)
< kvdefinekeys.sty    2011/04/07 v1.3 Define keys (HO)
< kvoptions.sty    2011/06/30 v3.11 Key value format for package options (HO)
< kvsetkeys.sty    2012/04/25 v1.16 Key value parser (HO)
< etexcmds.sty    2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
< epstopdf-sys.cfg    2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live

看来您的发行版已经过时了,特别是babelbabel-greek

相关内容