[BACK]Return to tbl.h CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/tbl.h between version 1.1 and 1.3

version 1.1, 2018/12/12 21:54:35 version 1.3, 2025/01/05 18:14:39
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2014, 2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2014,2015,2017,2018,2021 Ingo Schwarze <schwarze@openbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 51  enum tbl_cellt {
Line 51  enum tbl_cellt {
  */   */
 struct  tbl_cell {  struct  tbl_cell {
         struct tbl_cell  *next;     /* Layout cell to the right. */          struct tbl_cell  *next;     /* Layout cell to the right. */
         char             *wstr;     /* Min width represented as a string. */  
         size_t            width;    /* Minimum column width. */          size_t            width;    /* Minimum column width. */
         size_t            spacing;  /* To the right of the column. */          size_t            spacing;  /* To the right of the column. */
         int               vert;     /* Width of subsequent vertical line. */          int               vert;     /* Width of subsequent vertical line. */
         int               col;      /* Column number, starting from 0. */          int               col;      /* Column number, starting from 0. */
         int               flags;          int               flags;
 #define TBL_CELL_BOLD    (1 << 0)   /* b, B, fB */  
 #define TBL_CELL_ITALIC  (1 << 1)   /* i, I, fI */  
 #define TBL_CELL_TALIGN  (1 << 2)   /* t, T */  #define TBL_CELL_TALIGN  (1 << 2)   /* t, T */
 #define TBL_CELL_UP      (1 << 3)   /* u, U */  #define TBL_CELL_UP      (1 << 3)   /* u, U */
 #define TBL_CELL_BALIGN  (1 << 4)   /* d, D */  #define TBL_CELL_BALIGN  (1 << 4)   /* d, D */
 #define TBL_CELL_WIGN    (1 << 5)   /* z, Z */  #define TBL_CELL_WIGN    (1 << 5)   /* z, Z */
 #define TBL_CELL_EQUAL   (1 << 6)   /* e, E */  #define TBL_CELL_EQUAL   (1 << 6)   /* e, E */
 #define TBL_CELL_WMAX    (1 << 7)   /* x, X */  #define TBL_CELL_WMAX    (1 << 7)   /* x, X */
           enum mandoc_esc   font;
         enum tbl_cellt    pos;          enum tbl_cellt    pos;
 };  };
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

CVSweb