Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
LaTeX Cookbook
LaTeX Cookbook

LaTeX Cookbook: Over 100 practical, ready-to-use LaTeX recipes for instant solutions , Second Edition

eBook
€8.99 €23.99
Paperback
€29.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Colour book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

LaTeX Cookbook

Tuning the Text

The previous chapter provided recipes for creating entire documents. You may use them as starting points. Now, we will focus on fine-tuning text elements, such as shaping paragraphs and manipulating, positioning, and arranging text.

This chapter shows recipes for:

  • Improving justification and hyphenation
  • Adding margin notes
  • Converting numbers to words
  • Putting text into a colorful box
  • Visualizing the layout
  • Visualizing boxes of letters and symbols
  • Typesetting in a grid
  • Absolute positioning of text
  • Adding drop caps
  • Fitting text to a shape
  • Creating a pull quote

We will not yet deal with fonts. This topic deserves a whole chapter and will be covered in Chapter 3, Adjusting Fonts.

This chapter will start with some fundamental principles, explore helpful techniques, and conclude with practical recipes that illustrate LaTeX’s capabilities that extend beyond conventional paragraph formatting.

Improving justification and hyphenation

Occasionally, you may get warnings such as “overfull \hbox" or notice words hanging into the margin. This indicates that LaTeX had severe problems with justification. Now, we will look at how to improve such a situation by ensuring proper hyphenation and integrating microtypographic support.

How to do it...

We can start with any document. We will optimize it by applying particular settings in the preamble. If you don’t have a document readily available, you can take one from the code package for this book, specifically for the first chapter, or download one from https://latex-cookbook.net. Take the following steps:

  1. Load the babel package with your document languages as options. Use the preferred language as the last option:
    \usepackage[ngerman,english]{babel}
  2. If you would like to use handy shortcuts of ngerman with English too, add the following lines:
    \useshorthands{"}
    \addto\extrasenglish{\languageshorthands...

Adding margin notes

You can add notes to the margin to make a text more dynamic, annotate critical passages, and explain or comment on a piece of the body text. This can enhance understanding and aid in studying.

How to do it...

For our first document with margin notes, we will use the very first document from Chapter 1, Exploring Various Document Classes. Edit that document as follows:

  1. Load the marginnote package in the document preamble:
    \usepackage{marginnote}
  2. To highlight margin notes using color, load the xcolor package :
    \usepackage{xcolor}
  3. Choose a font shape, color, or size for the margin notes, such as the following:
    \renewcommand*{\marginfont}{\strut\color{blue}%
      \sffamily\scriptsize}
  4. Within the document text, add margin notes in the lines where you want them to be positioned. For example, like this:
    \addsec{Introduction}
    This document will be our starting point for simple
    documents.\marginnote{No chapters supported!}
    It is suitable for a...

Converting numbers to words

Numbers are sometimes written as text instead of using numerals. LaTeX is capable of automatically converting numbers to words. This feature is especially useful for values originating from LaTeX counters, such as page or section numbers.

How to do it...

We will load the fmtcount package and use its commands for conversion.

  1. Start with any document class, such as the article class:
    \documentclass{article}
  2. Load the fmtcount package:
    \usepackage{fmtcount}
  3. Begin the document:
    \begin{document}
  4. Write some text. Proceed the following way:
    • Whenever you like to convert a number to a word, use the command \numberstringnum.
    • For printing a counter value as a word, use \numberstring.
    • For a similar purpose, but in ordinal form, use \ordinalstringnum or \ordinalstring.

    Enter the following lines to practice the new commands:

    This document should have \numberstringnum{32}
    pages. Now, we are on page \numberstring{page}
    in the \ordinalstring{section} section...

Putting text into a colorful box

You often see important content put into a colored box, a common practice on posters and slides, although it’s also used in other documents. In this recipe, we will put a little text and whole paragraphs into a colored box, including making a title for the box.

How to do it...

We will use the tcolorbox package. It is based on the pgf bundle, so you need to have also that package installed.

We will create a box with the defaults, a titled box with split content, and boxes placed inline that fit the width of the content. Proceed as follows:

  1. Create a small document based on any document class. The article class is a simple choice. Load the blindtext package to generate dummy text. This time, we will use the pangram option to create short pangrams as dummy text. The blindtext package requires the babel package, so we will load it before. We also set English as the language. Furthermore, load the tcolorbox package. So, our base document...

Visualizing the layout

When designing a document, obtaining precise information about the dimensions and positioning of layout elements, such as the text body, header, footer, and the space allocated for the margin notes, is often helpful. LaTeX can print helplines for you to examine and finetune the layout.

How to do it...

We will use the showframe package. Take the following steps:

  1. Open your document or any sample for testing. Here, we will use the very first document from Chapter 1, Exploring Various Document Classes.
  2. Add the following line at the end of your preamble:
    \usepackage{showframe}
  3. Compile the document. You can see frames around the text body, the margin note area, the header, and the footer as you can see here:
Figure 2.6 – A page layout overview

Figure 2.6 – A page layout overview

Examining the layout can inspire adjustments, such as modifying the margins or other page dimensions. When you no longer need these helplines, you can deactivate the...

Visualizing boxes of letters and symbols

LaTeX utilizes boxes to organize and position text and symbols, whether entire paragraphs or individual letters and symbols. In this recipe, we will closely examine the dimensions of these boxes, the spacing between them, and the resulting dimensions of dynamically adjusted space. This will give us a deeper understanding of typesetting.

In this section, we will use LuaLaTeX. LuaLaTeX is a variant of LaTeX based on the LuaTeX compiler that integrates the Lua scripting language within TeX. It’s a modern alternative to the pdfLaTeX compiler we usually utilize in this book if not mentioned otherwise. In Chapter 11, Using LaTeX in Science and Technology, we will explore Lua programming.

How to do it...

We will additionally load the lua-visual-debug package. Then, we will compile with LuaLaTeX as follows:

  1. Open your document or any sample file. Again, we will use the document from our first recipe in Chapter 1, Exploring Various...

Typesetting in a grid

In addition to full horizontal justification, LaTeX adjusts the page content vertically to maintain a consistent page height. Consequently, the internal spacing within a page can vary. As a result, lines on adjacent pages may look shifted.

For two-sided prints with very thin paper, matching baselines would look much better. Especially in two-column documents, it may be desirable to have baselines of adjacent lines at precisely the same height.

In this recipe, our goal is to arrange lines on a grid. Regular text lines shall be placed at a baseline grid. Displayed formulas, figures, tables, and captions are allowed to have a different baseline, but the subsequent text should return to the grid.

How to do it...

We’ll use the grid package specifically developed for grid typesetting. Follow these steps:

  1. Begin by creating a small two-column example with placeholder text to which we can apply the grid commands. Here is a straightforward code...

Absolute positioning of text

LaTeX takes care of full justification, balancing text height, and positioning floating objects such as figures and tables. It does a great job, but sometimes, we may need to tell LaTeX to put text or an image precisely at a specific position on a page.

Most positioning commands work in relation to the current position in the document. Now, we would like to output text at an absolute position.

How to do it...

We will use the eso-pic package for precise positioning. We will print text at the edge of the page, in the middle, and at specific positions. We will break down the code into small steps. However, you can copy the entire code from GitHub or the book’s website at https://latex-cookbook.net.

Follow these steps:

  1. Start with any document class. We chose the article class with A5 paper size.
    \documentclass[a5paper]{article}
  2. Load the lipsum package so that you can generate placeholder text:
    \usepackage{lipsum}
  3. Load the graphicx...

Adding drop caps

In older texts, such as in fairy tale books, we sometimes see the first paragraph in a text starting with a huge letter while the following text flows around it. This design element is referred to as a drop cap or an initial. We will now use this design for our own text.

How to do it...

We will use the lettrine package, which offers a dedicated command for this purpose. Follow these steps:

  1. Start a document with any document class. In this example, we’ve opted for the book class. We will use A6 paper size because the recipe is easier to show with little text.
    \documentclass{book}
    \usepackage[a6paper]{geometry}
  2. Load the lettrine package:
    \usepackage{lettrine}
  3. Begin the document:
    \begin{document}
  4. Start a paragraph with the command \lettrine{letter}{further introduction}, as follows:
    \lettrine{O}{nce upon a time}, professional writers
    used a mechanical machine called a typewriter. It
    commonly printed fixed-width characters. Emphasizing
    was...

Fitting text to a shape

There are situations when text doesn’t have a strict rectangular shape. For example, if you want to print on a DVD or compact disc label, the whole text should fit within a circular boundary.

How to do it...

The shapepar package can typeset paragraphs in a particular shape, such as a circle, a hexagon, or a heart. The shape size will be automatically adjusted to accommodate the provided text. We will now try it with a heart:

  1. Start a small document, load the blindtext package for dummy text and the shapepar package:
    \documentclass{article}
    \usepackage{blindtext}
    \usepackage{shapepar}
  2. In the document body, use the \shapepar command with a shape type argument, and then your text, as follows:
    \begin{document}
    \shapepar{\heartshape}\blindtext[2]
    \end{document}
  3. Compile and have a look:
Figure 2.15 – Text in the shape of a heart

Figure 2.15 – Text in the shape of a heart

How it works...

We loaded the blindtext package, which provides filler...

Creating a pull quote

To capture readers’ interest in a text, we can present a brief and appealing excerpt as a quotation. We can pull out some text. In a two-column layout, it looks nice to put the quotation into a window at the center of the page between the two columns, with the regular text flowing around it. It’s also an excellent way of embedding images.

How to do it...

One approach is to use the shapepar package to cut out space from the text, like in the previous recipe. However, doing it twice, once for each column, would take some work.

The pullquote package provides a solution. It can typeset a balanced two-column text layout with a cut-out window. This can be filled with text or an image. The shape is arbitrary.

We will use placeholder text and highlight a quote by Donald Knuth, the creator of TeX.

  1. Download the file pullquote.dtx from https://bazaar.launchpad.net/~tex-sx/tex-sx/development/view/head:/pullquote.dtx.
  2. Click on “...
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Work with ready-to-use document templates to write articles, books, a thesis, and more
  • Refine text, fonts, formulas, and tables, and optimize PDF properties
  • Create captivating graphics directly within LaTeX in 2D and 3D
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

The second edition of LaTeX Cookbook offers improved and additional examples especially for users in science and academia, with a focus on new packages for creating graphics with LaTeX. This edition also features an additional chapter on ChatGPT use to improve content, streamline code, and automate tasks, thereby saving time. This book is a practical guide to utilizing the capabilities of modern document classes and exploring the functionalities of the newest LaTeX packages. Starting with familiar document types like articles, books, letters, posters, leaflets, and presentations, it contains detailed tutorials for refining text design, adjusting fonts, managing images, creating tables, and optimizing PDFs. It also covers elements such as the bibliography, glossary, and index. You’ll learn to create graphics directly within LaTeX, including diagrams and plots, and explore LaTeX’s application across various fields like mathematics, physics, chemistry, and computer science. The book’s website offers online compilable code, an example gallery, and supplementary information related to the book, including the author’s LaTeX forum, where you can get personal support. By the end of this book, you’ll have the skills to optimize productivity through practical demonstrations of effective LaTeX usage in diverse scenarios.

Who is this book for?

If you're a LaTeX user in school, academia, or industry with a foundational understanding of LaTeX basics, this book offers efficient solutions to expedite your tasks. Tailored to students, teachers, authors, and engineers, its example-driven format enables quick access to solutions. Familiarity with basic LaTeX syntax and using LaTeX with your preferred editor for compiling is recommended to make the most of this book.

What you will learn

  • Utilize various document classes and incorporate bibliography, glossary, and index sections
  • Handle arranging and annotating images with ease
  • Create visually appealing tables and learn how to manage fonts efficiently
  • Generate diverse and colorful graphics, including diagrams, flow charts, bar charts, trees, and both 2D and 3D plots
  • Solve writing and drawing tasks across various scientific disciplines
  • Optimize PDF output, enhancing it with metadata, annotations, popups, animations, and fill-in fields
  • Leverage ChatGPT to improve content and code
Estimated delivery fee Deliver to Malta

Premium delivery 7 - 10 business days

€32.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Feb 29, 2024
Length: 424 pages
Edition : 2nd
Language : English
ISBN-13 : 9781835080320
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Colour book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Malta

Premium delivery 7 - 10 business days

€32.95
(Includes tracking information)

Product Details

Publication date : Feb 29, 2024
Length: 424 pages
Edition : 2nd
Language : English
ISBN-13 : 9781835080320
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 99.97
LaTeX Cookbook
€29.99
LaTeX Graphics with TikZ
€33.99
LaTeX Beginner's Guide
€35.99
Total 99.97 Stars icon
Banner background image

Table of Contents

15 Chapters
Chapter 1: Exploring Various Document Classes Chevron down icon Chevron up icon
Chapter 2: Tuning the Text Chevron down icon Chevron up icon
Chapter 3: Adjusting Fonts Chevron down icon Chevron up icon
Chapter 4: Creating Tables Chevron down icon Chevron up icon
Chapter 5: Working with Images Chevron down icon Chevron up icon
Chapter 6: Creating Graphics Chevron down icon Chevron up icon
Chapter 7: Creating Beautiful Designs Chevron down icon Chevron up icon
Chapter 8: Producing Contents, Indexes, and Bibliographies Chevron down icon Chevron up icon
Chapter 9: Optimizing PDF Files Chevron down icon Chevron up icon
Chapter 10: Writing Advanced Mathematics Chevron down icon Chevron up icon
Chapter 11: Using LaTeX in Science and Technology Chevron down icon Chevron up icon
Chapter 12: Getting Support on the Internet Chevron down icon Chevron up icon
Chapter 13: Using Artificial Intelligence with LaTeX Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9
(26 Ratings)
5 star 92.3%
4 star 7.7%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Amazon Customer Mar 23, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is an outstanding resource. LaTeX is a complex program with a large number of features, options and packages and so a reference such as this greatly simplifies obtaining the background through ready usable, understandable and tailorable examples. The text is clear, comprehensive and applicable to a wide range of needs where a professional typeset quality product is required or desired. It is relevant to all levels of LaTeX users including first time users new to the program. The first chapter provides an overview and roadmap for the specific applications that are then developed fully in the other chapters. In addition, it includes content about how to assemble an environment – all available open source -- and identifies links to additional online resources. I am a relatively advanced user having used LaTeX since the late 80’s for its incomparable utility for producing reports, articles and presentations with advanced mathematics. In going through the portions most relevant and interesting to me, I learned of several advanced features, packages, etc., that I have now adopted and incorporated as part of my environment. From the PDF version (free as part of the print version purchase), the examples can be cut-and-pasted to provide a foundation to build from. Many advanced features for integrating graphics use the TikZ package and so I recommend also getting the author’s other outstanding book: "LaTeX Graphics with TikZ" that will serve as a highly useful companion.
Amazon Verified review Amazon
Markus Strobel May 27, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Das Buch ist in seiner neuen Auflage noch besser geworden. Es eignet sich optimal um sein vorhandenes LaTeX - Wissen zu vertiefen und vorhandenes Wissen wieder aufzufrischen.Didaktisch gelingt es dem Autor die Inhalte sehr klar, treffend und präzise auf den Punkt zu bringen und mit passend gewählten Beispielen zu verdeutlichen.Eines der besten Bücher auf dem Markt zum Thema LaTeX.Klare Kaufempfehlung!
Amazon Verified review Amazon
Nicholas Bennett Jun 13, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have been fortunate enough to have Stefan help me with many different LaTeX issues over the years. His support has helped me more than I can describe. He asked me for a third time to write an honest review of his LaTeX Cookbook (2ed), which had been on my Amazon Wishlist already. I have used all three of his books and although I do not use this book as much as the other two, it is no less useful and is filled with so much material. I think what struck me first about the Cookbook was the content. It was like he took many of the most common questions from the Latex Community forum and made a simple easy to follow guide. My first use of this book came with the cool ways you can manipulate an image (provide a border, shaping and cutting the image) was particularly useful. There are some nice uses with bar and pie charts (which I could have used about 14 years ago when I was creating files for a text). These guides are easy to follow and understand.There is some overlap with the other features, but this book, like his others is easy to follow and will help with any fear of trying to code using LaTeX. So if you're looking for help with images, diagrams, tables or even resumes, Stefan has you covered. This is a great addition to any TeX fan and I am truly glad that I have this in my library.
Amazon Verified review Amazon
Julia Feld Mar 29, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is the book I needed during the last couple of years, as an author struggling to master LaTeX.Not being a noob with LaTeX, I'm still struggling with formatting, tables, fonts, bibliography, and setting it all up in general.This book helps me solve all my problems, so I fell in love with it. Yes, there is another book, over 1000 pages, really almost impossible to navigate. This one, navigation is a breeze.The book is well-structured, so that one can use it as a reference, or read chapter after chapter,learning and mastering the language.I found especially helpful the chapters covering building an index and a table of contents; then, the chapters that teach you how to include graphics, especially diagrams, both commutative diagrams and Feynman diagrams.The last chapter give you a pretty timely advice on how to use AI (e.g. chatGPT) to build well-formed LaTeX content, both stylistically and graphically.In short, if you produce a rich content: technical books, articles, presentations, you will need this book.
Amazon Verified review Amazon
Andreas Taudte Apr 17, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Just finished exploring the LaTeX Cookbook by Stefan Kottwitz, and I must say, it's a treasure trove for anyone looking to master LaTeX. This book isn't just another guide; it's a hands-on journey into the vast world of LaTeX, offering over 100 practical recipes for a wide range of tasks. Whether you're aiming to create precise documents, craft elegant presentations, or even design your CV, this book has got you covered. Stefan’s expertise shines through every page, making complex concepts accessible and engaging. What truly sets this book apart is its example-driven approach, allowing you to apply what you've learned immediately. And with LaTeX being my favorite typesetting system, this book feels like a dialogue with a fellow enthusiast - highly recommended!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela