%<*cmp>
\CompatSection{\spec{sea surface}}
\CompatTable{sea surface}{main}{{
  ammunition ship/{main={text=AE}},
  amphibious assault ship/{main={squashed text=LHA}},
  amphibious assault/{main={text=LA}},
  amphibious assualt ship helicopter/{main={squashed text=LPH}},
  amphibious command ship/{main={squashed text=LCC}},
  amphibious transport/{main={squashed text=LPD}},
  amphibious warfare ship/{main={amphibious warfare ship}},
  auxiliary flag ship/{main={squashed text=AGF}},
  auxiliary ship/{main={text=AA}},
  barge/{main={ship,[shift={(0,-.05)}]small text=YB}},
  battleship/{main={text=BB}},
  cargo/{main={ship,text=A}},
  carrier/{main={carrier}},
  civilian boat/{main={boat}},
  civilian jetski/{main={jetski}},
  civilian rigid hull inflatable boat/{main={boat,[shift={(0,-.05)}]small text=RB}},
  civilian speedboat/{main={boat,[shift={(0,-.05)}]small text=SP}},
  civilian unmanned surface water vehicle/{main={unmanned}},
  civilian/{main={squashed text=CIV}},
  combat support ship/{main={squashed text=AOE}},
  combatant/{main={combatant}},
  container ship/{main={ship,text=C}},
  convoy/{main={convoy}},
  corvette/{main={text=FS}},
  cruiser guided missile/{main={text=CG}},
  destroyer/{main={text=DD}},
  dredge/{main={ship,text=D}},
  drifter/{main={fishing vessel,text=DF}},
  ferry/{main={ship,text=F}},
  fishing vessel/{main={fishing vessel}},
  frigate/{main={text=FF}},
  harbour tug/{main={text=YT}},
  hazardous material transport ship/{main={ship,[yshift=-.07]small text=HZ}},
  heavy lift/{main={ship,text=H}},
  hospital ship/{main={text=AH}},
  hovercraft/{main={ship,text=J}},
  intelligence collector/{main={squashed text=AGI}},
  junk/{main={ship,[yshift=-.07]small text=QJ}},
  landing craft/{main={text=LC}},
  landing ship/{main={text=LS}},
  lash carrier/{main={ship,text=L}},
  launch/{main={squashed text=YFT}},
  law enforcement vessel/{main={coast guard vessel}},
  littoral combatant ship/{main={squashed text=LCS}},
  military jetski/{main={[fill]jetski}},
  military rigid hull inflatable boat/{main={{[fill]boat},{[white,scale=.5,yshift=-1.2]small text=RB}}},
  military speedboat/{main={[fill]boat}},
  military unmanned surface water vehicle/{main={[fill]unmanned}},
  military/{main={squashed text=MIL}},
  mine countermeasure support ship/{main={squashed text=MCS}},
  mine countermeasures/{main={squashed text=MCM}},
  mine warfare vessel/{main={mine warfare vessel}},
  minehunter/{main={text=MH}},
  minelayer/{main={text=ML}},
  minesweeper drone/{main={squashed text=MSD}},
  minesweeper/{main={text=MS}},
  multi purpose amphibious assualt ship/{main={squashed text=LHD}},
  naval cargo ship/{main={text=AK}},
  navy task element/{main={navy task,squashed text=TE}},
  navy task force/{main={navy task,squashed text=TF}},
  navy task group/{main={navy task,squashed text=TG}},
  navy task organisation unit/{main={navy task}},
  navy task unit/{main={navy task,squashed text=TU}},
  non combatant/{main={non combatant}},
  non self propelled barge/{main={text=YB}},
  ocean going tug/{main={text=AT}},
  ocean research ship/{main={squashed text=AGO}},
  oiler/{main={squashed text=AOR}},
  passenger ship/{main={ship,text=P}},
  patrol craft/{main={text=PC}},
  patrol ship/{main={text=PG}},
  patrol/{main={patrol}},
  repair ship/{main={text=AR}},
  roll on roll off/{main={ship,text=E}},
  sailing boat/{main={sailing boat}},
  sea surface decoy/{main={decoy}},
  self propelled barge/{main={text=YS}},
  service craft/{main={text=YY}},
  ship/{main={ship}},
  stores ship/{main={text=AF}},
  submarine tender/{main={text=AS}},
  surface combatant/{main={surface combatant}},
  survey ship/{main={squashed text=AGS}},
  tanker/{main={ship,text=O}},
  tow/{main={ship,[yshift=-.09]small text=TW}},
  trawler/{main={fishing vessel,[yshift=-.09]small text=TR}},
  tug/{main={ship,text=T}},
}}

\CompatTable{sea surface}{upper}{{
  anti air warfare/{upper={squashed text=AAW}},
  anti submarine warfare/{upper={squashed text=ASW}},
  ballistic missile/{upper={text=B}},
  drone equipped/{upper={[fill]unmanned}},
  electronic warfare/{upper={text=EW}},
  escort/{upper={text=E}},
  guided missile/{upper={text=G}},
  helicopter equipped/{upper={text=H}},
  intelligence surveillance reconnaissance/{upper={squashed text=ISR}},
  medical/{upper={text=ME}},
  mine counter measures/{upper={squashed text=MCM}},
  mine warfare/{upper={text=MW}},
  missile defence/{upper={text=MD}},
  other guided missile/{upper={text=M}},
  remote multi mission vehicle/{upper={squashed text=RMV}},
  special operations force/{upper={squashed text=SOF}},
  surface warfare/{upper={squashed text=SUW}},
  torpedo/{upper={text=T}},
}}

\CompatTable{sea surface}{lower}{{
  air cushioned alternate/{lower={text=AC}},
  air cushioned/{lower={text=J}},
  autonomous control/{lower={squashed text=AUT}},
  dock/{lower={text=D}},
  expendable/{lower={squashed text=EXP}},
  fast/{lower={text=F}},
  heavy/{lower={text=H}},
  hydrofoil/{lower={text=K}},
  light/{lower={text=L}},
  logistics/{lower={squashed text=LOG}},
  medium/{lower={text=M}},
  nuclear powered/{lower={text=N}},
  remotely piloted/{lower={text=RP}},
  tank/{lower={text=T}},
  vehicle/{lower={text=V}},
}}
%</cmp>
