2017-03-20 10 views
1

私はTexlive2016でtwentysecondcv.clsで自分のCVをやっていますが、フォントの形に問題があります。 .clsファイルで提供パッケージとして宣言されているClearSan.styはここでは明確ではなく、コードを認識しないデフォルトのフォントを示しています。私は実際にそれを実行するXeLatexを作る方法を知らない。フォントの形状に関する未定義のページがたくさん見つかりましたが、解決策が見つかりませんでした。もし私がたくさん感謝してくれるようにしてください私にとって必ずしもClearSansを使用することは重要ではありません。sanserifは私の出力ファイルより優れているはずです。コンソールで、ここで LaTeX - twentysecondcv.clsで「フォントの形状が未定義」

事前

ファイル

allfiles

おかげで、作者からOUTPUTFILEこの

Some font shapes were not available, defaults substituted. 

twentysecondcv.clsを表示されます私は希望を持っていfontshape私のcvサンセリフ

Document Class: article 2014/09/29 v1.4h Standard LaTeX document class 
(/usr/local/texlive/2016basic/texmf-dist/tex/latex/base/size10.clo)) 

LaTeX Warning: You have requested document class `twentysecondcv', 
       but the document class provides `ClearSans'. 

Document Class: ClearSans 
(./ClearSans.sty 



LaTeX Font Warning: Font shape `T1/ClearSans(0)/m/n' undefined 
(Font)    using `T1/cmr/m/n' instead on input line 13. 

LaTeX Font Warning: Font shape `T1/ClearSans(0)/m/sc' undefined 
(Font)    using `T1/ClearSans(0)/m/n' instead on input line 56. 

LaTeX Font Warning: Font shape `EU1/FontAwesome(0)/m/sc' undefined 
(Font)    using `EU1/FontAwesome(0)/m/n' instead on input line 56. 

LaTeX Font Warning: Font shape `T1/ClearSans(0)/m/it' undefined 
(Font)    using `T1/ClearSans(0)/m/n' instead on input line 72. 

LaTeX Font Warning: Some font shapes were not available, defaults substituted. 

答えて

1

あなたのフォントパッケージが正しく書かれていない\usepackage{fontspec}あなたは\usepackage[T1]{fontenc}としてパッケージを呼び出す必要があります。これを試すと、文書のフォントをsanserifに変更する必要があります。また、必要でない場合は、setmainfontを削除することもできます。

\documentclass[]{twentysecondcv} 
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\renewcommand{\familydefault}{\sfdefault} 

Anが、ここで、ここであなたは、単にプロフィール画像を変更、フルテックスCVをダウンロードし、ドキュメントを解凍することができ、私はあなたのためのファイルをコンパイルしている

\documentclass[]{twentysecondcv} 
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\renewcommand{\familydefault}{\sfdefault} 


\setmainfont[ 
    Path = /Library/Fonts/, 
    UprightFont = ClearSans-Regular , 
    BoldFont = ClearSans-Bold , 
    ItalicFont = ClearSans-Italic , 
    Extension = .ttf 
]{ClearSans.ttf} 
\hyphenation{Geoscience behaviour surface des-truc-tor} 

実装であり、良い行くためにあなたのLink

+1

セリフ少なくともいずれかのsans log

Anasol

0

お返事ありがとうございます。あなたの提案はまだ同じ手紙に従います。これはコンソールからのメッセージです。私は多くのおかげでそれが動作ハッシュし、私は私のテキストはClearsSans.styを見つけることができる方法を見つけることを願っていますか

よろしく

アナ

関連する問題