Enumerate list with each item in a new rowAutomatic table row numbersEnumerate and itemize undefined + captions not workingEnumerate item with a decimal valueForcing new line after item number in enumerate environmentSomething like enumerate, but with custom numbers at each itemEnumerate list - numbers with prefixCustom item in enumerateSetting up enumerate list with custom titles
How to avoid answering "what were you sick with"?
Windows 10 ruined my GRUB menu
Is it unsafe to remove one stud from a load bearing wall?
Is it a good idea to contact a candidate?
Meaning of "Nur so anbei."
Speaking German abroad and feeling condescended to
Is a vector space naturally isomorphic to its dual?
Do Macs come with any programming language available from the Terminal?
If a middle class person is expecting a down turn in the market, what percentage of cash should they hold?
Famous conjecture or unsolved problem that could be plausibly proven/solved by freshman mathematician?
Why is this missile positioned in this odd position? How can it be launched correctly?
Could the Ancient Egyptian hieroglyphs have been deciphered without the Rosetta Stone with modern tech?
Divorced woman remarrying her ex-husband
How to get out of the Ice Palace in Zelda A link to the Past?
Does quickening a spell change the kind of action it grants?
What deck size is ideal?
Effects of quantum computing on parallel universes
How to fill a closed parametric curve?
What would happen to the world if all lightning stopped?
Is current polling about Democrats lead over Trump trustworthy?
Why is it so important for the party to acquire the Tome of Strahd?
Mechanism for the reaction between trisilylamine and hydrogen chloride
Pi to the power y, for small y's
Did medieval stores have names?
Enumerate list with each item in a new row
Automatic table row numbersEnumerate and itemize undefined + captions not workingEnumerate item with a decimal valueForcing new line after item number in enumerate environmentSomething like enumerate, but with custom numbers at each itemEnumerate list - numbers with prefixCustom item in enumerateSetting up enumerate list with custom titles
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
Q: How can I create a table which contains a continuous numerating list with each item in a new row. So I can insert content for the other columns in that row.
I use luatex.
The result should look like this (Word):
I tried it with enumerate and came up this idea which doesn´t work (look at the comments)(shortened content):
documentclass[8pt,a4paper]extarticle
usepackagearray
usepackageenumitem
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
begindocument
begintabularxtextwidthX
textbfBezeichnung & textbfEinzelpreis & textbfAnzahl
& textbfIntervall & textbfRabatt & textbf€/Monat\
hline%<----->
beginenumerate[label=Roman*,noitemsep]
item System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz % &40,00€ & 1&Laufzeit &10% &36,00€ \ <--- Idea but doesn´t work...
item IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung %& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \ <--- I need smth like this...
endenumerate &40,00€ & 1&Laufzeit &10% &36,00€ \ %<---- Only this works
hline%<----->
Summe & & & & &36,46€ \
endtabularx
enddocument
which looks like this:
tables luatex lists enumerate tabularx
|
show 3 more comments
Q: How can I create a table which contains a continuous numerating list with each item in a new row. So I can insert content for the other columns in that row.
I use luatex.
The result should look like this (Word):
I tried it with enumerate and came up this idea which doesn´t work (look at the comments)(shortened content):
documentclass[8pt,a4paper]extarticle
usepackagearray
usepackageenumitem
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
begindocument
begintabularxtextwidthX
textbfBezeichnung & textbfEinzelpreis & textbfAnzahl
& textbfIntervall & textbfRabatt & textbf€/Monat\
hline%<----->
beginenumerate[label=Roman*,noitemsep]
item System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz % &40,00€ & 1&Laufzeit &10% &36,00€ \ <--- Idea but doesn´t work...
item IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung %& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \ <--- I need smth like this...
endenumerate &40,00€ & 1&Laufzeit &10% &36,00€ \ %<---- Only this works
hline%<----->
Summe & & & & &36,46€ \
endtabularx
enddocument
which looks like this:
tables luatex lists enumerate tabularx
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting withdocumentclass...
and ending withenddocument
.
– Alessandro Cuttin
Jul 19 at 9:36
And, what is the question, btw?
– Alessandro Cuttin
Jul 19 at 9:36
Hi, thanks for your comment. I edited the question and provided a working code snippet.
– Felix B.
Jul 19 at 9:50
Do you mean different items should be in different table rows?
– Bernard
Jul 19 at 9:54
@Bernard as of my understanding, theOP
wants all columns should be in top alignment, if not so, he may correct me ...
– MadyYuvi
Jul 19 at 10:01
|
show 3 more comments
Q: How can I create a table which contains a continuous numerating list with each item in a new row. So I can insert content for the other columns in that row.
I use luatex.
The result should look like this (Word):
I tried it with enumerate and came up this idea which doesn´t work (look at the comments)(shortened content):
documentclass[8pt,a4paper]extarticle
usepackagearray
usepackageenumitem
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
begindocument
begintabularxtextwidthX
textbfBezeichnung & textbfEinzelpreis & textbfAnzahl
& textbfIntervall & textbfRabatt & textbf€/Monat\
hline%<----->
beginenumerate[label=Roman*,noitemsep]
item System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz % &40,00€ & 1&Laufzeit &10% &36,00€ \ <--- Idea but doesn´t work...
item IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung %& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \ <--- I need smth like this...
endenumerate &40,00€ & 1&Laufzeit &10% &36,00€ \ %<---- Only this works
hline%<----->
Summe & & & & &36,46€ \
endtabularx
enddocument
which looks like this:
tables luatex lists enumerate tabularx
Q: How can I create a table which contains a continuous numerating list with each item in a new row. So I can insert content for the other columns in that row.
I use luatex.
The result should look like this (Word):
I tried it with enumerate and came up this idea which doesn´t work (look at the comments)(shortened content):
documentclass[8pt,a4paper]extarticle
usepackagearray
usepackageenumitem
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
begindocument
begintabularxtextwidthX
textbfBezeichnung & textbfEinzelpreis & textbfAnzahl
& textbfIntervall & textbfRabatt & textbf€/Monat\
hline%<----->
beginenumerate[label=Roman*,noitemsep]
item System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz % &40,00€ & 1&Laufzeit &10% &36,00€ \ <--- Idea but doesn´t work...
item IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung %& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \ <--- I need smth like this...
endenumerate &40,00€ & 1&Laufzeit &10% &36,00€ \ %<---- Only this works
hline%<----->
Summe & & & & &36,46€ \
endtabularx
enddocument
which looks like this:
tables luatex lists enumerate tabularx
tables luatex lists enumerate tabularx
edited Jul 19 at 9:49
Felix B.
asked Jul 19 at 9:30
Felix B.Felix B.
257 bronze badges
257 bronze badges
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting withdocumentclass...
and ending withenddocument
.
– Alessandro Cuttin
Jul 19 at 9:36
And, what is the question, btw?
– Alessandro Cuttin
Jul 19 at 9:36
Hi, thanks for your comment. I edited the question and provided a working code snippet.
– Felix B.
Jul 19 at 9:50
Do you mean different items should be in different table rows?
– Bernard
Jul 19 at 9:54
@Bernard as of my understanding, theOP
wants all columns should be in top alignment, if not so, he may correct me ...
– MadyYuvi
Jul 19 at 10:01
|
show 3 more comments
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting withdocumentclass...
and ending withenddocument
.
– Alessandro Cuttin
Jul 19 at 9:36
And, what is the question, btw?
– Alessandro Cuttin
Jul 19 at 9:36
Hi, thanks for your comment. I edited the question and provided a working code snippet.
– Felix B.
Jul 19 at 9:50
Do you mean different items should be in different table rows?
– Bernard
Jul 19 at 9:54
@Bernard as of my understanding, theOP
wants all columns should be in top alignment, if not so, he may correct me ...
– MadyYuvi
Jul 19 at 10:01
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with
documentclass...
and ending with enddocument
.– Alessandro Cuttin
Jul 19 at 9:36
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with
documentclass...
and ending with enddocument
.– Alessandro Cuttin
Jul 19 at 9:36
And, what is the question, btw?
– Alessandro Cuttin
Jul 19 at 9:36
And, what is the question, btw?
– Alessandro Cuttin
Jul 19 at 9:36
Hi, thanks for your comment. I edited the question and provided a working code snippet.
– Felix B.
Jul 19 at 9:50
Hi, thanks for your comment. I edited the question and provided a working code snippet.
– Felix B.
Jul 19 at 9:50
Do you mean different items should be in different table rows?
– Bernard
Jul 19 at 9:54
Do you mean different items should be in different table rows?
– Bernard
Jul 19 at 9:54
@Bernard as of my understanding, the
OP
wants all columns should be in top alignment, if not so, he may correct me ...– MadyYuvi
Jul 19 at 10:01
@Bernard as of my understanding, the
OP
wants all columns should be in top alignment, if not so, he may correct me ...– MadyYuvi
Jul 19 at 10:01
|
show 3 more comments
3 Answers
3
active
oldest
votes
Building upon Bernard's solution and the magicrownumber
from here:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagearray,etoolbox
pretotabularsetcountermagicrownumbers0
newcountermagicrownumbers
newcommandrownumberstepcountermagicrownumbersRomanmagicrownumbers.
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
vskip1cm
enddocument
The counter magicrownumber
is automatically reset at the start of a tabular, so in a new tabular environment, teh counter will start from I
again. If you wish to reset the counter inside of a tabular environment you can use setcountermagicrownumner0
as shown in the following example:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagearray,etoolbox
pretotabularsetcountermagicrownumbers0
newcountermagicrownumbers
newcommandrownumberstepcountermagicrownumbersRomanmagicrownumbers.
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
bigskip
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
bigskip
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ setcountermagicrownumbers0\ %<-------- Reset counter
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
zendtabularx
enddocument
1
Thanks for answering :) This is the easiest solution that solved my problem.
– Felix B.
Jul 23 at 11:28
I have another question... How can I break the enumeration? I have this table two times in my document and in each table should have I,II,III,IV...
– Felix B.
Jul 26 at 13:14
@FelixB.: The counter is reset automatically if you use a newtabular
ortabularx
environment. If you want to reset the counter within the same environment, you can usesetcountermagicrownumner0
. I have edited my anser to include a MWE that demonstrates both situations. I hope I have answered your question with that.
– leandriis
Jul 26 at 14:07
add a comment
|
Similarly to @Bernard answer, but some details are different:
- for the first column is defined column type
E
for enumerated contents:
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE[1] >compressenumeratep#1<endenumerate
which simplified writing lists in the first column
- for enumerate list is defined the following setup:
setlist[enumerate]%
resume=column,
nosep,
label=Roman*.,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
- for resuming enumeration of list is used option
resume=column
, inenumerate
list set up - for start enumeration at
I.
is dedicatedsetcounterenumi0
before firstitem
in column (see MWE below) - I didn't bother with coloring numbers (it wasn't clear to me, if in some column all number are red, or they are select according to some other criteria)
for compilation is used
xelatex
(due to use € characters for currency)Complete MWE is:
documentclass[8pt,a4paper]extarticle
usepackage[hmargin=1.2cm, vmargin=0.0cm,
headheight=37pt, includeheadfoot]geometry
usepackageenumitem
usepackageragged2e
usepackagetabularx
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE[1] >compressenumeratep#1<endenumerate
newcommand*mcbf[1]multicolumn1>bfseriesl#1
begindocument
setlist[enumerate] label=Roman*.,
nosep,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
begintabularxlinewidth >RaggedRightE5cm*5
mcbfBezeichnung
& mcbfEinzelpreis & mcbfAnzahl & mcbfIntervall
& mcbfRabatt & mcbf€/Monat\
hline%<----->
setcounterenumi0
item System: Software as a Service Geltungsbereich Arbeits- und Gesundheitsschutz
& 40,00€ & 1 & Laufzeit & 10% & 36,00€ \
item IT-Service-Pack Release, Update, Support:
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung
& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline%<----->
mcbfSumme
& & & & & 36,46€ \
endtabularx
enddocument
addendum:
initiated by conversation with @Bernard (in comments below) see if the following variation of mine original answer is more appropriate for you:
- definition of the enumerate style in tables is moved in preamble, where is now available to all lists in table
- for the first column is used
X
column type - for columns with numbers are used
S
columns defined in thesiunitx
package - your table is encapsulated in
table
floating environment. - added are red colors for the second, fifth and six (last) column
documentclass[8pt,a4paper]extarticle
usepackage[hmargin=1.2cm, vmargin=0.0cm,
headheight=37pt, includeheadfoot]geometry
usepackageenumitem
usepackageetoolbox % new
AtBeginEnvironmenttable% for enumerate list in "table" environments
setlist[enumerate]% % moved in preamble
resume=column,
nosep,
label=Roman*.,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
usepackageragged2e
usepackagetabularx
usepackagexcolor
usepackagesiunitx
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE >compressenumerateX<endenumerate
newcommand*mcbf[1]multicolumn1>bfseriesl#1
begindocument
begintable
begintabularxlinewidthS[table-format=1.0]
mcbfBezeichnung
& mcbfEinzelpreis & mcbfAnzahl & mcbfIntervall
& mcbfRabatt & mcbf€/Monat\
hline
setcounterenumi0 % <--- reset counter enumi
item System: Software as a Service Geltungsbereich Arbeits- und Gesundheitsschutz
& 40,00 & 1 & Laufzeit & 10 & 36,00 cr % <---
setcounterenumi1
item IT-Service-Pack Release, Update, Support:
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung
& 7,39 & 1 & Laufzeit & 10 & 6,46 cr % <---
hline%<----->
mcbfSume
& mcbf & & & mcbf & 36,46 cr % <---
endtabularx
endtable
enddocument
@Bernard, ups, there should beendenumereate
. Corrected now.
– Zarko
Jul 19 at 13:27
If I may, I think the optionwide=0pt
is better in tables (spoils less horizontal space)? perhaps also you should create a newtableenum
list, or something like that, to make the configuration purely local to lists inside tables?
– Bernard
Jul 19 at 13:32
@Bernard, it can be done as you suggest. Now the list settings is walit only for this table. If OP have more similar table, your suggestion is far better (I will wrote addendum with this). I first try to usewide=0pt
, but to my opinion in the result the items numbers are than less visible. As table is now, I rather useX
column type for the first column, and S` columns for other except for clumn with headIntervall
.
– Zarko
Jul 19 at 13:46
I also usedX
, but I must say I didn't even think of theS
column type. That's an excellent idea!
– Bernard
Jul 19 at 14:14
Thanks for answering :) @Zarko
– Felix B.
Jul 23 at 11:31
add a comment
|
I propose one of these two solutions:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackageenumitem
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagelistliketab
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline%<----->
beginenumerate[label=Roman*. ,widest =VI, noitemsep, wide=0pt, leftmargin=*, after =vspace*-dimexprtopsep + partopsep]
item System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz % &40,00€ & 1&Laufzeit &10% &36,00€ \ <--- Idea but doesn´t work...
item IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung %& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \ <--- I need smth like this...
endenumerate &40,00€ & 1&Laufzeit &10% &36,00€ \ %<---- Only this works
hline%<----->
Summe & & & & &36,46€
endtabularx
vskip1cm
storestyleofenumerate
beginlistliketab
newcountertabenumsetcountertabenum0
newcommandnextnumaddtocountertabenum1Romantabenum.
noindentbegintabularxtextwidthLX
multicolumn2textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hlinenoalignvskip-1.8ex%<----->
nextnum & System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \[-3ex]
nextnum & IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \[-3ex]
nextnum &Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \[-3ex]
nextnum & Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn2Summe & & & & &36,46€
endtabularx
endlistliketab
enddocument
1
Wow...such a nice suggestion...
– MadyYuvi
Jul 19 at 11:10
Thanks for answering :) @Bernard
– Felix B.
Jul 23 at 11:31
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f500598%2fenumerate-list-with-each-item-in-a-new-row%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Building upon Bernard's solution and the magicrownumber
from here:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagearray,etoolbox
pretotabularsetcountermagicrownumbers0
newcountermagicrownumbers
newcommandrownumberstepcountermagicrownumbersRomanmagicrownumbers.
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
vskip1cm
enddocument
The counter magicrownumber
is automatically reset at the start of a tabular, so in a new tabular environment, teh counter will start from I
again. If you wish to reset the counter inside of a tabular environment you can use setcountermagicrownumner0
as shown in the following example:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagearray,etoolbox
pretotabularsetcountermagicrownumbers0
newcountermagicrownumbers
newcommandrownumberstepcountermagicrownumbersRomanmagicrownumbers.
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
bigskip
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
bigskip
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ setcountermagicrownumbers0\ %<-------- Reset counter
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
zendtabularx
enddocument
1
Thanks for answering :) This is the easiest solution that solved my problem.
– Felix B.
Jul 23 at 11:28
I have another question... How can I break the enumeration? I have this table two times in my document and in each table should have I,II,III,IV...
– Felix B.
Jul 26 at 13:14
@FelixB.: The counter is reset automatically if you use a newtabular
ortabularx
environment. If you want to reset the counter within the same environment, you can usesetcountermagicrownumner0
. I have edited my anser to include a MWE that demonstrates both situations. I hope I have answered your question with that.
– leandriis
Jul 26 at 14:07
add a comment
|
Building upon Bernard's solution and the magicrownumber
from here:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagearray,etoolbox
pretotabularsetcountermagicrownumbers0
newcountermagicrownumbers
newcommandrownumberstepcountermagicrownumbersRomanmagicrownumbers.
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
vskip1cm
enddocument
The counter magicrownumber
is automatically reset at the start of a tabular, so in a new tabular environment, teh counter will start from I
again. If you wish to reset the counter inside of a tabular environment you can use setcountermagicrownumner0
as shown in the following example:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagearray,etoolbox
pretotabularsetcountermagicrownumbers0
newcountermagicrownumbers
newcommandrownumberstepcountermagicrownumbersRomanmagicrownumbers.
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
bigskip
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
bigskip
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ setcountermagicrownumbers0\ %<-------- Reset counter
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
zendtabularx
enddocument
1
Thanks for answering :) This is the easiest solution that solved my problem.
– Felix B.
Jul 23 at 11:28
I have another question... How can I break the enumeration? I have this table two times in my document and in each table should have I,II,III,IV...
– Felix B.
Jul 26 at 13:14
@FelixB.: The counter is reset automatically if you use a newtabular
ortabularx
environment. If you want to reset the counter within the same environment, you can usesetcountermagicrownumner0
. I have edited my anser to include a MWE that demonstrates both situations. I hope I have answered your question with that.
– leandriis
Jul 26 at 14:07
add a comment
|
Building upon Bernard's solution and the magicrownumber
from here:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagearray,etoolbox
pretotabularsetcountermagicrownumbers0
newcountermagicrownumbers
newcommandrownumberstepcountermagicrownumbersRomanmagicrownumbers.
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
vskip1cm
enddocument
The counter magicrownumber
is automatically reset at the start of a tabular, so in a new tabular environment, teh counter will start from I
again. If you wish to reset the counter inside of a tabular environment you can use setcountermagicrownumner0
as shown in the following example:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagearray,etoolbox
pretotabularsetcountermagicrownumbers0
newcountermagicrownumbers
newcommandrownumberstepcountermagicrownumbersRomanmagicrownumbers.
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
bigskip
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
bigskip
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ setcountermagicrownumbers0\ %<-------- Reset counter
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
zendtabularx
enddocument
Building upon Bernard's solution and the magicrownumber
from here:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagearray,etoolbox
pretotabularsetcountermagicrownumbers0
newcountermagicrownumbers
newcommandrownumberstepcountermagicrownumbersRomanmagicrownumbers.
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
vskip1cm
enddocument
The counter magicrownumber
is automatically reset at the start of a tabular, so in a new tabular environment, teh counter will start from I
again. If you wish to reset the counter inside of a tabular environment you can use setcountermagicrownumner0
as shown in the following example:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagearray,etoolbox
pretotabularsetcountermagicrownumbers0
newcountermagicrownumbers
newcommandrownumberstepcountermagicrownumbersRomanmagicrownumbers.
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
bigskip
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
endtabularx
bigskip
noindentbegintabularxtextwidthc
multicolumn1textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ setcountermagicrownumbers0\ %<-------- Reset counter
hline
System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \
IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \
Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \
Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn1Summe & & & & &36,46€
zendtabularx
enddocument
edited Jul 26 at 14:05
answered Jul 19 at 13:15
leandriisleandriis
22.5k1 gold badge12 silver badges41 bronze badges
22.5k1 gold badge12 silver badges41 bronze badges
1
Thanks for answering :) This is the easiest solution that solved my problem.
– Felix B.
Jul 23 at 11:28
I have another question... How can I break the enumeration? I have this table two times in my document and in each table should have I,II,III,IV...
– Felix B.
Jul 26 at 13:14
@FelixB.: The counter is reset automatically if you use a newtabular
ortabularx
environment. If you want to reset the counter within the same environment, you can usesetcountermagicrownumner0
. I have edited my anser to include a MWE that demonstrates both situations. I hope I have answered your question with that.
– leandriis
Jul 26 at 14:07
add a comment
|
1
Thanks for answering :) This is the easiest solution that solved my problem.
– Felix B.
Jul 23 at 11:28
I have another question... How can I break the enumeration? I have this table two times in my document and in each table should have I,II,III,IV...
– Felix B.
Jul 26 at 13:14
@FelixB.: The counter is reset automatically if you use a newtabular
ortabularx
environment. If you want to reset the counter within the same environment, you can usesetcountermagicrownumner0
. I have edited my anser to include a MWE that demonstrates both situations. I hope I have answered your question with that.
– leandriis
Jul 26 at 14:07
1
1
Thanks for answering :) This is the easiest solution that solved my problem.
– Felix B.
Jul 23 at 11:28
Thanks for answering :) This is the easiest solution that solved my problem.
– Felix B.
Jul 23 at 11:28
I have another question... How can I break the enumeration? I have this table two times in my document and in each table should have I,II,III,IV...
– Felix B.
Jul 26 at 13:14
I have another question... How can I break the enumeration? I have this table two times in my document and in each table should have I,II,III,IV...
– Felix B.
Jul 26 at 13:14
@FelixB.: The counter is reset automatically if you use a new
tabular
or tabularx
environment. If you want to reset the counter within the same environment, you can use setcountermagicrownumner0
. I have edited my anser to include a MWE that demonstrates both situations. I hope I have answered your question with that.– leandriis
Jul 26 at 14:07
@FelixB.: The counter is reset automatically if you use a new
tabular
or tabularx
environment. If you want to reset the counter within the same environment, you can use setcountermagicrownumner0
. I have edited my anser to include a MWE that demonstrates both situations. I hope I have answered your question with that.– leandriis
Jul 26 at 14:07
add a comment
|
Similarly to @Bernard answer, but some details are different:
- for the first column is defined column type
E
for enumerated contents:
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE[1] >compressenumeratep#1<endenumerate
which simplified writing lists in the first column
- for enumerate list is defined the following setup:
setlist[enumerate]%
resume=column,
nosep,
label=Roman*.,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
- for resuming enumeration of list is used option
resume=column
, inenumerate
list set up - for start enumeration at
I.
is dedicatedsetcounterenumi0
before firstitem
in column (see MWE below) - I didn't bother with coloring numbers (it wasn't clear to me, if in some column all number are red, or they are select according to some other criteria)
for compilation is used
xelatex
(due to use € characters for currency)Complete MWE is:
documentclass[8pt,a4paper]extarticle
usepackage[hmargin=1.2cm, vmargin=0.0cm,
headheight=37pt, includeheadfoot]geometry
usepackageenumitem
usepackageragged2e
usepackagetabularx
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE[1] >compressenumeratep#1<endenumerate
newcommand*mcbf[1]multicolumn1>bfseriesl#1
begindocument
setlist[enumerate] label=Roman*.,
nosep,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
begintabularxlinewidth >RaggedRightE5cm*5
mcbfBezeichnung
& mcbfEinzelpreis & mcbfAnzahl & mcbfIntervall
& mcbfRabatt & mcbf€/Monat\
hline%<----->
setcounterenumi0
item System: Software as a Service Geltungsbereich Arbeits- und Gesundheitsschutz
& 40,00€ & 1 & Laufzeit & 10% & 36,00€ \
item IT-Service-Pack Release, Update, Support:
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung
& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline%<----->
mcbfSumme
& & & & & 36,46€ \
endtabularx
enddocument
addendum:
initiated by conversation with @Bernard (in comments below) see if the following variation of mine original answer is more appropriate for you:
- definition of the enumerate style in tables is moved in preamble, where is now available to all lists in table
- for the first column is used
X
column type - for columns with numbers are used
S
columns defined in thesiunitx
package - your table is encapsulated in
table
floating environment. - added are red colors for the second, fifth and six (last) column
documentclass[8pt,a4paper]extarticle
usepackage[hmargin=1.2cm, vmargin=0.0cm,
headheight=37pt, includeheadfoot]geometry
usepackageenumitem
usepackageetoolbox % new
AtBeginEnvironmenttable% for enumerate list in "table" environments
setlist[enumerate]% % moved in preamble
resume=column,
nosep,
label=Roman*.,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
usepackageragged2e
usepackagetabularx
usepackagexcolor
usepackagesiunitx
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE >compressenumerateX<endenumerate
newcommand*mcbf[1]multicolumn1>bfseriesl#1
begindocument
begintable
begintabularxlinewidthS[table-format=1.0]
mcbfBezeichnung
& mcbfEinzelpreis & mcbfAnzahl & mcbfIntervall
& mcbfRabatt & mcbf€/Monat\
hline
setcounterenumi0 % <--- reset counter enumi
item System: Software as a Service Geltungsbereich Arbeits- und Gesundheitsschutz
& 40,00 & 1 & Laufzeit & 10 & 36,00 cr % <---
setcounterenumi1
item IT-Service-Pack Release, Update, Support:
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung
& 7,39 & 1 & Laufzeit & 10 & 6,46 cr % <---
hline%<----->
mcbfSume
& mcbf & & & mcbf & 36,46 cr % <---
endtabularx
endtable
enddocument
@Bernard, ups, there should beendenumereate
. Corrected now.
– Zarko
Jul 19 at 13:27
If I may, I think the optionwide=0pt
is better in tables (spoils less horizontal space)? perhaps also you should create a newtableenum
list, or something like that, to make the configuration purely local to lists inside tables?
– Bernard
Jul 19 at 13:32
@Bernard, it can be done as you suggest. Now the list settings is walit only for this table. If OP have more similar table, your suggestion is far better (I will wrote addendum with this). I first try to usewide=0pt
, but to my opinion in the result the items numbers are than less visible. As table is now, I rather useX
column type for the first column, and S` columns for other except for clumn with headIntervall
.
– Zarko
Jul 19 at 13:46
I also usedX
, but I must say I didn't even think of theS
column type. That's an excellent idea!
– Bernard
Jul 19 at 14:14
Thanks for answering :) @Zarko
– Felix B.
Jul 23 at 11:31
add a comment
|
Similarly to @Bernard answer, but some details are different:
- for the first column is defined column type
E
for enumerated contents:
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE[1] >compressenumeratep#1<endenumerate
which simplified writing lists in the first column
- for enumerate list is defined the following setup:
setlist[enumerate]%
resume=column,
nosep,
label=Roman*.,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
- for resuming enumeration of list is used option
resume=column
, inenumerate
list set up - for start enumeration at
I.
is dedicatedsetcounterenumi0
before firstitem
in column (see MWE below) - I didn't bother with coloring numbers (it wasn't clear to me, if in some column all number are red, or they are select according to some other criteria)
for compilation is used
xelatex
(due to use € characters for currency)Complete MWE is:
documentclass[8pt,a4paper]extarticle
usepackage[hmargin=1.2cm, vmargin=0.0cm,
headheight=37pt, includeheadfoot]geometry
usepackageenumitem
usepackageragged2e
usepackagetabularx
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE[1] >compressenumeratep#1<endenumerate
newcommand*mcbf[1]multicolumn1>bfseriesl#1
begindocument
setlist[enumerate] label=Roman*.,
nosep,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
begintabularxlinewidth >RaggedRightE5cm*5
mcbfBezeichnung
& mcbfEinzelpreis & mcbfAnzahl & mcbfIntervall
& mcbfRabatt & mcbf€/Monat\
hline%<----->
setcounterenumi0
item System: Software as a Service Geltungsbereich Arbeits- und Gesundheitsschutz
& 40,00€ & 1 & Laufzeit & 10% & 36,00€ \
item IT-Service-Pack Release, Update, Support:
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung
& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline%<----->
mcbfSumme
& & & & & 36,46€ \
endtabularx
enddocument
addendum:
initiated by conversation with @Bernard (in comments below) see if the following variation of mine original answer is more appropriate for you:
- definition of the enumerate style in tables is moved in preamble, where is now available to all lists in table
- for the first column is used
X
column type - for columns with numbers are used
S
columns defined in thesiunitx
package - your table is encapsulated in
table
floating environment. - added are red colors for the second, fifth and six (last) column
documentclass[8pt,a4paper]extarticle
usepackage[hmargin=1.2cm, vmargin=0.0cm,
headheight=37pt, includeheadfoot]geometry
usepackageenumitem
usepackageetoolbox % new
AtBeginEnvironmenttable% for enumerate list in "table" environments
setlist[enumerate]% % moved in preamble
resume=column,
nosep,
label=Roman*.,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
usepackageragged2e
usepackagetabularx
usepackagexcolor
usepackagesiunitx
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE >compressenumerateX<endenumerate
newcommand*mcbf[1]multicolumn1>bfseriesl#1
begindocument
begintable
begintabularxlinewidthS[table-format=1.0]
mcbfBezeichnung
& mcbfEinzelpreis & mcbfAnzahl & mcbfIntervall
& mcbfRabatt & mcbf€/Monat\
hline
setcounterenumi0 % <--- reset counter enumi
item System: Software as a Service Geltungsbereich Arbeits- und Gesundheitsschutz
& 40,00 & 1 & Laufzeit & 10 & 36,00 cr % <---
setcounterenumi1
item IT-Service-Pack Release, Update, Support:
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung
& 7,39 & 1 & Laufzeit & 10 & 6,46 cr % <---
hline%<----->
mcbfSume
& mcbf & & & mcbf & 36,46 cr % <---
endtabularx
endtable
enddocument
@Bernard, ups, there should beendenumereate
. Corrected now.
– Zarko
Jul 19 at 13:27
If I may, I think the optionwide=0pt
is better in tables (spoils less horizontal space)? perhaps also you should create a newtableenum
list, or something like that, to make the configuration purely local to lists inside tables?
– Bernard
Jul 19 at 13:32
@Bernard, it can be done as you suggest. Now the list settings is walit only for this table. If OP have more similar table, your suggestion is far better (I will wrote addendum with this). I first try to usewide=0pt
, but to my opinion in the result the items numbers are than less visible. As table is now, I rather useX
column type for the first column, and S` columns for other except for clumn with headIntervall
.
– Zarko
Jul 19 at 13:46
I also usedX
, but I must say I didn't even think of theS
column type. That's an excellent idea!
– Bernard
Jul 19 at 14:14
Thanks for answering :) @Zarko
– Felix B.
Jul 23 at 11:31
add a comment
|
Similarly to @Bernard answer, but some details are different:
- for the first column is defined column type
E
for enumerated contents:
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE[1] >compressenumeratep#1<endenumerate
which simplified writing lists in the first column
- for enumerate list is defined the following setup:
setlist[enumerate]%
resume=column,
nosep,
label=Roman*.,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
- for resuming enumeration of list is used option
resume=column
, inenumerate
list set up - for start enumeration at
I.
is dedicatedsetcounterenumi0
before firstitem
in column (see MWE below) - I didn't bother with coloring numbers (it wasn't clear to me, if in some column all number are red, or they are select according to some other criteria)
for compilation is used
xelatex
(due to use € characters for currency)Complete MWE is:
documentclass[8pt,a4paper]extarticle
usepackage[hmargin=1.2cm, vmargin=0.0cm,
headheight=37pt, includeheadfoot]geometry
usepackageenumitem
usepackageragged2e
usepackagetabularx
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE[1] >compressenumeratep#1<endenumerate
newcommand*mcbf[1]multicolumn1>bfseriesl#1
begindocument
setlist[enumerate] label=Roman*.,
nosep,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
begintabularxlinewidth >RaggedRightE5cm*5
mcbfBezeichnung
& mcbfEinzelpreis & mcbfAnzahl & mcbfIntervall
& mcbfRabatt & mcbf€/Monat\
hline%<----->
setcounterenumi0
item System: Software as a Service Geltungsbereich Arbeits- und Gesundheitsschutz
& 40,00€ & 1 & Laufzeit & 10% & 36,00€ \
item IT-Service-Pack Release, Update, Support:
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung
& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline%<----->
mcbfSumme
& & & & & 36,46€ \
endtabularx
enddocument
addendum:
initiated by conversation with @Bernard (in comments below) see if the following variation of mine original answer is more appropriate for you:
- definition of the enumerate style in tables is moved in preamble, where is now available to all lists in table
- for the first column is used
X
column type - for columns with numbers are used
S
columns defined in thesiunitx
package - your table is encapsulated in
table
floating environment. - added are red colors for the second, fifth and six (last) column
documentclass[8pt,a4paper]extarticle
usepackage[hmargin=1.2cm, vmargin=0.0cm,
headheight=37pt, includeheadfoot]geometry
usepackageenumitem
usepackageetoolbox % new
AtBeginEnvironmenttable% for enumerate list in "table" environments
setlist[enumerate]% % moved in preamble
resume=column,
nosep,
label=Roman*.,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
usepackageragged2e
usepackagetabularx
usepackagexcolor
usepackagesiunitx
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE >compressenumerateX<endenumerate
newcommand*mcbf[1]multicolumn1>bfseriesl#1
begindocument
begintable
begintabularxlinewidthS[table-format=1.0]
mcbfBezeichnung
& mcbfEinzelpreis & mcbfAnzahl & mcbfIntervall
& mcbfRabatt & mcbf€/Monat\
hline
setcounterenumi0 % <--- reset counter enumi
item System: Software as a Service Geltungsbereich Arbeits- und Gesundheitsschutz
& 40,00 & 1 & Laufzeit & 10 & 36,00 cr % <---
setcounterenumi1
item IT-Service-Pack Release, Update, Support:
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung
& 7,39 & 1 & Laufzeit & 10 & 6,46 cr % <---
hline%<----->
mcbfSume
& mcbf & & & mcbf & 36,46 cr % <---
endtabularx
endtable
enddocument
Similarly to @Bernard answer, but some details are different:
- for the first column is defined column type
E
for enumerated contents:
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE[1] >compressenumeratep#1<endenumerate
which simplified writing lists in the first column
- for enumerate list is defined the following setup:
setlist[enumerate]%
resume=column,
nosep,
label=Roman*.,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
- for resuming enumeration of list is used option
resume=column
, inenumerate
list set up - for start enumeration at
I.
is dedicatedsetcounterenumi0
before firstitem
in column (see MWE below) - I didn't bother with coloring numbers (it wasn't clear to me, if in some column all number are red, or they are select according to some other criteria)
for compilation is used
xelatex
(due to use € characters for currency)Complete MWE is:
documentclass[8pt,a4paper]extarticle
usepackage[hmargin=1.2cm, vmargin=0.0cm,
headheight=37pt, includeheadfoot]geometry
usepackageenumitem
usepackageragged2e
usepackagetabularx
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE[1] >compressenumeratep#1<endenumerate
newcommand*mcbf[1]multicolumn1>bfseriesl#1
begindocument
setlist[enumerate] label=Roman*.,
nosep,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
begintabularxlinewidth >RaggedRightE5cm*5
mcbfBezeichnung
& mcbfEinzelpreis & mcbfAnzahl & mcbfIntervall
& mcbfRabatt & mcbf€/Monat\
hline%<----->
setcounterenumi0
item System: Software as a Service Geltungsbereich Arbeits- und Gesundheitsschutz
& 40,00€ & 1 & Laufzeit & 10% & 36,00€ \
item IT-Service-Pack Release, Update, Support:
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung
& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline%<----->
mcbfSumme
& & & & & 36,46€ \
endtabularx
enddocument
addendum:
initiated by conversation with @Bernard (in comments below) see if the following variation of mine original answer is more appropriate for you:
- definition of the enumerate style in tables is moved in preamble, where is now available to all lists in table
- for the first column is used
X
column type - for columns with numbers are used
S
columns defined in thesiunitx
package - your table is encapsulated in
table
floating environment. - added are red colors for the second, fifth and six (last) column
documentclass[8pt,a4paper]extarticle
usepackage[hmargin=1.2cm, vmargin=0.0cm,
headheight=37pt, includeheadfoot]geometry
usepackageenumitem
usepackageetoolbox % new
AtBeginEnvironmenttable% for enumerate list in "table" environments
setlist[enumerate]% % moved in preamble
resume=column,
nosep,
label=Roman*.,
leftmargin=*,
after=vspace*-dimexprbaselineskip + partopsep
usepackageragged2e
usepackagetabularx
usepackagexcolor
usepackagesiunitx
makeatletter
newcommand*compress@minipagetrue
makeatother
newcolumntypeE >compressenumerateX<endenumerate
newcommand*mcbf[1]multicolumn1>bfseriesl#1
begindocument
begintable
begintabularxlinewidthS[table-format=1.0]
mcbfBezeichnung
& mcbfEinzelpreis & mcbfAnzahl & mcbfIntervall
& mcbfRabatt & mcbf€/Monat\
hline
setcounterenumi0 % <--- reset counter enumi
item System: Software as a Service Geltungsbereich Arbeits- und Gesundheitsschutz
& 40,00 & 1 & Laufzeit & 10 & 36,00 cr % <---
setcounterenumi1
item IT-Service-Pack Release, Update, Support:
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung
& 7,39 & 1 & Laufzeit & 10 & 6,46 cr % <---
hline%<----->
mcbfSume
& mcbf & & & mcbf & 36,46 cr % <---
endtabularx
endtable
enddocument
edited Jul 19 at 18:51
answered Jul 19 at 11:22
ZarkoZarko
152k8 gold badges87 silver badges199 bronze badges
152k8 gold badges87 silver badges199 bronze badges
@Bernard, ups, there should beendenumereate
. Corrected now.
– Zarko
Jul 19 at 13:27
If I may, I think the optionwide=0pt
is better in tables (spoils less horizontal space)? perhaps also you should create a newtableenum
list, or something like that, to make the configuration purely local to lists inside tables?
– Bernard
Jul 19 at 13:32
@Bernard, it can be done as you suggest. Now the list settings is walit only for this table. If OP have more similar table, your suggestion is far better (I will wrote addendum with this). I first try to usewide=0pt
, but to my opinion in the result the items numbers are than less visible. As table is now, I rather useX
column type for the first column, and S` columns for other except for clumn with headIntervall
.
– Zarko
Jul 19 at 13:46
I also usedX
, but I must say I didn't even think of theS
column type. That's an excellent idea!
– Bernard
Jul 19 at 14:14
Thanks for answering :) @Zarko
– Felix B.
Jul 23 at 11:31
add a comment
|
@Bernard, ups, there should beendenumereate
. Corrected now.
– Zarko
Jul 19 at 13:27
If I may, I think the optionwide=0pt
is better in tables (spoils less horizontal space)? perhaps also you should create a newtableenum
list, or something like that, to make the configuration purely local to lists inside tables?
– Bernard
Jul 19 at 13:32
@Bernard, it can be done as you suggest. Now the list settings is walit only for this table. If OP have more similar table, your suggestion is far better (I will wrote addendum with this). I first try to usewide=0pt
, but to my opinion in the result the items numbers are than less visible. As table is now, I rather useX
column type for the first column, and S` columns for other except for clumn with headIntervall
.
– Zarko
Jul 19 at 13:46
I also usedX
, but I must say I didn't even think of theS
column type. That's an excellent idea!
– Bernard
Jul 19 at 14:14
Thanks for answering :) @Zarko
– Felix B.
Jul 23 at 11:31
@Bernard, ups, there should be
endenumereate
. Corrected now.– Zarko
Jul 19 at 13:27
@Bernard, ups, there should be
endenumereate
. Corrected now.– Zarko
Jul 19 at 13:27
If I may, I think the option
wide=0pt
is better in tables (spoils less horizontal space)? perhaps also you should create a new tableenum
list, or something like that, to make the configuration purely local to lists inside tables?– Bernard
Jul 19 at 13:32
If I may, I think the option
wide=0pt
is better in tables (spoils less horizontal space)? perhaps also you should create a new tableenum
list, or something like that, to make the configuration purely local to lists inside tables?– Bernard
Jul 19 at 13:32
@Bernard, it can be done as you suggest. Now the list settings is walit only for this table. If OP have more similar table, your suggestion is far better (I will wrote addendum with this). I first try to use
wide=0pt
, but to my opinion in the result the items numbers are than less visible. As table is now, I rather use X
column type for the first column, and S` columns for other except for clumn with head Intervall
.– Zarko
Jul 19 at 13:46
@Bernard, it can be done as you suggest. Now the list settings is walit only for this table. If OP have more similar table, your suggestion is far better (I will wrote addendum with this). I first try to use
wide=0pt
, but to my opinion in the result the items numbers are than less visible. As table is now, I rather use X
column type for the first column, and S` columns for other except for clumn with head Intervall
.– Zarko
Jul 19 at 13:46
I also used
X
, but I must say I didn't even think of the S
column type. That's an excellent idea!– Bernard
Jul 19 at 14:14
I also used
X
, but I must say I didn't even think of the S
column type. That's an excellent idea!– Bernard
Jul 19 at 14:14
Thanks for answering :) @Zarko
– Felix B.
Jul 23 at 11:31
Thanks for answering :) @Zarko
– Felix B.
Jul 23 at 11:31
add a comment
|
I propose one of these two solutions:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackageenumitem
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagelistliketab
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline%<----->
beginenumerate[label=Roman*. ,widest =VI, noitemsep, wide=0pt, leftmargin=*, after =vspace*-dimexprtopsep + partopsep]
item System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz % &40,00€ & 1&Laufzeit &10% &36,00€ \ <--- Idea but doesn´t work...
item IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung %& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \ <--- I need smth like this...
endenumerate &40,00€ & 1&Laufzeit &10% &36,00€ \ %<---- Only this works
hline%<----->
Summe & & & & &36,46€
endtabularx
vskip1cm
storestyleofenumerate
beginlistliketab
newcountertabenumsetcountertabenum0
newcommandnextnumaddtocountertabenum1Romantabenum.
noindentbegintabularxtextwidthLX
multicolumn2textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hlinenoalignvskip-1.8ex%<----->
nextnum & System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \[-3ex]
nextnum & IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \[-3ex]
nextnum &Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \[-3ex]
nextnum & Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn2Summe & & & & &36,46€
endtabularx
endlistliketab
enddocument
1
Wow...such a nice suggestion...
– MadyYuvi
Jul 19 at 11:10
Thanks for answering :) @Bernard
– Felix B.
Jul 23 at 11:31
add a comment
|
I propose one of these two solutions:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackageenumitem
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagelistliketab
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline%<----->
beginenumerate[label=Roman*. ,widest =VI, noitemsep, wide=0pt, leftmargin=*, after =vspace*-dimexprtopsep + partopsep]
item System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz % &40,00€ & 1&Laufzeit &10% &36,00€ \ <--- Idea but doesn´t work...
item IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung %& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \ <--- I need smth like this...
endenumerate &40,00€ & 1&Laufzeit &10% &36,00€ \ %<---- Only this works
hline%<----->
Summe & & & & &36,46€
endtabularx
vskip1cm
storestyleofenumerate
beginlistliketab
newcountertabenumsetcountertabenum0
newcommandnextnumaddtocountertabenum1Romantabenum.
noindentbegintabularxtextwidthLX
multicolumn2textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hlinenoalignvskip-1.8ex%<----->
nextnum & System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \[-3ex]
nextnum & IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \[-3ex]
nextnum &Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \[-3ex]
nextnum & Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn2Summe & & & & &36,46€
endtabularx
endlistliketab
enddocument
1
Wow...such a nice suggestion...
– MadyYuvi
Jul 19 at 11:10
Thanks for answering :) @Bernard
– Felix B.
Jul 23 at 11:31
add a comment
|
I propose one of these two solutions:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackageenumitem
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagelistliketab
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline%<----->
beginenumerate[label=Roman*. ,widest =VI, noitemsep, wide=0pt, leftmargin=*, after =vspace*-dimexprtopsep + partopsep]
item System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz % &40,00€ & 1&Laufzeit &10% &36,00€ \ <--- Idea but doesn´t work...
item IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung %& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \ <--- I need smth like this...
endenumerate &40,00€ & 1&Laufzeit &10% &36,00€ \ %<---- Only this works
hline%<----->
Summe & & & & &36,46€
endtabularx
vskip1cm
storestyleofenumerate
beginlistliketab
newcountertabenumsetcountertabenum0
newcommandnextnumaddtocountertabenum1Romantabenum.
noindentbegintabularxtextwidthLX
multicolumn2textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hlinenoalignvskip-1.8ex%<----->
nextnum & System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \[-3ex]
nextnum & IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \[-3ex]
nextnum &Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \[-3ex]
nextnum & Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn2Summe & & & & &36,46€
endtabularx
endlistliketab
enddocument
I propose one of these two solutions:
documentclass[8pt,a4paper]extarticle
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagexcolor
usepackageenumitem
usepackagetabularx
usepackage[left=1.2cm, right=1.2cm, top=0.0cm, bottom=0.0cm, headheight=37pt, includeheadfoot]geometry
makeatletter
newcommand*compress@minipagetrue
makeatother
usepackagemakecell
renewcommandtheadfontcolorblackbfseries
usepackagelistliketab
begindocument
sffamily
setlengthextrarowheight2pt
noindentbegintabularxtextwidthc
textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hline%<----->
beginenumerate[label=Roman*. ,widest =VI, noitemsep, wide=0pt, leftmargin=*, after =vspace*-dimexprtopsep + partopsep]
item System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz % &40,00€ & 1&Laufzeit &10% &36,00€ \ <--- Idea but doesn´t work...
item IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen
item Management: Auswahl-, Bestellung-, Überwachungs- und
item Audit zur Evaluation und Qualitätssicherung %& 7,39€ & 1 & Laufzeit & 10% & 6,46€ \ <--- I need smth like this...
endenumerate &40,00€ & 1&Laufzeit &10% &36,00€ \ %<---- Only this works
hline%<----->
Summe & & & & &36,46€
endtabularx
vskip1cm
storestyleofenumerate
beginlistliketab
newcountertabenumsetcountertabenum0
newcommandnextnumaddtocountertabenum1Romantabenum.
noindentbegintabularxtextwidthLX
multicolumn2textbfBezeichnung & theadEinzelpreis & textbfAnzahl
& textbfIntervall & theadRabatt & thead€/Monat\
hlinenoalignvskip-1.8ex%<----->
nextnum & System: Software as a Service Geltungsbereich Arbeits- und
Gesundheitsschutz &40,00€ & 1&Laufzeit &10% &36,00€ \[-3ex]
nextnum & IT-Service-Pack Release, Update, Support:newline
Übernahme der kompletten IT-Administration und weitere Dienstleistungen & & & & & \[-3ex]
nextnum &Management: Auswahl-, Bestellung-, Überwachungs- und & & & & & \[-3ex]
nextnum & Audit zur Evaluation und Qualitätssicherung & 7,39€ & 1 & Laufzeit & 10% & 6,46€ \
hline
multicolumn2Summe & & & & &36,46€
endtabularx
endlistliketab
enddocument
edited Jul 23 at 11:43
answered Jul 19 at 11:05
BernardBernard
196k8 gold badges88 silver badges232 bronze badges
196k8 gold badges88 silver badges232 bronze badges
1
Wow...such a nice suggestion...
– MadyYuvi
Jul 19 at 11:10
Thanks for answering :) @Bernard
– Felix B.
Jul 23 at 11:31
add a comment
|
1
Wow...such a nice suggestion...
– MadyYuvi
Jul 19 at 11:10
Thanks for answering :) @Bernard
– Felix B.
Jul 23 at 11:31
1
1
Wow...such a nice suggestion...
– MadyYuvi
Jul 19 at 11:10
Wow...such a nice suggestion...
– MadyYuvi
Jul 19 at 11:10
Thanks for answering :) @Bernard
– Felix B.
Jul 23 at 11:31
Thanks for answering :) @Bernard
– Felix B.
Jul 23 at 11:31
add a comment
|
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f500598%2fenumerate-list-with-each-item-in-a-new-row%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with
documentclass...
and ending withenddocument
.– Alessandro Cuttin
Jul 19 at 9:36
And, what is the question, btw?
– Alessandro Cuttin
Jul 19 at 9:36
Hi, thanks for your comment. I edited the question and provided a working code snippet.
– Felix B.
Jul 19 at 9:50
Do you mean different items should be in different table rows?
– Bernard
Jul 19 at 9:54
@Bernard as of my understanding, the
OP
wants all columns should be in top alignment, if not so, he may correct me ...– MadyYuvi
Jul 19 at 10:01