[Solved] extra dots in tables

Daniel Pinto Asks: extra dots in tables
I want to have table numbers in table title displayed as, for example

Code:
Table 4.5. This table is a rebel

I achieve this by doing:

Code:
renewcommand{thetable}{arabic{section}.arabic{table}.}

The problem is that when I use ref{} in the text to link to the table, latex also returns “Table 4.5.” instead of just “Table 4.5”. This is particularly ugly at sentence ends when it can happen “Table 4.5..”, where the last dot is a full stop.

So, how can I get “Table 4.5.” in the table title, but not when I use ref{}? Thanks

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.