Re: LaTeX niggle.

"Francis (Grizzly) Smit" <[email protected]> Tue, 02 Sep 2014 15:12:19 +1000
Newsgroups gmane.org.user-groups.slug.general
Message-ID <[email protected]>
On 02/09/14 15:05, Francis (Grizzly) Smit wrote:
> On 02/09/14 14:46, Francis (Grizzly) Smit wrote:
>> On 02/09/14 14:22, William Bennett wrote:
>>> Well, I started a project: to set a book, properly.
>>>
>>> Front cover first.
>>>
>>> Found image with great taste.
>>>
>>> Did the research. Use wallpaper package, they said.
>>>
>>> Wrote simple program. Herewithunderbeneath:
>>>
>>> ----------------------------------------------------
>>>
>>> \documentclass[11pt]{book}
>>> \usepackage{wallpaper}
>>> \begin{document}
>>> \ThisLLCornerWallpaper{0.5}{TrialImage.jpg}
>>> \end{document}
>>>
>>> -----------------------------------------------------
>> It should be \ThisLLCornerWallPaper{0.5}{TrialImage.jpg} The P in Paper
>> is capitalized also
>>
>> \ThisLLCornerWallPaper{0.5}{TrialImage} should work at least it does with png's
> On further study of this you'll need some text on the page don't know
> why, this works:
> ============================================
> \documentclass[11pt]{book}
> \usepackage{wallpaper}
> \usepackage{color}
> \begin{document}
> \ThisLLCornerWallPaper{0.5}{TrialImage.jpg}
> \section*{sometext}
> \newpage
> \end{document}
> ============================================
> as does this:
> ============================================
> \documentclass[11pt]{book}
> \usepackage{wallpaper}
> \usepackage{color}
> \title{``Testing''}
> \author{Francis Grizzly Smit}
> \date{September 2, 2014}
> \begin{document}
> \ThisLLCornerWallPaper{0.5}{TrialImage.jpg}
> \maketitle
> \newpage
> \end{document}
> ============================================

If you need it without text on the page do this:
==============================
\documentclass[11pt]{book}
\usepackage{wallpaper}
\begin{document}
\ThisLLCornerWallPaper{0.5}{TGTamber}
\rule{0pt}{1ex}
\newpage
\end{document}
==============================
>
>>
>>
>>
>>> Gave command
>>>
>>> latex FrontPage.tex
>>>
>>> Been a while since I've used LaTeX.
>>>
>>> Was unprepared for output blast. Obviously something cosmically unimpressed.
>>>
>>> Herewithunderbeneath log file. Could someone tell me what I did wrong,
>>> please?
>>>
>>> Wlliam Bennett.
>>>
>>> ======================================================
>>>
>>> This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
>>> (format=latex 2014.7.3)  2 SEP 2014 13:19
>>> entering extended mode
>>>     restricted \write18 enabled.
>>>     %&-line parsing enabled.
>>> **FrontPage.tex
>>> (./FrontPage.tex
>>> LaTeX2e <2011/06/27>
>>> Babel <3.9h> and hyphenation patterns for 78 languages loaded.
>>> (/usr/share/texlive/texmf-dist/tex/latex/base/book.cls
>>> Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
>>> (/usr/share/texlive/texmf-dist/tex/latex/base/bk11.clo
>>> File: bk11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
>>> )
>>> \c@part=\count79
>>> \c@chapter=\count80
>>> \c@section=\count81
>>> \c@subsection=\count82
>>> \c@subsubsection=\count83
>>> \c@paragraph=\count84
>>> \c@subparagraph=\count85
>>> \c@figure=\count86
>>> \c@table=\count87
>>> \abovecaptionskip=\skip41
>>> \belowcaptionskip=\skip42
>>> \bibindent=\dimen102
>>> )
>>> (/usr/share/texlive/texmf-dist/tex/latex/wallpaper/wallpaper.sty
>>> Package: wallpaper 2005/01/18, v1.01 easy wallpaper formatting (MHFW)
>>>
>>> (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty
>>> Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
>>> )
>>> (/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty
>>> Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
>>> \calc@Acount=\count88
>>> \calc@Bcount=\count89
>>> \calc@Adimen=\dimen103
>>> \calc@Bdimen=\dimen104
>>> \calc@Askip=\skip43
>>> \calc@Bskip=\skip44
>>> LaTeX Info: Redefining \setlength on input line 76.
>>> LaTeX Info: Redefining \addtolength on input line 77.
>>> \calc@Ccount=\count90
>>> \calc@Cskip=\skip45
>>> )
>>> (/usr/share/texlive/texmf-dist/tex/latex/eso-pic/eso-pic.sty
>>> Package: eso-pic 2013/10/06 v2.0d eso-pic (RN)
>>>
>>> (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/atbegshi.sty
>>> Package: atbegshi 2011/10/05 v1.16 At begin shipout hook (HO)
>>>
>>> (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
>>> Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages
>>> (HO)
>>> )
>>> (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
>>> Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
>>> )
>>> (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
>>> Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
>>> Package ifpdf Info: pdfTeX in PDF mode is not detected.
>>> ))
>>> (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
>>> Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
>>> \KV@toks@=\toks14
>>> )
>>> (/usr/share/texmf/tex/latex/xcolor/xcolor.sty
>>> Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)
>>>
>>> (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg
>>> File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
>>> )
>>> Package xcolor Info: Driver file: dvips.def on input line 225.
>>>
>>> (/usr/share/texlive/texmf-dist/tex/latex/graphics/dvips.def
>>> File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
>>> )
>>> Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
>>> Package xcolor Info: Model `RGB' extended on input line 1353.
>>> Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
>>> Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
>>> Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
>>> Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
>>> Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
>>> Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
>>> ))
>>> (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
>>> Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
>>>
>>> (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
>>> Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
>>>
>>> (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
>>> Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
>>> )
>>> (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
>>> File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
>>> )
>>> Package graphics Info: Driver file: dvips.def on input line 91.
>>> )
>>> \Gin@req@height=\dimen105
>>> \Gin@req@width=\dimen106
>>> )
>>> \wpXoffset=\skip46
>>> \wpYoffset=\skip47
>>> \tileXoffset=\skip48
>>> \tileYoffset=\skip49
>>> \tilewidth=\skip50
>>> \tileheight=\skip51
>>> \tileX=\skip52
>>> \tileY=\skip53
>>> )
>>> No file FrontPage.aux.
>>> \openout1 = `FrontPage.aux'.
>>>
>>> LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3.
>>> LaTeX Font Info:    ... okay on input line 3.
>>> LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3.
>>> LaTeX Font Info:    ... okay on input line 3.
>>> LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3.
>>> LaTeX Font Info:    ... okay on input line 3.
>>> LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3.
>>> LaTeX Font Info:    ... okay on input line 3.
>>> LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3.
>>> LaTeX Font Info:    ... okay on input line 3.
>>> LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3.
>>> LaTeX Font Info:    ... okay on input line 3.
>>> \AtBeginShipoutBox=\box26
>>> ! Undefined control sequence.
>>> l.4 \ThisLLCornerWallpaper
>>>                              {0.5}{TrialImage.jpg}
>>> ? x
>>>
>>> Here is how much of TeX's memory you used:
>>>     1492 strings out of 493305
>>>     19435 string characters out of 6139898
>>>     75342 words of memory out of 5000000
>>>     4989 multiletter control sequences out of 15000+600000
>>>     3940 words of font info for 15 fonts, out of 8000000 for 9000
>>>     957 hyphenation exceptions out of 8191
>>>     37i,0n,39p,228b,36s stack positions out of 5000i,500n,10000p,200000b,80000s
>>> No pages of output.
>>>
>>> ----------------------------------------------------------------------------
>


-- 


   .~.     In my life God comes first....
   /V\         but Linux is pretty high after that :-D
  /( )\    Francis (Grizzly) Smit
  ^^-^^    http://www.smit.id.au/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GM/CS/H/P/S/IT/L d- s+:+ a++ C++++ UL++++$ P++ L+++$ E--- W++
N W--- M-- V-- PE- PGP t+ 5-- X-- R- tv b++++ D-
G e++ h+ y?
------END GEEK CODE BLOCK------
http://www.geekcode.com/

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html