|
| 1 | +%% |
| 2 | +% Copyright (c) 2017 - 2021, Pascal Wagler; |
| 3 | +% Copyright (c) 2014 - 2021, John MacFarlane |
| 4 | +% |
| 5 | +% All rights reserved. |
| 6 | +% |
| 7 | +% Redistribution and use in source and binary forms, with or without |
| 8 | +% modification, are permitted provided that the following conditions |
| 9 | +% are met: |
| 10 | +% |
| 11 | +% - Redistributions of source code must retain the above copyright |
| 12 | +% notice, this list of conditions and the following disclaimer. |
| 13 | +% |
| 14 | +% - Redistributions in binary form must reproduce the above copyright |
| 15 | +% notice, this list of conditions and the following disclaimer in the |
| 16 | +% documentation and/or other materials provided with the distribution. |
| 17 | +% |
| 18 | +% - Neither the name of John MacFarlane nor the names of other |
| 19 | +% contributors may be used to endorse or promote products derived |
| 20 | +% from this software without specific prior written permission. |
| 21 | +% |
| 22 | +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 23 | +% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 24 | +% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 25 | +% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
| 26 | +% COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 27 | +% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
| 28 | +% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 29 | +% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 30 | +% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 31 | +% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
| 32 | +% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 33 | +% POSSIBILITY OF SUCH DAMAGE. |
| 34 | +%% |
| 35 | + |
| 36 | +\newcommand{\MethodsOrUID}[1]{{\fontspec{Courier New} #1}} % Define UID in Courier New Font |
| 37 | + |
| 38 | +\definecolor{lightgray}{RGB}{230, 230, 230} |
| 39 | +\definecolor{darkgray}{RGB}{179, 179, 179} |
| 40 | + |
| 41 | +\newcommand{\ReadOnlyFixed}[1]{{\cellcolor{lightgray} \fontsize{9}{10} #1}} |
| 42 | +\newcommand{\ReadOnlyVU}[1]{{\cellcolor{lightgray} \fontsize{9}{10} \underline{\textbf{#1}}}} |
| 43 | +\newcommand{\WritableACFixed}[1]{{\cellcolor{darkgray} \fontsize{9}{10} #1}} |
| 44 | +\newcommand{\Writable}[1]{{\cellcolor{darkgray} \fontsize{9}{10} \underline{\textbf{#1}}}} |
| 45 | +\newcommand{\Narrow}[1]{{\fontsize{9}{10} #1}} |
| 46 | + |
| 47 | +\newcommand{\spheading}[2][20em]{% \spheading[<width>]{<stuff>} |
| 48 | + \rotatebox{90}{\parbox{#1}{\raggedright #2}}} |
| 49 | + |
| 50 | + |
0 commit comments