How can I change the number of tables?
up vote
2
down vote
favorite
How can I change the number of tables? means not auto numbering.
because the typesetting number is wrong. so I want to change the number of this table. for example the table numbering 1234, I want change to 1324, just change one or two tables number.
my code:
documentclass[letterpaper, 10 pt, conference]{ieeeconf}
usepackage{url}
usepackage{array,tabularx}
usepackage{multirow}
usepackage{multicol, nonfloat} %% for two columns. NEVER REMOVE!!
usepackage{bm}
usepackage{amsmath}
allowdisplaybreaks
begin{document}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:1}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:3}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:2}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:4}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
end{tabularx}
}
end{table}
end{document}
anyone can help?thanks
tables
add a comment |
up vote
2
down vote
favorite
How can I change the number of tables? means not auto numbering.
because the typesetting number is wrong. so I want to change the number of this table. for example the table numbering 1234, I want change to 1324, just change one or two tables number.
my code:
documentclass[letterpaper, 10 pt, conference]{ieeeconf}
usepackage{url}
usepackage{array,tabularx}
usepackage{multirow}
usepackage{multicol, nonfloat} %% for two columns. NEVER REMOVE!!
usepackage{bm}
usepackage{amsmath}
allowdisplaybreaks
begin{document}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:1}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:3}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:2}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:4}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
end{tabularx}
}
end{table}
end{document}
anyone can help?thanks
tables
secounter{table}{2}
, for example.
– marmot
Nov 27 at 3:30
@marmot thanks for your answer, but I need to change the number, not start to numerling here```
– berlinpand
Nov 27 at 3:46
Sorry, I have misunderstood the question. Could you please upgrade your example to a full example that starts withdocumentclass
and ends withend{document}
, and describe more precisely what you want?
– marmot
Nov 27 at 3:49
@marmot I edited my question, hope you can understand, thanks for your attention:)
– berlinpand
Nov 27 at 4:13
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
How can I change the number of tables? means not auto numbering.
because the typesetting number is wrong. so I want to change the number of this table. for example the table numbering 1234, I want change to 1324, just change one or two tables number.
my code:
documentclass[letterpaper, 10 pt, conference]{ieeeconf}
usepackage{url}
usepackage{array,tabularx}
usepackage{multirow}
usepackage{multicol, nonfloat} %% for two columns. NEVER REMOVE!!
usepackage{bm}
usepackage{amsmath}
allowdisplaybreaks
begin{document}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:1}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:3}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:2}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:4}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
end{tabularx}
}
end{table}
end{document}
anyone can help?thanks
tables
How can I change the number of tables? means not auto numbering.
because the typesetting number is wrong. so I want to change the number of this table. for example the table numbering 1234, I want change to 1324, just change one or two tables number.
my code:
documentclass[letterpaper, 10 pt, conference]{ieeeconf}
usepackage{url}
usepackage{array,tabularx}
usepackage{multirow}
usepackage{multicol, nonfloat} %% for two columns. NEVER REMOVE!!
usepackage{bm}
usepackage{amsmath}
allowdisplaybreaks
begin{document}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:1}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:3}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:2}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:4}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
end{tabularx}
}
end{table}
end{document}
anyone can help?thanks
tables
tables
edited Nov 27 at 4:09
asked Nov 27 at 3:27
berlinpand
425
425
secounter{table}{2}
, for example.
– marmot
Nov 27 at 3:30
@marmot thanks for your answer, but I need to change the number, not start to numerling here```
– berlinpand
Nov 27 at 3:46
Sorry, I have misunderstood the question. Could you please upgrade your example to a full example that starts withdocumentclass
and ends withend{document}
, and describe more precisely what you want?
– marmot
Nov 27 at 3:49
@marmot I edited my question, hope you can understand, thanks for your attention:)
– berlinpand
Nov 27 at 4:13
add a comment |
secounter{table}{2}
, for example.
– marmot
Nov 27 at 3:30
@marmot thanks for your answer, but I need to change the number, not start to numerling here```
– berlinpand
Nov 27 at 3:46
Sorry, I have misunderstood the question. Could you please upgrade your example to a full example that starts withdocumentclass
and ends withend{document}
, and describe more precisely what you want?
– marmot
Nov 27 at 3:49
@marmot I edited my question, hope you can understand, thanks for your attention:)
– berlinpand
Nov 27 at 4:13
secounter{table}{2}
, for example.– marmot
Nov 27 at 3:30
secounter{table}{2}
, for example.– marmot
Nov 27 at 3:30
@marmot thanks for your answer, but I need to change the number, not start to numerling here```
– berlinpand
Nov 27 at 3:46
@marmot thanks for your answer, but I need to change the number, not start to numerling here```
– berlinpand
Nov 27 at 3:46
Sorry, I have misunderstood the question. Could you please upgrade your example to a full example that starts with
documentclass
and ends with end{document}
, and describe more precisely what you want?– marmot
Nov 27 at 3:49
Sorry, I have misunderstood the question. Could you please upgrade your example to a full example that starts with
documentclass
and ends with end{document}
, and describe more precisely what you want?– marmot
Nov 27 at 3:49
@marmot I edited my question, hope you can understand, thanks for your attention:)
– berlinpand
Nov 27 at 4:13
@marmot I edited my question, hope you can understand, thanks for your attention:)
– berlinpand
Nov 27 at 4:13
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
Here is one possibility to achieve this.
documentclass[letterpaper, 10 pt, conference]{ieeeconf}
usepackage{url}
usepackage{array,tabularx}
usepackage{multirow}
usepackage{multicol, nonfloat} %% for two columns. NEVER REMOVE!!
usepackage{bm}
usepackage{amsmath}
usepackage{float}
allowdisplaybreaks
begin{document}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:1}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{1}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:3}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{-2}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:2}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{1}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:4}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
end{tabularx}
}
end{table}
end{document}
OK, I will try, thanks again:)
– berlinpand
Nov 27 at 4:24
add a comment |
up vote
1
down vote
You can use the following convoluted way of setting the table
counter to whatever you need:
documentclass{article}
usepackage{etoolbox}
AtEndEnvironment{table}
{ifcsname oldtablenumendcsname
setcounter{table}{oldtablenum}%
fi
globalletoldtablenumundefined}
newcommand{setnexttablenumber}[1]{%
edefoldtablenum{thetable}%
setcounter{table}{numexpr#1-1}}
begin{document}
begin{table}
caption{A table caption}
end{table}
setnexttablenumber{7}
begin{table}
caption{Another table caption}
end{table}
begin{table}
caption{Another table caption}
end{table}
mbox{}
end{document}
The idea is that setnexttablenumber{<num>}
sets the appropriate number for the next table's caption
. The numbering is restored at the end of the next table
.
However, if you have a complete idea of how the numbering should occur, you can use
documentclass{article}
renewcommand{thetable}{%
ifcasevalue{table}
0or % 0
1or % 1
3or % 2
2else % 3
arabic{table}% 4...
fi
}
begin{document}
begin{table}
caption{A table caption}
caption{Another table caption}
caption{Another table caption}
caption{A final table caption}
end{table}
end{document}
An even quicker way would be to adjust thetable
directly, as needed, within the table
environment, without consideration of the actual counter:
documentclass{article}
begin{document}
begin{table}
caption{A table caption}
begingroup
renewcommand{thetable}{3}%
caption{Another table caption}
endgroup
begingroup
renewcommand{thetable}{2}%
caption{Another table caption}
endgroup
caption{A final table caption}
end{table}
end{document}
Perfect solution, thanks!
– berlinpand
Nov 27 at 6:23
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Here is one possibility to achieve this.
documentclass[letterpaper, 10 pt, conference]{ieeeconf}
usepackage{url}
usepackage{array,tabularx}
usepackage{multirow}
usepackage{multicol, nonfloat} %% for two columns. NEVER REMOVE!!
usepackage{bm}
usepackage{amsmath}
usepackage{float}
allowdisplaybreaks
begin{document}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:1}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{1}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:3}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{-2}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:2}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{1}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:4}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
end{tabularx}
}
end{table}
end{document}
OK, I will try, thanks again:)
– berlinpand
Nov 27 at 4:24
add a comment |
up vote
1
down vote
Here is one possibility to achieve this.
documentclass[letterpaper, 10 pt, conference]{ieeeconf}
usepackage{url}
usepackage{array,tabularx}
usepackage{multirow}
usepackage{multicol, nonfloat} %% for two columns. NEVER REMOVE!!
usepackage{bm}
usepackage{amsmath}
usepackage{float}
allowdisplaybreaks
begin{document}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:1}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{1}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:3}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{-2}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:2}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{1}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:4}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
end{tabularx}
}
end{table}
end{document}
OK, I will try, thanks again:)
– berlinpand
Nov 27 at 4:24
add a comment |
up vote
1
down vote
up vote
1
down vote
Here is one possibility to achieve this.
documentclass[letterpaper, 10 pt, conference]{ieeeconf}
usepackage{url}
usepackage{array,tabularx}
usepackage{multirow}
usepackage{multicol, nonfloat} %% for two columns. NEVER REMOVE!!
usepackage{bm}
usepackage{amsmath}
usepackage{float}
allowdisplaybreaks
begin{document}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:1}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{1}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:3}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{-2}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:2}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{1}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:4}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
end{tabularx}
}
end{table}
end{document}
Here is one possibility to achieve this.
documentclass[letterpaper, 10 pt, conference]{ieeeconf}
usepackage{url}
usepackage{array,tabularx}
usepackage{multirow}
usepackage{multicol, nonfloat} %% for two columns. NEVER REMOVE!!
usepackage{bm}
usepackage{amsmath}
usepackage{float}
allowdisplaybreaks
begin{document}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:1}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{1}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:3}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{5}$& $-$ & $e_{2}$ & $e_{4}$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{-2}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:2}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{6}$& $-$ & $e_{4}$ & $e_{4}$ \ hline
end{tabularx}
}
end{table}
addtocounter{table}{1}
begin{table}[H]
caption{Rules of selecting $e_{q}$.}label{tab:4}
centering%
{footnotesize
begin{tabularx}{columnwidth}
{|m{42pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|m{46pt}<{centering}|}
hline
$L_{i}$& $E_{M_{0}}$ < - $E_{M}^{T}$ & $|E_{M_{0}}|leq E_{M}^{T}$ & $|E_{M_{0}}| > E_{M}^{T}$ \ hline
$L_{3} & L_{4} $& $e_{5}$ & $e_{3}$ & $-$ \ hline
$L_{1}$& $e_{3}$ & $e_{1}$ & $e_{2}$ \ hline
$L_{2}$& $e_{1}$ & $e_{1}$ & $e_{2}$ \ hline
end{tabularx}
}
end{table}
end{document}
answered Nov 27 at 4:17
marmot
80.4k491172
80.4k491172
OK, I will try, thanks again:)
– berlinpand
Nov 27 at 4:24
add a comment |
OK, I will try, thanks again:)
– berlinpand
Nov 27 at 4:24
OK, I will try, thanks again:)
– berlinpand
Nov 27 at 4:24
OK, I will try, thanks again:)
– berlinpand
Nov 27 at 4:24
add a comment |
up vote
1
down vote
You can use the following convoluted way of setting the table
counter to whatever you need:
documentclass{article}
usepackage{etoolbox}
AtEndEnvironment{table}
{ifcsname oldtablenumendcsname
setcounter{table}{oldtablenum}%
fi
globalletoldtablenumundefined}
newcommand{setnexttablenumber}[1]{%
edefoldtablenum{thetable}%
setcounter{table}{numexpr#1-1}}
begin{document}
begin{table}
caption{A table caption}
end{table}
setnexttablenumber{7}
begin{table}
caption{Another table caption}
end{table}
begin{table}
caption{Another table caption}
end{table}
mbox{}
end{document}
The idea is that setnexttablenumber{<num>}
sets the appropriate number for the next table's caption
. The numbering is restored at the end of the next table
.
However, if you have a complete idea of how the numbering should occur, you can use
documentclass{article}
renewcommand{thetable}{%
ifcasevalue{table}
0or % 0
1or % 1
3or % 2
2else % 3
arabic{table}% 4...
fi
}
begin{document}
begin{table}
caption{A table caption}
caption{Another table caption}
caption{Another table caption}
caption{A final table caption}
end{table}
end{document}
An even quicker way would be to adjust thetable
directly, as needed, within the table
environment, without consideration of the actual counter:
documentclass{article}
begin{document}
begin{table}
caption{A table caption}
begingroup
renewcommand{thetable}{3}%
caption{Another table caption}
endgroup
begingroup
renewcommand{thetable}{2}%
caption{Another table caption}
endgroup
caption{A final table caption}
end{table}
end{document}
Perfect solution, thanks!
– berlinpand
Nov 27 at 6:23
add a comment |
up vote
1
down vote
You can use the following convoluted way of setting the table
counter to whatever you need:
documentclass{article}
usepackage{etoolbox}
AtEndEnvironment{table}
{ifcsname oldtablenumendcsname
setcounter{table}{oldtablenum}%
fi
globalletoldtablenumundefined}
newcommand{setnexttablenumber}[1]{%
edefoldtablenum{thetable}%
setcounter{table}{numexpr#1-1}}
begin{document}
begin{table}
caption{A table caption}
end{table}
setnexttablenumber{7}
begin{table}
caption{Another table caption}
end{table}
begin{table}
caption{Another table caption}
end{table}
mbox{}
end{document}
The idea is that setnexttablenumber{<num>}
sets the appropriate number for the next table's caption
. The numbering is restored at the end of the next table
.
However, if you have a complete idea of how the numbering should occur, you can use
documentclass{article}
renewcommand{thetable}{%
ifcasevalue{table}
0or % 0
1or % 1
3or % 2
2else % 3
arabic{table}% 4...
fi
}
begin{document}
begin{table}
caption{A table caption}
caption{Another table caption}
caption{Another table caption}
caption{A final table caption}
end{table}
end{document}
An even quicker way would be to adjust thetable
directly, as needed, within the table
environment, without consideration of the actual counter:
documentclass{article}
begin{document}
begin{table}
caption{A table caption}
begingroup
renewcommand{thetable}{3}%
caption{Another table caption}
endgroup
begingroup
renewcommand{thetable}{2}%
caption{Another table caption}
endgroup
caption{A final table caption}
end{table}
end{document}
Perfect solution, thanks!
– berlinpand
Nov 27 at 6:23
add a comment |
up vote
1
down vote
up vote
1
down vote
You can use the following convoluted way of setting the table
counter to whatever you need:
documentclass{article}
usepackage{etoolbox}
AtEndEnvironment{table}
{ifcsname oldtablenumendcsname
setcounter{table}{oldtablenum}%
fi
globalletoldtablenumundefined}
newcommand{setnexttablenumber}[1]{%
edefoldtablenum{thetable}%
setcounter{table}{numexpr#1-1}}
begin{document}
begin{table}
caption{A table caption}
end{table}
setnexttablenumber{7}
begin{table}
caption{Another table caption}
end{table}
begin{table}
caption{Another table caption}
end{table}
mbox{}
end{document}
The idea is that setnexttablenumber{<num>}
sets the appropriate number for the next table's caption
. The numbering is restored at the end of the next table
.
However, if you have a complete idea of how the numbering should occur, you can use
documentclass{article}
renewcommand{thetable}{%
ifcasevalue{table}
0or % 0
1or % 1
3or % 2
2else % 3
arabic{table}% 4...
fi
}
begin{document}
begin{table}
caption{A table caption}
caption{Another table caption}
caption{Another table caption}
caption{A final table caption}
end{table}
end{document}
An even quicker way would be to adjust thetable
directly, as needed, within the table
environment, without consideration of the actual counter:
documentclass{article}
begin{document}
begin{table}
caption{A table caption}
begingroup
renewcommand{thetable}{3}%
caption{Another table caption}
endgroup
begingroup
renewcommand{thetable}{2}%
caption{Another table caption}
endgroup
caption{A final table caption}
end{table}
end{document}
You can use the following convoluted way of setting the table
counter to whatever you need:
documentclass{article}
usepackage{etoolbox}
AtEndEnvironment{table}
{ifcsname oldtablenumendcsname
setcounter{table}{oldtablenum}%
fi
globalletoldtablenumundefined}
newcommand{setnexttablenumber}[1]{%
edefoldtablenum{thetable}%
setcounter{table}{numexpr#1-1}}
begin{document}
begin{table}
caption{A table caption}
end{table}
setnexttablenumber{7}
begin{table}
caption{Another table caption}
end{table}
begin{table}
caption{Another table caption}
end{table}
mbox{}
end{document}
The idea is that setnexttablenumber{<num>}
sets the appropriate number for the next table's caption
. The numbering is restored at the end of the next table
.
However, if you have a complete idea of how the numbering should occur, you can use
documentclass{article}
renewcommand{thetable}{%
ifcasevalue{table}
0or % 0
1or % 1
3or % 2
2else % 3
arabic{table}% 4...
fi
}
begin{document}
begin{table}
caption{A table caption}
caption{Another table caption}
caption{Another table caption}
caption{A final table caption}
end{table}
end{document}
An even quicker way would be to adjust thetable
directly, as needed, within the table
environment, without consideration of the actual counter:
documentclass{article}
begin{document}
begin{table}
caption{A table caption}
begingroup
renewcommand{thetable}{3}%
caption{Another table caption}
endgroup
begingroup
renewcommand{thetable}{2}%
caption{Another table caption}
endgroup
caption{A final table caption}
end{table}
end{document}
answered Nov 27 at 4:24
Werner
433k609531635
433k609531635
Perfect solution, thanks!
– berlinpand
Nov 27 at 6:23
add a comment |
Perfect solution, thanks!
– berlinpand
Nov 27 at 6:23
Perfect solution, thanks!
– berlinpand
Nov 27 at 6:23
Perfect solution, thanks!
– berlinpand
Nov 27 at 6:23
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f461940%2fhow-can-i-change-the-number-of-tables%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
secounter{table}{2}
, for example.– marmot
Nov 27 at 3:30
@marmot thanks for your answer, but I need to change the number, not start to numerling here```
– berlinpand
Nov 27 at 3:46
Sorry, I have misunderstood the question. Could you please upgrade your example to a full example that starts with
documentclass
and ends withend{document}
, and describe more precisely what you want?– marmot
Nov 27 at 3:49
@marmot I edited my question, hope you can understand, thanks for your attention:)
– berlinpand
Nov 27 at 4:13