Hi,
I have a question. A few days ago I installed texlive on CentOS and I'm using it to generate math formulas on phpbb (latexrender http://www.mayer.dial.pipex.com/tex.htm). I have some problem with default font - it's a bit pixelized. Here is the example : http://matematyka.org/latexrender/pictu ... da3e01.png - look at the overbrace). I've seen on other sites that it can look like much better. I tried changing font map in config.ps to 'psfonts_pk.map' but then it generateed sth like http://matematyka.org/latexrender/pictu ... b5a73a.png :/. What to change to make it look better?
Please help me.
TeX Live and MacTeX ⇒ Font in dvips
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Font in dvips
Hi Rostek,
welcome to the board!
Which font encoding did you use? Did you write:
Stefan
welcome to the board!
Which font encoding did you use? Did you write:
Code: Select all
\usepackage[T1]{fontenc}
LaTeX.org admin
Re: Font in dvips
Hi,
I'm using :
$string = "\documentclass[".$this->_font_size."pt]{".$this->_latexclass."}\n";
$string .= "\usepackage[utf8]{inputenc}\n";
$string .= "\usepackage{amsmath}\n";
$string .= "\usepackage{amsfonts}\n";
$string .= "\usepackage{amssymb}\n";
$string .= "\usepackage{polski}\n";
$string .= "\pagestyle{empty}\n";
$string .= "\begin{document}\n";
$string .= "$".$latex_formula."$\n";
$string .= "\end{document}\n";
I'm using :
$string = "\documentclass[".$this->_font_size."pt]{".$this->_latexclass."}\n";
$string .= "\usepackage[utf8]{inputenc}\n";
$string .= "\usepackage{amsmath}\n";
$string .= "\usepackage{amsfonts}\n";
$string .= "\usepackage{amssymb}\n";
$string .= "\usepackage{polski}\n";
$string .= "\pagestyle{empty}\n";
$string .= "\begin{document}\n";
$string .= "$".$latex_formula."$\n";
$string .= "\end{document}\n";
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Font in dvips
Add the suggestion of Stefan (right after the document class) and replace
by
Information about babel and other packages can be found on CTAN.
Best regards and welcome to the board
Thorsten¹
Code: Select all
\usepackage{polski}
Code: Select all
\usepackage[polish]{babel}
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Re: Font in dvips
Now polish fonts do not work : http://matematyka.org/latexrender/pictu ... c55b5e.png