Document ClassesCitation language and a table question

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
JyriL
Posts: 1
Joined: Sat Jan 12, 2008 12:54 pm

Citation language and a table question

Post by JyriL »

I've been writing a document in Finnish and used bibTeX and natbib for the citations. Is there any way to change the language for these two? My main problem is with two-author articles which natbib cites as (Author1 and Author2). The English "and" doesn't look very elegant there when everything else arround is in Finnish. This could be translated into finnish "ja" but also "&" will do fine. Also the "editor" and "booktitle" entries in the "inproceedings" template include english text that I would like to have translated in the bibliography.

An unrelated question is about tables. In the same document I present quite a lot of numerical data in a big table that fills entirely one page. The table is infact so large that its lowest rows plus the caption go over the page number at the bottom of the page. What do you suggest as solutions to get rid of the overlapping? Moving the table a few cm up or reducing its size would be best.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Citation language and a table question

Post by localghost »

JyriL wrote: [...] An unrelated question is about tables. In the same document I present quite a lot of numerical data in a big table that fills entirely one page. The table is infact so large that its lowest rows plus the caption go over the page number at the bottom of the page. What do you suggest as solutions to get rid of the overlapping? Moving the table a few cm up or reducing its size would be best.

You could reduce the size by changing the font size generally for the whole table.

Code: Select all

\begin{table}[!p]
  \centering
  \small
  \begin{tabular}{lcr}
    ...
  \end{tabular}
  \normalsize
  \caption{A large table reduced in size}\label{tab:table}
\end{table}
When using the caption package, you can omit the last switch for normal font size.


Best regards and welcome on Board
Thorsten
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Citation language and a table question

Post by Juanjo »

There are bibliography styles that cooperate with babel. Read the documentation of the abstyles and babelbib bundles, which may be of some interest for you.


Concerning your problem with big tables, you may find useful this thread about too wide tables. Some of the ideas there can be applied in your case. Instead, you can move up the table with \raisebox, writing something like \raisebox{vertical space}{code of the tabular environment}
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Citation language and a table question

Post by sommerfee »

localghost wrote: When using the caption package, you can omit the last switch for normal font size.


The original code for \caption contains a \normalsize, too, so usually it can be omitted anyway.

Axel
User avatar
FrankZA
Posts: 14
Joined: Wed Oct 17, 2007 1:02 pm

Re: Citation language and a table question

Post by FrankZA »

I have often had to change the font size to small for the contents of my tables. Is it possible to change the default font size for tables (not their captions) to small (or something else for that matter)?
TeXnicCenter 1RC, LEd 0.53, MikTeX 2.8, Windows XP (SP3)
balf
Posts: 158
Joined: Sat Jan 12, 2008 1:11 am

Re: Citation language and a table question

Post by balf »

By (re)defining the table environment, e.g.:
newenvironment{myownpersonaltable}{\small\begin{table}}{\end{table}}
and if you want to keep the same name for the environment, add:
\renewenvironment{table}{\begin{myownpersonaltable}}{\end{myownpersonaltable}}
(check for the optional arguments h,t,b,...)

B.A.
User avatar
FrankZA
Posts: 14
Joined: Wed Oct 17, 2007 1:02 pm

Re: Citation language and a table question

Post by FrankZA »

Thank you very much balf, I'll try that.
TeXnicCenter 1RC, LEd 0.53, MikTeX 2.8, Windows XP (SP3)
User avatar
FrankZA
Posts: 14
Joined: Wed Oct 17, 2007 1:02 pm

Citation language and a table question

Post by FrankZA »

I found that

Code: Select all

\newenvironment{smalltable}{\begin{table}[!htb]\small}{\end{table}}
\newenvironment{foottable}{\begin{table}[!htb]\footnotesize}{\end{table}}
\newenvironment{scripttable}{\begin{table}[!htb]\scriptsize}{\end{table}}
works well. I tried the \renewenvironment part, that gave me errors though.
TeXnicCenter 1RC, LEd 0.53, MikTeX 2.8, Windows XP (SP3)
Post Reply