- Användarhandbok för InDesign
- Lär känna InDesign
- Skapa och layouta dokument
- Dokument och sidor
- Skapa dokument
- Arbeta med mallsidor
- Arbeta med dokumentsidor
- Ange sidstorlek, marginaler och utfall
- Arbeta med filer och mallar
- Skapa bokfiler
- Lägga till grundläggande sidnumrering
- Numrera sidor, kapitel och avsnitt
- Konvertera QuarkXPress- och PageMaker-dokument
- Dela innehåll
- Lär dig ett grundläggande hanterat arbetsflöde
- Spara dokument
- Stödraster
- Hjälpmedel för layout
- Dokument och sidor
- Lägg till innehåll
- Text
- Lägga till text till ramar
- Koppla text
- Arabiska och hebreiska funktioner i InDesign
- Skapa text på en bana
- Punkter och numrering
- Tecken och specialtecken
- Textdisposition
- Textvariabler
- Generera QR-koder
- Redigera text
- Justera text
- Figursätta text runt objekt
- Förankrade objekt
- Länkat innehåll
- Formatera stycken
- Formatera tecken
- Sök/ersätt
- Stavningskontroll och språklexikon
- Typografi
- Formatera text
- Granska text
- Lägga till referenser
- Format
- Tabeller
- Interaktivitet
- Bilder
- Färg och genomskinlighet
- Text
- Dela
- Publicera
- Montera, exportera och publicera
- Utskrift
- Skriva ut häften
- Utskriftsmärken och utfall
- Skriva ut dokument
- Tryckfärger, separation och halvtonsraster
- Övertryck
- Skapa PostScript- och EPS-filer
- Förhandskontrollera filer före leverans
- Skriva ut miniatyrbilder och stora dokument
- Förbereda PDF-filer för tjänstleverantörer
- Förbereda färgseparationer
- Utöka InDesign
- Automatisering
- Felsökning
About table and cell styles
Just as you use text styles to format text, you can use table and cell styles to format tables. A table style is a collection of table formatting attributes, such as table borders and row and column strokes, that can be applied in a single step. A cell style includes formatting such as cell insets, paragraph styles, and strokes and fills. When you edit a style, all tables or cells to which the style is applied are updated automatically.
There is one important difference between text styles and table styles. While all character styles attributes can be part of a paragraph style, cell style attributes are not part of the table style. For example, you cannot use a table style to change the border color of interior cells. Instead, create a cell style and include it in the table style.
Formaten [Grundläggande tabell] och [Inget]
By default, each new document contains a [Basic Table] style that can be applied to tables you create and a [None] style that can be used to remove cell styles applied to cells. You can edit the [Basic Table] style, but you can’t rename or delete either [Basic Table] or [None].
Använda cellformat i tabellformat
When you create a table style, you can specify which cell styles are applied to different regions of the table: header and footer rows, left and right columns, and body rows. For example, for the header row, you can assign a cell style that applies a paragraph style, and for the left and right columns, you can assign different cell styles that apply shaded backgrounds.

