顯示具有 LaTeX 標籤的文章。 顯示所有文章
顯示具有 LaTeX 標籤的文章。 顯示所有文章

2016年1月1日 星期五

mscorefonts

sudo apt-get install ttf-mscorefonts-installer

2012年6月19日 星期二

xdvi helvetica ubuntu download


Warning: Cannot convert string "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-10-*-*-*-*-*-*" to type FontStruct


apt-get install xfs xfstt
apt-get install t1-xfree86-nonfree ttf-xfree86-nonfree ttf-xfree86-nonfree-syriac xfonts-75dpi xfonts-100dp
xset +fp /usr/share/fonts/X11/75dpi/
xset +fp /usr/share/fonts/X11/100dpi/

2012年3月22日 星期四

Failed to load AGL file

ftp://ftp.ccu.edu.tw/pub/tex/dviware/dvipdfmx/
1. Download latest dvipdfmx.tar.gz
2. Extract the two files glyphlist.txt pdfglyphlist.txt
3. Copy to /etc/texmf/dvipdfm

2011年2月20日 星期日

Package Fancyhdr Warning: \headheight is too small (12.0pt):

Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.

Change headheight

\setlength{\headheight}{15pt}

2011年1月28日 星期五

PDF文件的亂碼問題

sudo apt-get install poppler-data

2010年4月20日 星期二

latex font sizes

\tiny
\scriptsize
\footnotesize
\small
\normalsize
\large
\Large
\LARGE
\huge
\Huge

2010年2月15日 星期一

xelatex fonts on window 7

%%for ubuntu with cwfonts
\setmainfont[BoldFont={cwTeXHeiBold},ItalicFont={cwTeXKaiItalic},Mapping=tex-text]{cwTeXMing}
\setmonofont{cwTeXFangSongTT}
\setsansfont[BoldFont={cwTeXHeiBold},Mapping=tex-text]{cwTeXYen}


%% for window 7 with office 2007
\setmainfont[BoldFont={Microsoft JhengHei Bold},ItalicFont={DFKai-SB},Mapping=tex-text]{PMingLiU}
\setmonofont{MingLiU}
\setsansfont[BoldFont={Microsoft JhengHei Bold},Mapping=tex-text]{Microsoft JhengHei}

2010年1月9日 星期六

turetype fonts list

ubuntu fonts

/usr/share/fonts/truetype

update fonts
fc-cache -v -f

list fonts

fc-list |cat
fc-list : family file |grep cw

Fix xelatex error of math symbol

** WARNING ** This .map file looks like a dvips format fontmap file.
** WARNING ** -- Current input buffer is: aealbattar ae_AlBattar "ArabeyesArabicEncoding ReEncodeFont" < ararabeyes.enc < ae_albattar.pfb
** WARNING ** -- Reading fontmap file stopped at: file="pdftex.map", line=6.
[3] [4]
[5] [6] [7] [8] [9]
[10] ) (./rebinning_fore.tex [11]
Chapter 3.


from the link https://bugs.launchpad.net/ubuntu/+source/texlive-bin/+bug/364627


In brief, edit the configuration file: /etc/texmf/dvipdfm/dvipdfmx.cfg
Comment the line "f pdftex.map" by adding a percent symbol at the beginning of the line.
Uncomment the line "f dvipdfm.map" by removing the percent symbol.
Save and run xelatex again.

2009年11月30日 星期一

TexMaker Command

latex -interaction=nonstopmode %.tex|bibtex %.aux|latex -interaction=nonstopmode %.tex|latex -interaction=nonstopmode %.tex|xdvi %.dvi

xelatex -interaction=nonstopmode

2009年11月19日 星期四

LaTeX使用balance套件

在LaTex中使用balance套件指令進行多欄位對齊
\usepackage{balance}

在文件最後一頁的地方加入
\balance