Fonts & Character Setsbbding Error

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
kurttodoroff
Posts: 24
Joined: Thu Feb 07, 2019 4:25 pm

bbding Error

Post by kurttodoroff »

I have been processing my LaTeX document without issue.

I added \usepackage{bbding} to my package list, this morning. I have have not attempted to use a bbding symbol in my document.

Code: Select all

\usepackage{bookmark,hyperref}     % add HyperTeX links
\usepackage{verbatim}              % KRT 1997-12-27 for using \begin-end{comment}
\usepackage{multicol}              % KRT 1999-01-12 for using multicolumn environment
\usepackage{lscape}                % KRT 1999-03-19
\usepackage{fancyhdr}              % KRT 1999-10-03
\usepackage{textcomp}              % KRT 2001-07-22
\usepackage{latexsym}              % KRT 2001-08-18
\usepackage{amsmath}               % KRT 2011-06-23
\usepackage{amssymb}               % KRT 2001-08-18
\usepackage{marvosym}              % KRT 2010-12-15
\usepackage{wasysym}               % KRT 2010-12-15
\usepackage{eurosym}               % KRT 2010-12-15
\usepackage{lastpage}              % KRT 2003-09-10
\usepackage{graphicx}              % KRT 2004-07-31
\usepackage{xr}                    % KRT 1997-08-04
\usepackage{makeidx}               % KRT 2007-09-26
\usepackage[normalem]{ulem}        % KRT 2009-11-28
\usepackage{color}                 % KRT 2011-01-18
\usepackage{tikz}                  % KRT 2011-05-03
\usepackage{calc}                  % KRT 2011-05-03
\usepackage{slantsc}               % KRT 2011-05-03
\usepackage[sc]{mathpazo}          % KRT 2011-05-03
\usepackage{framed}                % KRT 2011-05-18
\usepackage{datenumber}            % KRT 2011-06-04
\usepackage{fp}                    % KRT 2011-06-04
\usepackage{datetime}              % KRT 2011-06-20
\usepackage{lineno}                % KRT 2012-06-03
\usepackage{dcolumn}               % KRT 2012-06-03
\usepackage{siunitx}               % KRT 2012-06-04
\usepackage{cancel}                % KRT 2012-06-08
\usepackage{spreadtab}             % KRT 2013-05-27
\usepackage{numprint}              % KRT 2013-05-27
\usepackage{tabularx}              % KRT 2013-05-27
\usepackage{hyperxmp}              % KRT 2013-10-13
\usepackage{changebar}             % KRT 2013-12-18
\usepackage{textcase}              % KRT 2014-04-23
\usepackage{ifpdf}                 % KRT 2015-02-10
\usepackage{clipboard}             % KRT 2019-02-08
\usepackage{titlesec}              % KRT 2019-03-16
\usepackage{minitoc}               % KRT 2019-03-16
\usepackage{bbding}                % KRT 2019-03-16
I ran my document. LaTeX returned the following error:

Code: Select all

LaTeX Error:
 Command \Cross already defined.
               Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
l.73 \newcommand{\Cross}{\@chooseSymbol{'052}}
? 
/usr/local/texlive/2018/texmf-dist/tex/latex/bbding/bbding.sty:133: LaTeX Error
: Command \Square already defined.
               Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
l.133 \newcommand{\Square}{\@chooseSymbol{'146}}
?
Does bbding conflict with any of the packages that are loading?

Thank you.

Kurt

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

bbding Error

Post by Johannes_B »

You are loading 4 or 5 different packages, that provide more or less the same symbols and command names. A clash is expected.

Are you using all those packages? They seem to be quite random.

Package hyperref should normally be loaded last. You load it almost at the beginning.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

bbding Error

Post by Stefan Kottwitz »

Hi Kurt!

In case of such a name clash (Command ... already defined.) you can undefine the affected macro or symbol, before you load the other package that contains a macro or symbol with the same name. This fixes your document:

Code: Select all

% before you load bbding
\let\Cross\relax
\let\Square\relax
% now you can load it
\usepackage{bbding}


Stefan
LaTeX.org admin
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

bbding Error

Post by Stefan Kottwitz »

Regarding hyperref: indeed, it should be loaded at the end, because hyperref redefines a lot of macros of other package in order to add hyperlink capability to the macros.

There are exceptions though: packages that actually rely on hyperref or add something to its capabilities. Stephen wrote on TeX.SE a summary:

geometry
robustindex
hypdestopt, hypcap, hypbmsec
attachfile
showframe, showidx
uri, pageslts, regstats
refcheck

and probably also further packages with \RequirePackage{hyperref}. A quick search in TeX Live 2011 resulted in this list:

amsrefs
attachfile2
bugtracker (part of pgfplots)
classicthesis
doi
dtx-style (part of thuthesis)
eforms
exerquiz
hypgotoe
insdljs
ltxdockit
opcit
prerex
rec-thy
tdclock
toptesi
ydoc-code and ydoc-desc

Packages with \RequirePackage[<some option(s)>]{hyperref}:

beamerbasearticle
bidituftehyperref
chextras
cmpj
dtk-pdf
easy-todo
hep
hrefhide
ifmslide
lstdoc
ocgtools
pdfcomment
pdfscreen
pdfx
rvdtx
strukdoc
ucshyper
That's a lot but many are rarely used anyway.

Stefan
LaTeX.org admin
kurttodoroff
Posts: 24
Joined: Thu Feb 07, 2019 4:25 pm

bbding Error

Post by kurttodoroff »

Johannes,

I moved hyperref to the end of the list. I reran my document, with bbding in the list, on the small chance that this would remedy the problem. The problem remains.

I am not using all of these symbols packages in my current four LaTeX projects. I have used them in previous projects. I store all of my preamble commands in a single file, which, each document uses (\input{file}). I'm not certain how you concluded that they are random. I added them to the file, as each new need arose.



Johannes and Stefan,

I want to use:

\ArrowBoldRightShort (which I would modify as \scalebox{1.5}[0.7]\ArrowBoldRightShort)

in one of my current LaTeX projects. I located it in the bbding list, only, in The Comprehensive LATEX Symbol List. Do you know if it exists in a package that I am already loading?

I use the TeX Live Utility to update the packages in my system, once a week. I don't review the documentation for each of the updates. I am wondering if, during the past two decades, some of the symbols packages have become supersets of other symbol packages. If so, perhaps I could remove some of the symbols packages from my file. That being said, does a single superset symbols package exist?

Your thoughts?

Thank you.

Regards,

Kurt
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

bbding Error

Post by Stefan Kottwitz »

Hi Kurt,

there is no superset.

Did you try what I wrote above? This fixes the bbding clash.

Stefan
LaTeX.org admin
kurttodoroff
Posts: 24
Joined: Thu Feb 07, 2019 4:25 pm

bbding Error

Post by kurttodoroff »

Hi, Stefan.

Your code worked well. The arrow appears exactly as I had wanted it.

Regards,

Kurt
kurttodoroff
Posts: 24
Joined: Thu Feb 07, 2019 4:25 pm

bbding Error

Post by kurttodoroff »

Hi, Stefan.

I am using the minitoc package in one of my current documents. I am generally pleased with the results, however:

1: I am unable to change the chapter toc font to match the document font Helvetica (phv). I have searched the minitoc documentation for this, unsuccessfully.

2: I am unable to increase the chapter toc width. Again, I have been unable to find this in the documentation.

I am reproducing a table from an old document (nearly sixty years). I have used the tabular environment to reproduce all of the complex table, with the exception of the rectangular box in the top left corner, as displayed here. This is eluding me. I welcome your suggestions.
Screen Shot 2019-03-23 at 22.44.47.jpg
Screen Shot 2019-03-23 at 22.44.47.jpg (46.45 KiB) Viewed 11057 times
Regards,

Kurt
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

bbding Error

Post by Johannes_B »

Please start a new thread for every issue you are facing. One for the minitoc thing, one for the tables (they seem to be unrelated).

Don't forget to post a minimal working example.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

bbding Error

Post by Stefan Kottwitz »

Hi Kurt,

indeed, I and others rarely read later posts in older already solved topics. It's better to open a new topic, for each single thingy or question. That makes reading and archiving easier.

And, having a code sample helps us to test and to give you code for a fix. You post code, you get code. ;)

Thanks,

Stefan
LaTeX.org admin
Post Reply