# Tag Info

81

Here is a poor man's solution! Cover and title pages should ideally be designed by a graphics artist, as most of us are really challenged in this area! (If you have not watched this brilliant TED Talk by Book Cover Designer Chip Kidd, I advise you to watch it as you can gain a lot of insight into book cover design). The code follows: \documentclass{book} ...

58

Create an own document (1 or 4 pages) for your cover and then merge it with the other document with the package pdfpages. Examples of book covers. For more detailed workaround, see Creating Book Covers using PSTricks. You will be guided how to create a book cover as shown above. For my own cover I use a template: On this I put all text frames and ...

47

You can use xcoffins package from LaTeX 3 project. This example is inspired by work of Jan Tschichold \documentclass{article} \usepackage[a4paper,margin=5pt]{geometry} \usepackage[T1]{fontenc} \usepackage{times,multicol,graphicx} \usepackage{xcoffins} \usepackage{times,color} \newcommand\cbox[2][.8]{{\setlength\fboxsep{0pt}\colorbox[gray]{#1}{#2}}} ...

23

For graphic layout tasks such as this, I reach for a full-page pspicture: \documentclass[letterpaper]{article} \usepackage[centering,width=8.5in,height=11in]{geometry} \usepackage{pstricks} \pagestyle{empty} \begin{document} \psset{unit=1in} \begin{pspicture}(8.5,11)% use your page size \rput[b](3.5,8){\parbox{5in}{\begin{flushright} ...

22

Book covers, and title pages, should be individually designed --- the \maketitle macro is not of much help. On CTAN there is a document of mine showing a range of title page designs that could be adapted for book covers: Some Examples of Title Pages. If you have TeX Live then texdoc titlepages should bring it up as well. Here is, hopefully, an example ...

20

You can of course redefine the \maketitle macro to acquiesce to your design wishes. But as Martin has mentioned in a comment, the cover title is actually a later addition to a book. \maketitle is not the way to do this. The KOMA documentation says the following: A cover is actually something that should be created in a separate document. The cover ...

20

I think the KOMA documentation puts it very nicely, when describing which title is created using \maketitle and how it differs from the book cover: A cover is actually something that should be created in a separate document. The cover often has a very individual format. It can also be designed with the help of a graphics or DTP program. A separate ...

18

Write your document in this way: \documentclass[10pt]{article} \usepackage[a4paper]{geometry} % Use A4 paper margins \usepackage[english]{babel} \usepackage{xcolor} % Required for specifying custom colors \usepackage{fix-cm} % Allows increasing the font size of specific fonts beyond LaTeX default specifications \usepackage{eso-pic,graphicx} ...

16

The problem is due to your setting of the baseline skip, that is too small, so in one case it makes the \lineskip glue to come into action. Indeed, if you say \vspace*{9pt} before "E. M. Forster" you get almost perfect alignment, as the difference of a bit less than 0.025pt is very tiny; the default value of \lineskip is exactly 1pt. The descender in ...

14

You could use TikZ for this. By supplying the overlay, remember picture options to the tikzpicture, you can access the current page node to position objects relative to the whole page. The words can be supplied to a foreach loop, separated by commas. The current position in the list is available as \count. To achieve relatively even distribution across the ...

12

11

You can use the combine class to merge the individual lectures into one single document. The "master" file would look like this: \documentclass[a4paper,11pt]{combine} \usepackage[nomauthor]{combinet} \usepackage[english]{babel} \usepackage{amsmath,amssymb} \usepackage{cancel} \title{Discrete Mathematics} \author{Alec Taylor} \begin{document} \maketitle ...

10

You can wrap the code of your title page between \begin{titlepage} and \end{titlepage} right after your \begin{document}.

10

Here is one attempt but if you are in a hurry use a WYSIWYG software. \documentclass[tikz]{standalone} \usepackage{fontspec} \setmainfont{Myriad Pro Bold} \usetikzlibrary{calc} \def\myhbleed{10mm} \def\myvbleed{10mm} \begin{document} \begin{tikzpicture} % Left page \node[anchor=south west,inner sep=0,outer sep=0,minimum height=297mm+\myvbleed,minimum ...

10

One option using the best of two worlds: \documentclass{article} \usepackage{pst-all} \usepackage{auto-pst-pdf}% for running it with pdflatex -shell-escape \usepackage{pst-light3d} \usepackage{tikz} \usepackage{lmodern} \usetikzlibrary{backgrounds} \pgfdeclarelayer{background} \pgfdeclarelayer{foreground} \pgfsetlayers{background,main,foreground} ...

9

As always I want to recommend Inkscape which with some meddling can export PDF's that you run through LaTeX and get the best of two worlds.

9


7

Since moderncv internally loads fancyhdr, I defined a myfancy page style to produce the desired header. I used TikZ to produce the green rule in the letter. In my opinion, the shape for the green line you suggest in the letter seems not too good; I replaced it with a straight line (this looks a little better, but perhaps no rule at all is the best?). I ...

7

Here is a solution based on egreg's answer, adapted to display text. (CW because I hardly did any work, the credit goes to egreg.) The main document stays exactly the same. Here's my text version of the fillwithnumbers.tex: \documentclass{article} \usepackage[a4paper]{geometry}% A4 paper %\usepackage[letterpaper]{geometry} % letter paper, also change ...

7

You can use geometry: \documentclass[12pt, a4paper, titlepage, twoside, openright]{book} \usepackage[pass]{geometry} \usepackage{graphicx} %Figures management \linespread{1.2} \begin{document} \newgeometry{margin=2cm} \begin{titlepage} \linespread{1} \centering {\Large\scshape Alma Mater Studiorum $\cdot$ Universit\`a di Bologna} ...

7

The source code for the title page from the The TikZ & PGF Manual might be interesting. Also, the source code for cover graphic from another version of the title page is available. Although these are specifically used as title pages, with some study of the source code, similarly inspired designs could be used in the design of a book cover.

6

Are you satisfied with including the image your way? If you want to use the formatting (esp. the margins) of your pdf-file consider the use of \includepdf from pdfpages \cleardoublepage lets you start on the next odd page number This way it works: \documentclass[twoside]{scrbook} %\usepackage{graphicx} \usepackage{pdfpages} \listfiles \begin{document} ...

6

There is a special package to include pdfs as pages in your document. It is called "pdfpages". Read more about that here: http://stackoverflow.com/questions/2739159/inserting-a-pdf-file-in-latex It may be a bit more tricky if you want the page to be numbered, and the numbering is not part of the original pdf. Please answer if this is the case - then, we can ...

6

Too long for a comment: Importing the downloaded file into a non-UTF8 editor (like TeXnicCenter 1.0), reveals: The first character could be the cause of the problem - called a Byte Order Mark. Even importing this into LyX 2.0.4 adds the following into the preamble (Document > Settings > LaTeX Preamble): which you'll have to remove. Either remove this ...

6

Define you own titlepage. Much mor information can be found in How to customize my titlepage. \documentclass{report} \begin{document} \begin{titlepage} \centering {\Large University of London\par Some college\par Department of Computing\par } \vfill {\Huge\bfseries Peter Piper picked a peck of pickled peppers\par } \vspace{6ex} ...

5

Without knowing the class you're using, here's an attempt. \documentclass[a4paper]{book} \usepackage[pass,showframe]{geometry} % showframe is just for the example \usepackage{kantlipsum} % just for the example \begin{document} \frontmatter \begin{titlepage} \newgeometry{margin=3cm} \centering \vspace*{\stretch{2}} \Large The Title of my Thesis ...

5

I have used the book class but it should work for your class too. \documentclass{book} \usepackage{xcolor} \usepackage{graphicx} \usepackage{afterpage} \usepackage[a4paper,margin=1in]{geometry} \begin{document} \newgeometry{centering,top=0in} \begin{titlepage} \pagecolor{gray} \afterpage{\pagecolor{white}} %Cover image \centering ...

5

All you need is the overlay option for textpos: \documentclass[11pt]{article} \usepackage[hmargin=0.5cm,bmargin=2.3cm,tmargin=2cm,centering]{geometry} \usepackage[contents= ,color=white,scale=1,opacity=1,angle=0]{background} \usepackage{graphicx} \usepackage{amssymb} %\usepackage{xcolor} \usepackage{here} \usepackage{framed} \usepackage{multicol} ...

5

Well, this is 'tricky'. Page names are page labels in the sense of PDF. One has to insert a PageLabels object into the pdfcatalog and enable pdfpagelabels=true for the hyperref package. There a label prefixes, specified with the PDF command /P -- here set to 'Cover' The syntax is as follows /Nums[ 0 << /P (Cover) >> 1 << /S /D ...

4

You have to patch \opening: \documentclass{letter} \usepackage{hyperref} \makeatletter \renewcommand*{\opening}[1]{\ifx\@empty\fromaddress \thispagestyle{firstpage}% {\raggedleft\@date\par}% \else % home address \thispagestyle{empty}% {\begin{tabular}{@{}l@{}}\ignorespaces \fromaddress \end{tabular} \par\nopagebreak ...

Only top voted, non community-wiki answers of a minimum length are eligible