TeX Live and MacTeXFont in dvips

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
Post Reply
Rostek
Posts: 4
Joined: Wed Oct 15, 2008 9:59 pm

Font in dvips

Post by Rostek »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Font in dvips

Post by Stefan Kottwitz »

Hi Rostek,

welcome to the board!
Which font encoding did you use? Did you write:

Code: Select all

\usepackage[T1]{fontenc}
Stefan
LaTeX.org admin
Rostek
Posts: 4
Joined: Wed Oct 15, 2008 9:59 pm

Re: Font in dvips

Post by Rostek »

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";
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Font in dvips

Post by localghost »

Add the suggestion of Stefan (right after the document class) and replace

Code: Select all

\usepackage{polski}
by

Code: Select all

\usepackage[polish]{babel}
Information about babel and other packages can be found on CTAN.


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
Rostek
Posts: 4
Joined: Wed Oct 15, 2008 9:59 pm

Re: Font in dvips

Post by Rostek »

Rostek
Posts: 4
Joined: Wed Oct 15, 2008 9:59 pm

Re: Font in dvips

Post by Rostek »

Any idea?:)
Post Reply