A. Huvudrad som är formaterad med ett cellformat som innehåller ett styckeformat B. Vänster kolumn C. Tabellkroppceller D. Höger kolumn
Cellformatattribut
Cell styles do not necessarily include all the formatting attributes of a selected cell. When you create a cell style, you can determine which attributes are included. That way, applying the cell style changes only the desired attributes, such as cell fill color, and ignores all other cell attributes.
Formatprioritet i format
If a conflict occurs in formatting applied to a table cell, the following order of precedence determines which formatting is used:
Cell style precedence
1. Header/Footer 2. Left column/Right column 3. Body rows. For example, if a cell appears in both the header and the left column, the formatting from the header cell style is used.
Table style precedence
1. Cell overrides 2. Cell style 3. Cell styles applied from a table style 4. Table overrides 5. Table styles. For example, if you apply one fill using the Cell Options dialog box and another fill using the cell style, the fill from the Cell Options dialog box is used.
Table/Cell Styles panels overview
Use the Table Styles panel (Window > Styles >Table Styles) to create and name table styles, and to apply the styles to existing tables or tables you create or import. Use the Cell Styles panel (Window > Styles > Cell Styles) to create and name cell styles, and to apply the styles to table cells. Styles are saved with a document and appear in the panel each time you open that document. You can save table and cell styles in groups for easier management.
When you position the insertion point in a cell or table, any style that is applied is highlighted in either of the panels. The name of any cell style that is applied through a table style appears in the lower left corner of the Cell Styles area. If you select a range of cells that contains multiple styles, no style is highlighted and the Cell Styles panel displays “(Mixed).”
Open the Table Styles or Cell Styles panel
-
Välj Fönster > Format och välj Tabellformat eller Cellformat.
Change how styles are listed in the panel
- Markera Små panelrader om du vill visa en komprimerad version av formaten.
- Du kan dra format till en annan plats. Du kan även dra format till grupper som du skapar.
- Välj Sortera efter namn på panelmenyn om du vill visa formaten i bokstavsordning.
Define table and cell styles
-
Om du vill basera ett nytt format på en befintlig tabell eller cell som redan är formaterad, placerar du insättningspunkten i en cell.
-
Du kan definiera ett styckeformat för cellformatet.
-
Välj Fönster > Format >Tabellformat för att öppna tabellformatpanelen eller välj Fönster > Format > Cellformat för att öppna cellformatpanelen.
-
Välj Nytt tabellformat på tabellformatpanelens meny eller Nytt cellformat på cellformatpanelens meny.
-
Skriv ett namn i rutan Formatnamn.
-
I Baserad på väljer du det format du vill basera det nya formatet på.
-
Om du vill lägga till ett formatkortkommando placerar du insättningspunkten i textrutan Kortkommando och kontrollerar att Num Lock är aktiverad. Tryck sedan på valfri kombination av Skift, Alt och Ctrl (Windows) eller Skift, Alt och Kommando (Mac OS) och tryck på en siffra på det numeriska tangentbordet. Du kan inte använda bokstäver eller siffror som inte finns på tangentbordet för kortkommandon.
-
Om du vill ange formatattributen klickar du på en kategori till vänster och anger de attribut du vill använda. Om du till exempel vill använda ett styckeformat klickar du på kategorin Allmänna och väljer ett styckeformat på menyn Styckeformat.
For cell styles, options that don’t have a setting specified are ignored in the style. If you don’t want a setting to be part of the style, choose (Ignore) from the setting’s menu, delete the contents of the field, or click a check box until a small box appears in Windows or a hyphen (-) appears in Mac OS.
-
Om du vill att ett nytt format ska visas i en formatgrupp som du skapat drar du formatet till formatgruppmappen.
Load (import) table styles from other documents
You can import table and cell styles from another InDesign document into the active document. During import, you can determine which styles are loaded and what should occur if a loaded style has the same name as a style in the current document. You can also import styles from an InCopy document.
-
Välj Läs in cellformat, Läs in tabellformat eller Läs in tabell- och cellformat på cellformatpanelens eller tabellformatpanelens meny.
-
Dubbelklicka på det InDesign-dokument som du vill importera format från.
-
Kontrollera att de format du vill importera är markerade i dialogrutan Läs in format. Om det finns befintliga format med samma namn som något av de format du vill importera, väljer du något av följande alternativ under Konflikt med befintligt format och klickar sedan på OK
Use Incoming Style Definition
Overwrites the existing style with the loaded style and applies its new attributes to all cells in the current document that used the old style. The definitions of the incoming and existing styles appear at the bottom of the Load Styles dialog box so you can compare them.
Auto-Rename
Renames the loaded style. For example, if both documents have a style named “Table Style 1,” the loaded style is renamed “Table Style 1 copy” in the current document.
Apply table and cell styles
Unlike paragraph and character styles, table and cell styles do not share attributes, so applying a table style does not override cell formatting, and applying a cell style does not override table formatting. By default, applying a cell style removes formatting applied by any previous cell style, but does not remove local cell formatting. Similarly, applying a table style removes formatting applied by any previous table style, but does not remove overrides made using the Table Options dialog box.
In the Styles panel, a plus sign (+) appears next to the current cell or table style if the selected cell or table has additional formatting that isn’t part of the applied style. Such additional formatting is called an override.
-
Placera insättningspunkten i en tabell eller markera de celler som du vill använda formatet på.
-
Gör något av följande:
Klicka på tabell- eller cellformatet på panelen Tabellformat eller Cellformat (välj Fönster > Format > Tabellformat eller Cellformat). Om formatet finns i en formatgrupp expanderar du formatgruppen och letar rätt på formatet.
Tryck på kortkommandot som du har definierat för formatet. (Kontrollera att Num Lock är aktiverat.)
Base one table or cell style on another
You can create links between similar table or cell styles by creating a base, or parent, style. When you edit the parent style, any changed attribute that appears in the child styles will change as well. By default, table styles are based on [No Table Style], and cell styles are based on [None].
-
Skapa ett nytt format.
-
Välj det överordnade formatet på menyn Baserat på i dialogrutan Nytt tabellformat eller Nytt cellformat. Det nya formatet blir underordnat format.
-
Ange formatering för det nya formatet för att skilja det från det överordnade formatet.
Edit table and cell styles
One of the advantages of using styles is that when you change the definition of a style, all of the tables or cells formatted with that style change to match the new style definition.
-
Gör något av följande:
Om du inte vill att formatet ska användas på den markerade tabellen eller cellen högerklickar (Windows) respektive Ctrl-klickar (Mac OS) du på formatet på formatpanelen och väljer Redigera [formatnamn].
Dubbelklicka på formatet på formatpanelen eller markera formatet och välj Formatalternativ på formatpanelens meny. Tänk på att du tillämpar cellformatet på alla markerade celler eller tabellformatet på alla markerade tabeller med den här metoden. Om du inte har markerat en tabell när du dubbelklickar på ett tabellformat, blir det formatet standardformat för alla nya tabeller.
-
Ändra inställningarna i dialogrutan och klicka sedan på OK.
Delete table and cell styles
When you delete a style, you can select a different style to replace it, and you can choose whether to preserve the formatting.
-
Markera formatet på formatpanelen.
-
Gör något av följande:
Välj Ta bort format på panelmenyn.
Klicka på ikonen Ta bort
längst ned på panelen eller dra formatet till ikonen Ta bort.
Högerklicka (Windows) respektive Ctrl-klicka (Mac OS) på formatet och välj Ta bort format. Det här är en praktisk metod när du vill ta bort ett format utan att använda det på den markerade cellen eller tabellen.
-
Välj det format du vill ersätta det med.
If you select [No Table Style] to replace a table style or [None] to replace a cell style, select Preserve Formatting to keep the formatting of the table or cell to which the style is applied. The table or cell preserves its formatting but is no longer associated with a style.
-
Klicka på OK.
Redefine table or cell styles based on current formatting
After you apply a style, you can override any of its settings. If you decide you like the changes, you can redefine the style to retain the new formatting.
-
Placera insättningspunkten i tabellen eller cellen som är formaterad med det format som du vill definiera om.
-
Gör önskade ändringar i tabellen eller cellen.
-
Välj Omdefiniera format på formatpanelens meny.
For cell styles, changes to only those attributes that are part of the cell style will enable the Redefine Style command. For example, if the cell style includes a red fill and you override a cell to use a blue fill, you can redefine the style based on that cell. But if you change an attribute that is ignored in the cell style, you can’t redefine the style with that attribute.
Override table and cell styles
After you apply a table or cell style, you can override any of its settings. To override a table style, you can change options in the Table Options dialog box. To override a cell, you can change options in the Cell Options dialog box or use other panels to change the stroke or fill. If you select a table or cell that has an override, a plus sign (+) appears next to the style in the Styles panel.
You can clear table and cell overrides when you apply a style. You can also clear overrides from a table or cell to which a style has already been applied.
If a style has a plus sign (+) next to it, hover over the style to view a description of the override attributes.
Preserve or remove overrides while applying a table style
- Om du vill använda ett tabellformat och samtidigt bevara cellformaten men ta bort åsidosättningarna håller du ned Alt när du klickar på formatet på tabellformatpanelen.
- Om du vill använda ett tabellformat och samtidigt ta bort både cellformat och åsidosättningar håller du ned Alt+Skift när du klickar på formatet på tabellformatpanelen.
Right-click (Windows) or Control-click (Mac OS) the style in the Table Styles panel, and then choose Apply [table style], Clear Cell Styles to apply a style and clear cell styles.
Remove overrides while applying a cell style
-
Om du vill använda ett cellformat och ta bort åsidosättningar håller du ned Alt när du klickar på formatnamnet på cellformatpanelen.Obs!
Only those attributes that are part of the cell style are considered overrides. For example, if the cell style includes a red fill and all other attributes are ignored, changing a different cell option is not considered an override.
Clear attributes not defined by a cell style
-
Välj Rensa attribut som inte definierats i formatet på cellformatpanelens meny.
Clear table or cell overrides
-
Markera tabellen eller cellerna som innehåller åsidosättningarna.
-
Klicka på ikonen Rensa åsidosättningar i markering på formatpanelen eller välj Rensa åsidosättningar på formatpanelens meny.
Break the link to table or cell styles
When you break the link between tables or cells and the style applied to them, the tables or cells retain their current formatting. However, future changes to that style won’t affect them.
-
Markera cellerna som formatet har använts på.
-
Välj Bryt länken till formatet på formatpanelens meny.
Logga in på ditt konto