Anzeige:
Ergebnis 1 bis 10 von 10

Thema: Schriftart und Zeilenabstand

  1. #1
    Registrierter Benutzer
    Registriert seit
    28.12.2011
    Beiträge
    5

    Schriftart und Zeilenabstand

    Hallo zusammen,
    ich bin gerade dabei mein erstes Dokument mittels LaTeX zu schreiben. Eine der Vorgaben die ich erfüllen muss, ist die Schriftart ARIAL und einen Zeilenabstand von 1,5 zu verwenden.

    Leider habe ich nichts herausfinden können, wie ich beides in mein Dokument einbette kann.

    Hoffe das mir jmd dabei helfen kann.

    Vielen Dank und einen guten Rutsch
    ichmann

  2. #2
    Registrierter Benutzer Avatar von mechanicus
    Registriert seit
    10.07.2008
    Ort
    Hamburg
    Beiträge
    3.944
    Zitat Zitat von ichmann Beitrag anzeigen
    Hallo zusammen,
    ich bin gerade dabei mein erstes Dokument mittels LaTeX zu schreiben. Eine der Vorgaben die ich erfüllen muss, ist die Schriftart ARIAL und einen Zeilenabstand von 1,5 zu verwenden.
    Schrift:
    Paket helvet
    Zeilenabstand
    Paket setspace mit \onehalfspacing.

    Gruß
    Marco

  3. #3
    Registrierter Benutzer
    Registriert seit
    28.12.2011
    Beiträge
    5
    Bei mir siehts momentan so aus:

    \documentclass{scrartcl}
    \usepackage[latin1]{inputenc}
    \usepackage[T1]{fontenc}
    \usepackage[ngerman]{babel}
    \usepackage{amsmath}
    \usepackage[ansinew]{inputenc}
    \usepackage{epsfig}
    \usepackage{graphicx}
    \usepackage{graphics}
    \usepackage[latin1]{inputenc}
    \usepackage{helvet}
    \usepackage[onehalfspacing]{setspace}

    Usepacke setspace funktioniert einwandfrei=)
    Aber wenn ich helvet verwende, dann entfernt er mit meine Überschriften aus dem Dokument.

    Ne Idee wie ich das Prob lösen kann?

  4. #4
    Registrierter Benutzer Avatar von mechanicus
    Registriert seit
    10.07.2008
    Ort
    Hamburg
    Beiträge
    3.944
    Hi,

    mehrere Propleme (siehe Anmerkungen)
    Code:
    \documentclass{scrartcl}
    \usepackage[latin1]{inputenc}
    \usepackage[T1]{fontenc}
    \usepackage[ngerman]{babel}
    \usepackage{amsmath}
    %\usepackage[ansinew]{inputenc}%dreifach geladen
    %\usepackage{epsfig}%unnötig
    \usepackage{graphicx}
    %\usepackage{graphics}%unnötig
    %\usepackage[latin1]{inputenc}%dreifach geladen
    
    \usepackage[scaled]{helvet}
    \renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
    \usepackage[onehalfspacing]{setspace}
    
    \begin{document}
    \section{foo}
    Text
    \end{document}
    Marco

  5. #5
    Registrierter Benutzer
    Registriert seit
    28.12.2011
    Beiträge
    5
    Habe meinen Teil einfach mal deinen Empfehlungen nach angepasst:

    \documentclass{scrartcl}
    \usepackage[latin1]{inputenc}
    \usepackage[T1]{fontenc}
    \usepackage[ngerman]{babel}
    \usepackage{amsmath}
    \usepackage{graphicx}[COLOR="black"]
    \usepackage[scaled]{helvet}
    \renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
    \usepackage[onehalfspacing]{setspace}

    Beim erstellen kommen dann u.a. folgende Meldung:

    PHP-Code:
    LOG FILE :
    This is pdfTeXVersion 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2011.11.2329 DEC 2011 14:31
    entering extended mode
    %&-line parsing enabled.
    **
    testdokument.tex
    (./testdokument.tex
    LaTeX2e 
    <2009/09/24>
    Babel <v3.8l> and hyphenation patterns for englishusenglishmaxdumylangnoh
    yphenation
    loaded.
    (/
    usr/share/texmf-texlive/tex/latex/koma-script/scrartcl.cls
    Document 
    Class: scrartcl 2009/07/24 v3.04a KOMA-Script document class (article)
    (/
    usr/share/texmf-texlive/tex/latex/koma-script/scrkbase.sty
    Package
    scrkbase 2009/07/24 v3.04a KOMA-Script package (KOMA-Script-dependent
    basics 
    and keyval usage)
    (/
    usr/share/texmf-texlive/tex/latex/koma-script/scrbase.sty
    Package
    scrbase 2009/07/24 v3.04a KOMA-Script package (KOMA-Script-independent
    basics 
    and keyval usage)
    (/
    usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
    Package
    keyval 1999/03/16 v1.13 key=value parser (DPC)
    \
    KV@toks@=\toks14
    )
    (/
    usr/share/texmf-texlive/tex/latex/koma-script/scrlfile.sty
    Package
    scrlfile 2009/03/25 v3.03 KOMA-Script package (loading files)
    Package scrlfile2009/03/25 v3.03 KOMA-Script package (loading files)
    Copyright (CMarkus Kohm
    ))) (/usr/share/texmf-texlive/tex/latex/koma-script/tocbasic.sty
    Package
    tocbasic 2009/06/08 v3.03b KOMA-Script package (handling toc-files)
    )
    Package tocbasic Infoomitting babel extension for `toc'
    (tocbasic) because of feature 
    `nobabel' available
    (tocbasic) for `toc' 
    on input line 115.
    Package tocbasic Info
    omitting babel extension for `lof'
    (tocbasic) because of feature 
    `nobabel' available
    (tocbasic) for `lof' 
    on input line 116.
    Package tocbasic Info
    omitting babel extension for `lot'
    (tocbasic) because of feature 
    `nobabel' available
    (tocbasic) for `lot' 
    on input line 117.
    Class scrartcl InfoFile `scrsize11pt.clo' used instead of
    (scrartcl) file 
    `scrsize11.clo' to setup font sizes on input line 117
    1.
    (/usr/share/texmf-texlive/tex/latex/koma-script/scrsize11pt.clo
    File: scrsize11pt.clo 2009/07/24 v3.04a KOMA-Script font size class option (11p
    t)
    )
    (/usr/share/texmf-texlive/tex/latex/koma-script/typearea.sty
    Package: typearea 2009/07/24 v3.04a KOMA-Script package (type area)
    Package typearea, 2009/07/24 v3.04a KOMA-Script package (type area)
    Copyright (C) Frank Neukam, 1992-1994
    Copyright (C) Markus Kohm, 1994-
    \ta@bcor=\skip41
    \ta@div=\count79
    \ta@hblk=\skip42
    \ta@vblk=\skip43
    \ta@temp=\skip44
    Package typearea Info: These are the values describing the layout:
    (typearea) DIV = 10
    (typearea) BCOR = 0.0pt
    (typearea) \paperwidth = 597.50793pt
    (typearea) \textwidth = 418.25555pt
    (typearea) DIV departure = -6%
    (typearea) \evensidemargin = 17.3562pt
    (typearea) \oddsidemargin = 17.3562pt
    (typearea) \paperheight = 845.04694pt
    (typearea) \textheight = 595.80026pt
    (typearea) \topmargin = -25.16531pt
    (typearea) \headheight = 17.0pt
    (typearea) \headsep = 20.40001pt
    (typearea) \topskip = 11.0pt
    (typearea) \footskip = 47.60002pt
    (typearea) \baselineskip = 13.6pt
    (typearea) on input line 1115.
    )
    \c@part=\count80
    \c@section=\count81
    \c@subsection=\count82
    \c@subsubsection=\count83
    \c@paragraph=\count84
    \c@subparagraph=\count85
    \abovecaptionskip=\skip45
    \belowcaptionskip=\skip46
    \c@pti@nb@sid@b@x=\box26
    \c@figure=\count86
    \c@table=\count87
    \bibindent=\dimen102
    ) (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
    Package: inputenc 2008/03/30 v1.1d Input encoding file
    \inpenc@prehook=\toks15
    \inpenc@posthook=\toks16
    (/usr/share/texmf-texlive/tex/latex/base/latin1.def
    File: latin1.def 2008/03/30 v1.1d Input encoding file
    ))
    (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
    Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
    (/usr/share/texmf-texlive/tex/latex/base/t1enc.def
    File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
    LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
    ))
    (/usr/share/texmf-texlive/tex/generic/babel/babel.sty
    Package: babel 2008/07/06 v3.8l The Babel package
    (/usr/share/texmf-texlive/tex/generic/babel/ngermanb.ldf
    Language: ngermanb 2008/07/06 v2.6n new German support from the babel system
    (/usr/share/texmf-texlive/tex/generic/babel/babel.def
    File: babel.def 2008/07/06 v3.8l Babel common definitions
    \babel@savecnt=\count88
    \U@D=\dimen103
    )
    Package babel Warning: No hyphenation patterns were loaded for
    (babel) the language `ngerman'
    (babelI will use the patterns loaded for \language=0 instead.
    \
    l@ngerman a dialect from \language0
    \l@naustrian a dialect from \language\l@ngerman
    Package babel Info
    Making " an active character on input line 92.
    )) (/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
    Package: amsmath 2000/07/18 v2.13 AMS math features
    \@mathmargin=\skip47
    For additional information on amsmath, use the `?' option.
    (/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty
    Package: amstext 2000/06/29 v2.01
    (/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty
    File: amsgen.sty 1999/11/30 v2.0
    \@emptytoks=\toks17
    \ex@=\dimen104
    ))
    (/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty
    Package: amsbsy 1999/11/29 v1.2d
    \pmbraise@=\dimen105
    )
    (/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty
    Package: amsopn 1999/12/14 v2.01 operator names
    )
    \inf@bad=\count89
    LaTeX Info: Redefining \frac on input line 211.
    \uproot@=\count90
    \leftroot@=\count91
    LaTeX Info: Redefining \overline on input line 307.
    \classnum@=\count92
    \DOTSCASE@=\count93
    LaTeX Info: Redefining \ldots on input line 379.
    LaTeX Info: Redefining \dots on input line 382.
    LaTeX Info: Redefining \cdots on input line 467.
    \Mathstrutbox@=\box27
    \strutbox@=\box28
    \big@size=\dimen106
    LaTeX Font Info: Redeclaring font encoding OML on input line 567.
    LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
    \macc@depth=\count94
    \c@MaxMatrixCols=\count95
    \dotsspace@=\muskip10
    \c@parentequation=\count96
    \dspbrk@lvl=\count97
    \tag@help=\toks18
    \row@=\count98
    \column@=\count99
    \maxfields@=\count100
    \andhelp@=\toks19
    \eqnshift@=\dimen107
    \alignsep@=\dimen108
    \tagshift@=\dimen109
    \tagwidth@=\dimen110
    \totwidth@=\dimen111
    \lineht@=\dimen112
    \@envbody=\toks20
    \multlinegap=\skip48
    \multlinetaggap=\skip49
    \mathdisplay@stack=\toks21
    LaTeX Info: Redefining \[ on input line 2666.
    LaTeX Info: Redefining \] on input line 2667.
    )
    (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
    Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
    (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
    Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty
    Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
    )
    (/etc/texmf/tex/latex/config/graphics.cfg
    File: graphics.cfg 2009/08/28 v1.8 graphics configuration of TeX Live
    )
    Package graphics Info: Driver file: pdftex.def on input line 91.
    (/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def
    File: pdftex.def 2010/03/12 v0.04p Graphics/color for pdfTeX
    \Gread@gobject=\count101
    ))
    \Gin@req@height=\dimen113
    \Gin@req@width=\dimen114
    )
    (/usr/share/texmf-texlive/tex/latex/psnfss/helvet.sty
    Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS)
    )
    (/usr/share/texmf-texlive/tex/latex/setspace/setspace.sty
    Package: setspace 2000/12/01 6.7 Contributed and Supported LaTeX2e package
    Package: `setspace' 6.7 <2000/12/01>
    ) (./testdokument.aux)
    \openout1 = `testdokument.aux'.
    LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 15.
    LaTeX Font Info: ... okay on input line 15.
    LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 15.
    LaTeX Font Info: ... okay on input line 15.
    LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 15.
    LaTeX Font Info: ... okay on input line 15.
    LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 15.
    LaTeX Font Info: ... okay on input line 15.
    LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 15.
    LaTeX Font Info: ... okay on input line 15.
    LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 15.
    LaTeX Font Info: ... okay on input line 15.
    LaTeX Font Info: Try loading font information for T1+phv on input line 15.
    (/usr/share/texmf-texlive/tex/latex/psnfss/t1phv.fd
    File: t1phv.fd 2001/06/04 scalable font definitions for T1/phv.
    )
    LaTeX Font Info: Font shape `T1/phv/m/n' will be
    (Font) scaled to size 10.40245pt on input line 15.
    ! Font T1/phv/m/n/10.95=phvr8t at 10.40245pt not loadable: Metric (TFM) file no
    t found.
    <to be read again>
    relax
    l.15 \begin{document}
    I wasn't able to read the size data for this font,
    so I will ignore the font specification.
    [Wizards can fix TFM files using TFtoPL/PLtoTF.]
    You might try inserting a different font spec;
    e.g., type `I\font<same font id>=<substitute font name>'.
    (/usr/share/texmf-texlive/tex/context/base/supp-pdf.mkii
    [Loading MPS to PDF converter (version 2006.09.02).]
    \scratchcounter=\count102
    \scratchdimen=\dimen115
    \scratchbox=\box29
    \nofMPsegments=\count103
    \nofMParguments=\count104
    \everyMPshowfont=\toks22
    \MPscratchCnt=\count105
    \MPscratchDim=\dimen116
    \MPnumerator=\count106
    \everyMPtoPDFconversion=\toks23
    )
    LaTeX Font Info: Font shape `T1/phv/bx/n' in size <10.95> not available
    (Font) Font shape `T1/phv/b/n' tried instead on input line 18.
    LaTeX Font Info: Font shape `T1/phv/b/n' will be
    (Font) scaled to size 10.40245pt on input line 18.
    ! Font T1/phv/bx/n/10.95=phvb8t at 10.40245pt not loadable: Metric (TFM) file n
    ot found.
    <to be read again>
    relax
    l.18 \section
    {Einleitung}
    I wasn't able to read the size data for this font,
    so I will ignore the font specification.
    [Wizards can fix TFM files using TFtoPL/PLtoTF.]
    You might try inserting a different font spec;
    e.g., type `I\font<same font id>=<substitute font name>'.
    ! Font \T1/phv/b/n/10.95=nullfont not loadable: Metric (TFM) file not found.
    <to be read again>
    \relax
    l.18 \section
    {Einleitung}
    I wasn't able to read the size data for this font,
    so I will ignore the font specification.
    [Wizards can fix TFM files using TFtoPL/PLtoTF.]
    You might try inserting a different font spec;
    e.g., type `I\font<same font id>=<substitute font name>'.
    LaTeX Font Info: Font shape `T1/phv/bx/n' in size <20.74> not available
    (Font) Font shape `T1/phv/b/n' tried instead on input line 18.
    LaTeX Font Info: Font shape `T1/phv/b/n' will be
    (Font) scaled to size 19.70294pt on input line 18.
    ! Font T1/phv/bx/n/20.74=phvb8t at 19.70294pt not loadable: Metric (TFM) file n
    ot found.
    <to be read again>
    relax
    l.18 \section
    {Einleitung}
    I wasn't able to read the size data for this font,
    so I will ignore the font specification.
    [Wizards can fix TFM files using TFtoPL/PLtoTF.]
    You might try inserting a different font spec;
    e.g., type `I\font<same font id>=<substitute font name>'.
    ! Font \T1/phv/b/n/20.74=nullfont not loadable: Metric (TFM) file not found.
    <to be read again>
    \relax
    l.18 \section
    {Einleitung}
    I wasn't able to read the size data for this font,
    so I will ignore the font specification.
    [Wizards can fix TFM files using TFtoPL/PLtoTF.]
    You might try inserting a different font spec;
    e.g., type `I\font<same font id>=<substitute font name>'.
    Missing character: There is no P in font nullfont!
    Missing character: There is no r in font nullfont!
    Missing character: There is no i in font nullfont!
    Missing character: There is no o in font nullfont!
    Missing character: There is no r in font nullfont!
    Missing character: There is no i in font nullfont!
    Missing character: There is no t in font nullfont!
    Missing character: There is no in font nullfont!
    Missing character: There is no t in font nullfont!
    Missing character: There is no s in font nullfont!
    Missing character: There is no w in font nullfont!
    Missing character: There is no a in font nullfont!
    Missing character: There is no r in font nullfont!
    Missing character: There is no t in font nullfont!
    Missing character: There is no e in font nullfont!
    Missing character: There is no s in font nullfont!
    Missing character: There is no c in font nullfont!
    Missing character: There is no h in font nullfont!
    Missing character: There is no l in font nullfont!
    Missing character: There is no a in font nullfont!
    Missing character: There is no n in font nullfont!
    Missing character: There is no g in font nullfont!
    Missing character: There is no e in font nullfont!
    Missing character: There is no n in font nullfont!
    Missing character: There is no u in font nullfont!
    Missing character: There is no n in font nullfont!
    Missing character: There is no d in font nullfont!
    Missing character: There is no H in font nullfont! 
    usw.....


    Ein PDF wird nicht erzeugt.
    Geändert von ichmann (29-12-2011 um 15:57 Uhr)

  6. #6
    Registrierter Benutzer Avatar von mechanicus
    Registriert seit
    10.07.2008
    Ort
    Hamburg
    Beiträge
    3.944
    Hi,

    bitte nutze die Code-Umgebung. Desweiteren ist dein System nicht auf dem aktuellen Stand. Mein Beispiel läuft mit TeX Live 2011 ohne Probleme durch.

    Marco

  7. #7
    Registrierter Benutzer
    Registriert seit
    28.12.2011
    Beiträge
    5
    Hey,
    ich benutze Texmaker. Updaten kann ich den leider nicht. werde mich mal nach einer anderen Umgebung umsehen.
    Danke für deine Hilfe.

    ichmann

  8. #8
    Registrierter Benutzer Avatar von Donalduck
    Registriert seit
    08.05.2007
    Ort
    Augsburg
    Beiträge
    754
    Du sollst ja auch nicht deine IDE (Texmaker) updaten, sondern deinen LaTeX-Compiler. Hast du TeX Live oder MiKTeX installiert?

  9. #9
    Registrierter Benutzer
    Registriert seit
    28.12.2011
    Beiträge
    5
    ich habe Tex Live installiert

  10. #10
    Registrierter Benutzer Avatar von sommerfee
    Registriert seit
    02.07.2006
    Beiträge
    1.603
    Dein Debian/TeXlive von 2009 ist zwar nicht aktuell, aber für die Probleme ist es nicht verantwortlich. Bei dir fehlen hingegen:

    1. Die Deutschen Trennmuster (Das ist schlecht, weil dann die Wörter falsch getrennt werden.)
    2. Der gewünschte Zeichensatz


    Es gibt nun zwei Optionen: Entweder herausfinden, in welchen Debian-Metapaketen diese Dinge enthalten sind, und diese installieren. Oder man sagt einfach "apt-get install texlive-full" (bzw. "texlive-full" über Synaptic installieren), dann hat man zwar hinterher mehr TeXlive auf der Platte als man braucht, dafür aber solche Probleme nicht.

Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •