在 CV 课程 fortyseconds 中,编译文档时,无点 i 存在问题,显示为 5。我正在使用 Chrome 在 Overleaf 网站上编译该文档。
当我输入时更清楚Kayıhan
或Kay{\i}han
它显示为Kay5han
。
该类使用utf8:
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
所有其他土耳其语字符都可以,但只有无点字符可以,可以写为ı
或{\i}
。
可以找到该类这里文件内容如下:
\documentclass[
a4paper,
% showframes,
% maincolor=cvgreen,
% sectioncolor=red,
% subsectioncolor=orange
% sidebarwidth=0.4\paperwidth,
% topbottommargin=0.03\paperheight,
% leftrightmargin=20pt
]{fortysecondscv}
% improve word spacing and hyphenation
\usepackage{microtype}
\usepackage{ragged2e}
% take care of proper font encoding
%\ifxetex
% \usepackage{fontspec}
% \defaultfontfeatures{Ligatures=TeX}
%\newfontfamily\headingfont[Path = fonts/]{segoeuib.ttf} % local font
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[turkish]{babel}
%\usepackage[sfdefault]{noto} % use noto google font
%\fi
% enable mathematical syntax for some symbols like \varnothing
\usepackage{amssymb}
% bubble diagram configuration
\usepackage{smartdiagram}
\smartdiagramset{
% defaut font size is \large, so adjust to harmonize with sidebar layout
bubble center node font = \footnotesize,
bubble node font = \footnotesize,
% default: 4cm/2.5cm; make minimum diameter relative to sidebar size
bubble center node size = 0.4\sidebartextwidth,
bubble node size = 0.25\sidebartextwidth,
distance center/other bubbles = 1.5em,
% set center bubble color
bubble center node color = maincolor!70,
% define the list of colors usable in the diagram
set color list = {maincolor!10, maincolor!40,
maincolor!20, maincolor!60, maincolor!35},
% sets the opacity at which the bubbles are shown
bubble fill opacity = 0.8,
}
%-------------------------------------------------------------------------------
% PERSONAL INFORMATION
%-------------------------------------------------------------------------------
% profile picture
\cvprofilepic{pics/profile.png}
% your name
\cvname{kay{\i}ıhanğş}
% job title/career
\cvjobtitle{Panda Scientist,\\[0.2em] Panda of the Year}
% date of birth
\cvbirthday{Mar 7, 2019}
% short address/location, use \newline if more than 1 line is required
\cvaddress{Park Ave.~1, 555 555 B-Woods}
% phone number
\cvphone{+86 555 555 555}
% personal website
\cvsite{https://pandascience.net}
% email address
\cvmail{[email protected]}
% pgp key
\cvkey{4096R/FF00FF00}{0xAABBCCDDFF00FF00}
% add additional information
% \newcommand{\additional}{some more?}
% add more profile sections to sidebar on first page
\addtofrontsidebar{
% include gosquare national flags from https://github.com/gosquared/flags;
% naming according to ISO 3166-1 alpha-2 country codes
\graphicspath{{pics/flags/}}
}
%-------------------------------------------------------------------------------
% TABLE ENTRIES RIGHT COLUMN
%-------------------------------------------------------------------------------
\begin{document}
\makefrontsidebar
\cvsection{Working Experience}
\begin{cvtable}
\cvitem{currently}{CEO The Panda Way}{Start Up}{Chief executive officer, Head
developer and yoga ambassador of 'The Panda Way' - A company for pandas from
pandas that invents, advertises and distributes panda-related content all
over the world.}
\cvitem{2015 -- 2018}{Panda Scientist}{Bamboo University}{
Reasearching the impact of adequate bamboo nutrition compared to
conventional feeding methods.}
\cvitem{2010 -- 2015}{Bamboo Broker}{Stock Exchange}{Continuously achieving
better bamboo bangs for the buck.}
\end{cvtable}
\cvsignature
\end{document}
您认为可能存在什么问题?
答案1
我现在可以重现该问题。
TeX Live 2018 有一个错误版本,它会不幸地将smartdiagram.sty
的含义改为。\i
5
Overleaf 使用 TeX Live 2018,因此存在缺陷smartdiagram
。
可能的解决方法。
避免
smartdiagram
。从 CTAN下载
smartdiagram.sty
并使用与您的项目位于同一文件夹中的修复版本。\i
保存加载前的含义smartdiagram
,并在加载后恢复\let\savedi\i \usepackage{\smartdiagram} \let\i\savedi