Skip to content

Commit

Permalink
- fixed issue pgf-tikz#718 ([manual] \usepgflibrary vs. \usetikzlibrary)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo-Gul authored and hmenke committed Aug 27, 2019
1 parent 7206882 commit bb5614e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions doc/generic/pgf/text-en/pgfmanual-en-library-babel.tex
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
\section{Babel Library}
\label{section-library-babel}

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

The problems this library tries to fix have to do with the so-called
``catcodes'' of symbols used inside \tikzname. In normal \TeX\ operation,
Expand Down
12 changes: 6 additions & 6 deletions doc/generic/pgf/text-en/pgfmanual-en-library-circuits.tex
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ \subsubsection{Overview}
Since the |circuits.logic| library does not define any actual graphics, you need
to use one of the following libraries, instead:

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

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

Expand Down Expand Up @@ -1023,9 +1023,9 @@ \subsubsection{Overview}
\end{tikzpicture}
\end{codeexample}
\end{key}
\end{pgflibrary}
\end{tikzlibrary}

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

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

0 comments on commit bb5614e

Please sign in to comment.