Search found 5 matches

by sudanix
Sun May 09, 2010 9:04 am
Forum: General
Topic: caption problem
Replies: 1
Views: 1761

caption problem

the problem is solved now.
This is bidi's bug and thanks for reporting. Before \begin{document} put:

\makeatletter
\@ifpackageloaded{caption}{\input{caption-xetex-bidi.def}}{}
\makeatother
by sudanix
Wed May 05, 2010 4:05 pm
Forum: General
Topic: caption problem
Replies: 1
Views: 1761

caption problem

Hello,

i have the following tex code to highlight source code (using listings package).

\documentclass[a4paper,oneside,headsepline,10pt]{scrbook}
\usepackage{color}
\usepackage{xcolor}
\usepackage{listings}

\usepackage{caption}
\DeclareCaptionFont{white}{\color{white}}
\DeclareCaptionFormat ...
by sudanix
Wed May 05, 2010 11:26 am
Forum: Fonts & Character Sets
Topic: change font with fontspec
Replies: 4
Views: 8776

Re: change font with fontspec

it solved now :D
i re-installed the Miktex again, and it work now .

Thanks again.
by sudanix
Wed May 05, 2010 8:30 am
Forum: Fonts & Character Sets
Topic: change font with fontspec
Replies: 4
Views: 8776

Re: change font with fontspec

@ meho_r :
I checked again , and i found it in C:\WINDOWS\Fonts .
and i try to use another installed font (Calibri) but i get the same error !
but its work fine for some fonts..


@ frabjous:
yes im sure, and i should use XeLaTex because my article will contain non-latin sentence.

Any Suggestions ...
by sudanix
Tue May 04, 2010 5:46 pm
Forum: Fonts & Character Sets
Topic: change font with fontspec
Replies: 4
Views: 8776

change font with fontspec

Hello,

I have a problem in changing my article font.
I want to use Consolas font, its installed in my Windows.

here is the tex file:

\documentclass[12pt]{article}
\usepackage{fontspec}
\setmainfont{Consolas}

\begin{document}

hello,
How i can load consolas font ?
the font is installed in my ...