Skip to content

Commit bb5614e

Browse files
Mo-Gulhmenke
authored andcommitted
- fixed issue pgf-tikz#718 ([manual] \usepgflibrary vs. \usetikzlibrary)
1 parent 7206882 commit bb5614e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/generic/pgf/text-en/pgfmanual-en-library-babel.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
\section{Babel Library}
1212
\label{section-library-babel}
1313

14-
\begin{pgflibrary}{babel}
14+
\begin{tikzlibrary}{babel}
1515
A tiny library that make the interaction with the |babel| package easier.
1616
Despite the name, it may also be useful in other contexts, namely whenever
1717
the catcodes of important symbols are changed globally. Normally, using
1818
this library is always a good idea; it is not always loaded by default
1919
since in some rare cases it may break old code.
20-
\end{pgflibrary}
20+
\end{tikzlibrary}
2121

2222
The problems this library tries to fix have to do with the so-called
2323
``catcodes'' of symbols used inside \tikzname. In normal \TeX\ operation,

doc/generic/pgf/text-en/pgfmanual-en-library-circuits.tex

+6-6
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ \subsubsection{Overview}
946946
Since the |circuits.logic| library does not define any actual graphics, you need
947947
to use one of the following libraries, instead:
948948

949-
\begin{pgflibrary}{circuits.logic.IEC}
949+
\begin{tikzlibrary}{circuits.logic.IEC}
950950
This library provides graphics based on gates recommended by the
951951
International Electrotechnical Commission. When you include this library,
952952
you can use the following key to set up a scope that contains a logical
@@ -984,9 +984,9 @@ \subsubsection{Overview}
984984
\end{tikzpicture}
985985
\end{codeexample}
986986
\end{key}
987-
\end{pgflibrary}
987+
\end{tikzlibrary}
988988

989-
\begin{pgflibrary}{circuits.logic.US}
989+
\begin{tikzlibrary}{circuits.logic.US}
990990
This library provides graphics showing ``American'' logic gates. It defines
991991
the following key:
992992

@@ -1023,9 +1023,9 @@ \subsubsection{Overview}
10231023
\end{tikzpicture}
10241024
\end{codeexample}
10251025
\end{key}
1026-
\end{pgflibrary}
1026+
\end{tikzlibrary}
10271027

1028-
\begin{pgflibrary}{circuits.logic.CDH}
1028+
\begin{tikzlibrary}{circuits.logic.CDH}
10291029
This library provides graphics based on the logic symbols used in A. Croft,
10301030
R. Davidson, and M. Hargreaves (1992), \emph{Engineering Mathematics},
10311031
Addison-Wesley, 82--95. They are identical to the US-style symbols, except
@@ -1036,7 +1036,7 @@ \subsubsection{Overview}
10361036
nand-gates, that is, it uses |set and gate graphic| with
10371037
|and gate CDH graphic| and likewise for nand-gates.
10381038
\end{key}
1039-
\end{pgflibrary}
1039+
\end{tikzlibrary}
10401040

10411041
Inside |circuit logic XYZ| scopes, you can now use the keys shown in
10421042
Section~\ref{section-logic-symbols}. We have a more detailed look at one of

0 commit comments

Comments
 (0)