Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
LaTeX Cookbook

You're reading from   LaTeX Cookbook Over 90 hands-on recipes for quickly preparing LaTeX documents to solve various challenging tasks

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher Packt
ISBN-13 9781784395148
Length 378 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Stefan Kottwitz Stefan Kottwitz
Author Profile Icon Stefan Kottwitz
Stefan Kottwitz
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. The Variety of Document Types FREE CHAPTER 2. Tuning the Text 3. Adjusting Fonts 4. Working with Images 5. Beautiful Designs 6. Designing Tables 7. Contents, Indexes, and Bibliographies 8. Getting the Most out of the PDF 9. Creating Graphics 10. Advanced Mathematics 11. Science and Technology 12. Getting Support on the Internet Index

Importing just a single symbol from a font family


There are a lot of packages providing symbols. Often, you get the new commands for additional symbols by simply loading the package by using the \usepackage command. However, there can be name conflicts in case the other packages already use the same command name. It can result in an error or in silently overwriting the command.

In this recipe, we will see how to choose one or more specific symbols from a package and access them without loading the whole package.

We will choose a binary relation symbol from the mathabx package. This will be the sign for less or equal. Later, we will import its negation.

Getting ready

In this recipe, we need to take a look at the source code of the symbol package to imitate part of what it does, so prepare yourself:

  1. Locate the file mathabx.sty and open it. At the Command Prompt, kpsewhich mathabx.sty gives you the location. But you can also use your file manager.

  2. In mathabx.sty, you can see \input mathabx.dcl. There...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime