lmodern und pstricks

Tabellen und Grafiken erstellen und anordnen


Benutzeravatar
nfa019
Forum-Century
Forum-Century
Beiträge: 115
Registriert: Mi 2. Jun 2010, 22:32

lmodern und pstricks

Beitrag von nfa019 »

Ich habe mal folgendes Beispiel probiert:
\documentclass{article}
\usepackage{pstricks,pst-plot,auto-pst-pdf}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\psset{unit=7ex} 

\begin{document}
  
\begin{pspicture}(-0.5,-0.5)(2.5,2.5)
\psaxes[showorigin=false, tickstyle=bottom,labelsep=5pt]{->}(2.5,2.5)
\rput(2.5,-.2){$x$}
\rput(-.2,2.5){$y$}
\rput(2.0,2.0){{\color{red}$g(x)=x^3$}}
\psplot[plotpoints=200,linecolor=red]{0.0}{1.3}{x 3 exp}
\rput(2.0,1.0){{\color{blue}$f(x)=x$}}
\psplot[plotpoints=200,linecolor=blue]{0.0}{1.7}{x}
\end{pspicture}

\[ g(x)=x^3 \]

\[ f(x)=x \]
\end{document}
und bekomme unterschiedliche Fonts im Bild und im "normalen" Mathemodus.

Woran könnte das liegen?

CrazyHorse
Forum-Guru
Forum-Guru
Beiträge: 252
Registriert: Di 16. Mär 2010, 09:39

Re: lmodern und pstricks

Beitrag von CrazyHorse »

nfa019 hat geschrieben: und bekomme unterschiedliche Fonts im Bild und im "normalen" Mathemodus.

Woran könnte das liegen?
Kann ich nicht sehen. In der PDF sind folgende Fonts:
voss@shania:~> pdffonts Documents/testI.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
EIDGYL+LMRoman7-Regular              Type 1C           yes yes no      12  0
PMUMFY+LMMathItalic10-Regular        Type 1C           yes yes no      10  0
KRNZUF+LMRoman10-Regular             Type 1C           yes yes no       8  0
Herbert

Benutzeravatar
nfa019
Forum-Century
Forum-Century
Beiträge: 115
Registriert: Mi 2. Jun 2010, 22:32

Beitrag von nfa019 »

Hmm bei mir sieht das so aus:
pdffonts fixp.pdf 
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
ZSETKG+LMMathItalic10-Regular        Type 1            yes yes no       6  0
DMNVHT+LMRoman10-Regular             Type 1            yes yes no       7  0
ELNBTW+LMRoman7-Regular              Type 1            yes yes no       8  0
DMNVHT+LMRoman10-Regular             Type 1            yes yes no       9  0
EIDGYL+LMRoman7-Regular              Type 1C           yes yes no      16  0
PMUMFY+LMMathItalic10-Italic         Type 1C           yes yes no      17  0
KRNZUF+LMRoman10-Regular             Type 1C           yes yes no      18  0
Was sofort die Frage aufwirft: Wie kriege ich raus, was ich anders gemacht habe :)

Frauke

Und es fällt eben auch ziemlich auf:
Dateianhänge
fixp.pdf
(40.28 KiB) 499-mal heruntergeladen

CrazyHorse
Forum-Guru
Forum-Guru
Beiträge: 252
Registriert: Di 16. Mär 2010, 09:39

Beitrag von CrazyHorse »

nfa019 hat geschrieben:Was sofort die Frage aufwirft: Wie kriege ich raus, was ich anders gemacht habe :)
sehr komisch! Lass mal dieses Beispiel laufen und schicke die Dateiliste,
die am Ende des Logfiles ist. Sieht so aus, als sei deine Schrifteninstallation
leicht durcheinander ...
\listfiles
\documentclass{article}
\usepackage{pst-plot,auto-pst-pdf}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

\begin{document}
\[ g(x)=x^3 \]
\[ f(x)=x \] \textit{x}\textsl{x}$x$

\begin{pspicture}(-0.5,-0.5)(2.5,2.5)
\psaxes[showorigin=false, tickstyle=bottom,labelsep=5pt]{->}(2.5,2.5)
\rput(2.5,-.2){$x$}
\rput(-.2,2.5){$y$}
\rput(2.0,2.0){{\color{red}$g(x)=x^3$}}
\psplot[plotpoints=200,linecolor=red]{0.0}{1.3}{x 3 exp}
\rput(2.0,1.0){{\color{blue}$f(x)=x$}}
\psplot[plotpoints=200,linecolor=blue]{0.0}{1.7}{x}
\end{pspicture}

\[ g(x)=x^3 \]
\[ f(x)=x \] \textit{x}\textsl{x}$x\mathit{x}$
\end{document} 
Herbert

Benutzeravatar
nfa019
Forum-Century
Forum-Century
Beiträge: 115
Registriert: Mi 2. Jun 2010, 22:32

Beitrag von nfa019 »

Hier ist die File-Liste
pdflatex>  *File List*
pdflatex>  article.cls    2007/10/19 v1.4h Standard LaTeX document class
pdflatex>   size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
pdflatex> pst-plot.sty    2010/01/22 package wrapper for pst-plot.tex
pdflatex> pstricks.sty    2010/08/28 v0.46 LaTeX wrapper for `PSTricks' (RN,HV)
pdflatex> pstricks.tex    2010/09/16 v2.12 `PSTricks' (tvz,hv)
pdflatex> pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
pdflatex>  xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
pdflatex>  xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
pdflatex>   pst-fp.tex    2010/09/16 v2.12 `PST-fp' (hv)
pdflatex>   xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
pdflatex>    color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
pdflatex>   pdftex.def    2010/09/14 v0.05b Graphics/color for pdfTeX
pdflatex> pst-plot.tex    2010/09/09 1.20 `pst-plot' (tvz,hv)
pdflatex> auto-pst-pdf.sty    2009/04/26 v0.6 Wrapper for pst-pdf
pdflatex>    ifpdf.sty    2010/01/28 v2.1 Provides the ifpdf switch (HO)
pdflatex> ifplatform.sty    2009/09/10 v0.3a Testing for the operating system
pdflatex> pdftexcmds.sty    2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)
pdflatex> infwarerr.sty    2010/04/08 v1.3 Providing info/warning/message (HO)
pdflatex> ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
pdflatex>  ltxcmds.sty    2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
pdflatex> catchfile.sty    2010/04/28 v1.5 Catches the contents of a file (HO)
pdflatex> etexcmds.sty    2010/01/28 v1.3 Prefix for e-TeX command names (HO)
pdflatex> fixp_more.w18
pdflatex>  pst-pdf.sty    2008/10/09 v1.1v PS graphics for pdfLaTeX (RN,HjG)
pdflatex> graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
pdflatex> graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
pdflatex>     trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
pdflatex> graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live
pdflatex>  preview.sty    2010/02/14 11.86 (AUCTeX/preview-latex)
pdflatex>    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pdflatex>  environ.sty    2008/06/18 v0.2 A new way to define environments
pdflatex>  fontenc.sty
pdflatex>    t1enc.def    2005/09/27 v1.99g Standard LaTeX file
pdflatex>  lmodern.sty    2009/10/30 v1.6 Latin Modern Fonts
pdflatex>    t1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
pdflatex> supp-pdf.mkii
pdflatex>   ot1lmr.fd    2009/10/30 v1.6 Font defs for Latin Modern
pdflatex>   omllmm.fd    2009/10/30 v1.6 Font defs for Latin Modern
pdflatex>  omslmsy.fd    2009/10/30 v1.6 Font defs for Latin Modern
pdflatex>  omxlmex.fd    2009/10/30 v1.6 Font defs for Latin Modern

CrazyHorse
Forum-Guru
Forum-Guru
Beiträge: 252
Registriert: Di 16. Mär 2010, 09:39

Beitrag von CrazyHorse »

nfa019 hat geschrieben:Hier ist die File-Liste
da fällt mir jetzt nix mehr ein, außer villeicht die Latin modern Fonts
noch einmal neu zu installieren.

Herbert

Benutzeravatar
nfa019
Forum-Century
Forum-Century
Beiträge: 115
Registriert: Mi 2. Jun 2010, 22:32

Beitrag von nfa019 »

ich habe noch ein bisschen probiert, es liegt an dem Weg über dvips.

Es hat also primär nichts mit pstricks zu tun.

Ich mache dafür einen neuen Thread mit noch minimalerem Beispiel auf.

hier geht es mit noch kleinerem Beispiel weiter:
http://www.golatex.de/viewtopic,p,23684.html#23684

Antworten