ASSA Override Tags Reference

Advanced SubStation Alpha (ASS/SSA) styling tags for ESOFT SUBTITLE STUDIO

Quick Reference

Override tags are placed inside curly braces { } at the beginning of a subtitle line, or inline within the text. Multiple tags can be combined: {\b1\i1\c&H0000FF&}Red bold italic text

Italic

TagDescription
{\i1}Turn italic on
{\i0}Turn italic off
{\i1}This text is italic{\i0} and this is not.
Back to top

Bold

TagDescription
{\b1}Turn bold on
{\b0}Turn bold off
{\b<weight>}Set font weight (100-900)
{\b1}Bold text{\b0} normal text. {\b700}Extra bold text
Back to top

Underline

TagDescription
{\u1}Turn underline on
{\u0}Turn underline off
{\u1}Underlined text{\u0}
Back to top

Strikeout

TagDescription
{\s1}Turn strikeout on
{\s0}Turn strikeout off
{\s1}Strikethrough text{\s0}
Back to top

Border

TagDescription
{\bord<width>}Set border/outline width (pixels)
{\xbord<x>}Set border width (x-axis only)
{\ybord<y>}Set border height (y-axis only)
{\bord4}Thick border {\bord0}No border {\xbord3\ybord1}Asymmetric border
Back to top

Shadow

TagDescription
{\shad<depth>}Set shadow depth (pixels)
{\xshad<x>}Shadow offset X
{\yshad<y>}Shadow offset Y
{\shad3}Text with shadow {\xshad5\yshad-3}Directional shadow
Back to top

Blur Edges

TagDescription
{\be0}Blur edges off
{\be1}Blur edges on (strength 1)
{\be<strength>}Set blur strength
{\be1}Slightly blurred edges {\be5}Very blurred edges
Back to top

Font Name

TagDescription
{\fn<font_name>}Set the font family
{\fnArial}Text in Arial {\fnTimes New Roman}Text in Times New Roman
Back to top

Font Size

TagDescription
{\fs<size>}Set font size in points
{\fs24}Normal size {\fs48}Big text {\fs12}Small text
Back to top

Font Scale

TagDescription
{\fscx<percent>}Scale X (horizontal) as percentage
{\fscy<percent>}Scale Y (vertical) as percentage
{\fscx150}Stretched horizontally {\fscy200}Stretched vertically {\fscx50\fscy50}Half size
Back to top

Font Spacing

TagDescription
{\fsp<pixels>}Set spacing between letters in pixels
{\fsp10}W i d e s p a c i n g {\fsp-2}Tight spacing
Back to top

Primary Color

Colors use &HBBGGRR& format (Blue-Green-Red, hexadecimal).

TagDescription
{\c&Hbbggrr&}Set primary (text) color
{\1c&Hbbggrr&}Same as \c (primary color)
{\c&H0000FF&}Red text {\c&H00FF00&}Green text {\c&HFF0000&}Blue text {\c&H00FFFF&}Yellow text {\c&HFFFFFF&}White text
Remember: ASSA uses BGR order, not RGB! So &H0000FF& is red, not blue.
Back to top

Outline Color

TagDescription
{\3c&Hbbggrr&}Set outline/border color
{\bord3\3c&H000000&}Text with black outline
Back to top

Shadow Color

TagDescription
{\4c&Hbbggrr&}Set shadow color
{\shad3\4c&H000080&}Text with dark red shadow
Back to top

Alpha (Transparency)

Alpha values: 00 = fully visible, FF = fully transparent.

TagDescription
{\alpha&Haa}Set alpha for all components
{\1a&Haa}Alpha for primary text fill
{\3a&Haa}Alpha for outline/opaque box
{\4a&Haa}Alpha for shadow
{\alpha&H80}Semi-transparent text {\1a&H00\3a&H80}Solid text, semi-transparent outline
Back to top

Alignment

The {\an} tag sets subtitle position using a numpad-style layout:

{\an7}
Top Left
{\an8}
Top Center
{\an9}
Top Right
{\an4}
Center Left
{\an5}
Center Middle
{\an6}
Center Right
{\an1}
Bottom Left
{\an2}
Bottom Center
(default)
{\an3}
Bottom Right
{\an8}This appears at the top center {\an5}This appears at the center of the screen
Back to top

Position

TagDescription
{\pos(x,y)}Set exact position in pixels from top-left
{\pos(320,240)}Text at exact position (320, 240) {\an5\pos(640,360)}Centered text at specific coordinates
The position is relative to the video resolution. For a 1920x1080 video, {\pos(960,540)} would place text at the center.
Back to top

Move

TagDescription
{\move(x1,y1,x2,y2)}Move from (x1,y1) to (x2,y2) over subtitle duration
{\move(x1,y1,x2,y2,t1,t2)}Move between time t1 and t2 (in milliseconds)
{\move(100,500,800,500)}Text slides from left to right {\move(960,0,960,540,0,1000)}Text drops from top to center in 1 second
Back to top

Rotation Origin

TagDescription
{\org(x,y)}Set origin point for rotation
{\org(320,240)\frz45}Text rotated around point (320, 240)
Back to top

Text Rotation

TagDescription
{\fr<degree>}Rotate on Z axis (same as \frz)
{\frx<degree>}Rotate on X axis (3D perspective)
{\fry<degree>}Rotate on Y axis (3D perspective)
{\frz<degree>}Rotate on Z axis (flat rotation)
{\frz45}Rotated 45 degrees clockwise {\frz-30}Rotated 30 degrees counter-clockwise {\frx30\fry45}3D perspective rotation
Back to top

Text Shearing

TagDescription
{\fax<factor>}Shearing/skewing on X axis
{\fay<factor>}Shearing/skewing on Y axis
{\fax0.3}Sheared text (italic-like effect) {\fay-0.2}Vertically sheared text
Back to top

Fade In / Fade Out

TagDescription
{\fad(fadein,fadeout)}Simple fade in/out (milliseconds)
{\fade(a1,a2,a3,t1,t2,t3,t4)}Advanced fade with alpha and timing control
{\fad(500,500)}Fade in over 500ms, fade out over 500ms {\fad(1000,0)}Fade in over 1 second, no fade out {\fade(255,0,255,0,1000,3000,4000)}Complex fade: invisible 0-1s, visible 1-3s, fade out 3-4s
Back to top

Clip

TagDescription
{\clip(x1,y1,x2,y2)}Only show text inside rectangle
{\iclip(x1,y1,x2,y2)}Hide text inside rectangle (inverse clip)
{\clip(0,0,960,540)}Only visible in top-left quarter {\iclip(100,100,300,300)}Hidden inside a small rectangle
Back to top

Animated Transform

The {\t} tag animates changes to other override tags over time.

TagDescription
{\t(<style modifiers>)}Animate over entire subtitle duration
{\t(<accel>,<style>)}Animate with acceleration (1=linear)
{\t(<t1>,<t2>,<style>)}Animate between t1 and t2 (ms)
{\t(<t1>,<t2>,<accel>,<style>)}Animate with time range and acceleration
{\c&HFFFFFF&\t(\c&H0000FF&)}White text fading to red {\fs24\t(\fs48)}Text growing from 24 to 48pt {\frz0\t(0,2000,\frz360)}Full rotation over 2 seconds {\bord1\t(0,1000,2,\bord8)}Border growing with acceleration
Acceleration: Values less than 1 = fast start, slow end. Values greater than 1 = slow start, fast end. Value of 1 = linear.
Back to top

Reset Styles

TagDescription
{\r}Reset all inline styles back to the line's style defaults
{\r<style_name>}Reset to a named style
{\b1\i1\c&H0000FF&}Styled text {\r}back to normal
Back to top