From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- info/examples/lgc2/D-11-7.ltx | 132 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 info/examples/lgc2/D-11-7.ltx (limited to 'info/examples/lgc2/D-11-7.ltx') diff --git a/info/examples/lgc2/D-11-7.ltx b/info/examples/lgc2/D-11-7.ltx new file mode 100644 index 0000000000..9ad484c89f --- /dev/null +++ b/info/examples/lgc2/D-11-7.ltx @@ -0,0 +1,132 @@ +%% +%% The LaTeX Graphics Companion, 2ed (first printing May 2007) +%% +%% Example D-11-7 on page . +%% +%% Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +\documentclass{ttctexaplate} +\pagestyle{empty} +\setcounter{page}{6} +\setlength\textwidth{413.44133pt} +\StartShownPreambleCommands +\usepackage{array,multicol}% + \usepackage[table,showerrors,dvipsnames]{xcolor} + \makeatletter + \def\testclr#1#{\@testclr{#1}} + \def\@testclr#1#2{{\fboxsep\z@\fbox{\colorbox#1{#2}{\phantom{XXXX}}}}} + \def\Testclr#1#{\@Testclr{#1}} + \def\@Testclr#1#2#3{\testclr#1{#2}~\rlap{\textrm{#3}}\\} + \makeatother + +\StopShownPreambleCommands +\begin{document} +% +\raggedcolumns\columnsep2em +% +\begin{multicols}{4}% +\small\def\0#1{\Testclr{#1}{#1}} +\noindent +\0{black} +\0{blue} +\0{brown} +\0{cyan} +\0{darkgray} +\0{gray} +\0{green} +\0{lightgray} +\0{lime} +\0{magenta} +\0{olive} +\0{orange} +\0{pink} +\0{purple} +\0{red} +\0{teal} +\0{violet} +\0{white} +\0{yellow} +\end{multicols} + +\centerline{(c)~Base colors for \texttt{xcolor} (always available)} + +\begin{multicols}{4}% +\small\def\0#1{\Testclr{#1}{#1}} +\noindent +\0{Apricot} +\0{Aquamarine} +\0{Bittersweet} +\0{Black} +\0{Blue} +\0{BlueGreen} +\0{BlueViolet} +\0{BrickRed} +\0{Brown} +\0{BurntOrange} +\0{CadetBlue} +\0{CarnationPink} +\0{Cerulean} +\0{CornflowerBlue} +\0{Cyan} +\0{Dandelion} +\0{DarkOrchid} +\0{Emerald} +\0{ForestGreen} +\0{Fuchsia} +\0{Goldenrod} +\0{Gray} +\0{Green} +\0{GreenYellow} +\0{JungleGreen} +\0{Lavender} +\0{LimeGreen} +\0{Magenta} +\0{Mahogany} +\0{Maroon} +\0{Melon} +\0{MidnightBlue} +\0{Mulberry} +\0{NavyBlue} +\0{OliveGreen} +\0{Orange} +\0{OrangeRed} +\0{Orchid} +\0{Peach} +\0{Periwinkle} +\0{PineGreen} +\0{Plum} +\0{ProcessBlue} +\0{Purple} +\0{RawSienna} +\0{Red} +\0{RedOrange} +\0{RedViolet} +\0{Rhodamine} +\0{RoyalBlue} +\0{RoyalPurple} +\0{RubineRed} +\0{Salmon} +\0{SeaGreen} +\0{Sepia} +\0{SkyBlue} +\0{SpringGreen} +\0{Tan} +\0{TealBlue} +\0{Thistle} +\0{Turquoise} +\0{Violet} +\0{VioletRed} +\0{White} +\0{WildStrawberry} +\0{Yellow} +\0{YellowGreen} +\0{YellowOrange} +\end{multicols} +\end{document} -- cgit v1.2.3