Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ots-doctools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
ots-doctools
Commits
001e3aaf
Commit
001e3aaf
authored
3 years ago
by
Karl Fogel
Browse files
Options
Downloads
Patches
Plain Diff
Add \otsindentednote command
parent
19a5b7a8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
latex/ots.sty
+24
-0
24 additions, 0 deletions
latex/ots.sty
with
24 additions
and
0 deletions
latex/ots.sty
+
24
−
0
View file @
001e3aaf
...
...
@@ -213,6 +213,30 @@ trim=0cm 11cm 19.3cm 11cm, scale=0.09]{otslogo.pdf}}}
% when working with the LaTeX source text.
\newcommand
{
\otsparenref
}
[1]
{
(
\ref
{
#1
}}
% Create an indented, italicized, parenthesized green TBD note.
%
% By the way, https://htmlcolorcodes.com/colors/shades-of-green/ tells
% us that #4F7942 == "Fern Green".
%
% Internal OTS note: We had some similar commands way back when, in
% some of the reports we wrote for the PSM project. Nowadays that's
% all archived in SVN and is no longer in HEAD. To see them, do:
%
% $ svn checkout https://.../clients/hhs/cms/@r13321
% $ cd cms
% $ find . -name "*.ltx" -print
%
% The LaTeX commands in question are:
%
% - \vtbd (in psm-approaches.ltx and psc-gap-analysis.ltx)
% - \otswarn (in psm-approaches.ltx)
%
% Also, there are a number of other interesting LaTeX commands there
% that we might want to revive some day, like \otscaption, \otshref,
% \iitem, \specialcell, \filespec, and \otsfirstterm.
\usepackage
{
xcolor
}
\newcommand
{
\otsindentednote
}
[1]
{
\begin{adjustwidth}
{
2em
}{
2em
}
\textcolor
[HTML]
{
4F7942
}{
\textit
{
\textbf
{
#1
}}}
\end{adjustwidth}
}
% Use one or the other version of this command for citations to other
% documents. The \otsciteid variant is for citations involving some
% kind of unique identifier (e.g., like for the document inventory in
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment