GeneralProblem with a twocolumn documentclass

LaTeX specific issues not fitting into one of the other forums of this category.
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

Problem with a twocolumn documentclass

Post by pallav »

I am using a springer tex file. I am getting trouble some problems as follows:
1. I want to get both my tables and large figures (also, sometimes my long equations) in onecolumn i.e in wide form (though my documentclass is twocolumn)
2. Unable to get the envelop sign after the name of the corresponding author. I have used (getting help from here) the following code

Code: Select all

\usepackage{bbding}
\Huge\Envelope

I am really not able to solve all those problems. I got many help from this site. I am very much thankful to the moderators and users of this site.
Attachments
svjour3.cls
(46.56 KiB) Downloaded 348 times
svglov3.clo
(3.72 KiB) Downloaded 333 times
test.tex
(6.14 KiB) Downloaded 356 times
test.log
(30.59 KiB) Downloaded 307 times

Recommended reading 2024:

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

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

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problem with a twocolumn documentclass

Post by cgnieder »

  1. use the starred forms \begin{figure*}... and \begin{table*}...
  2. bbding and ifsym are incompatible as they both define some symbols with the same name. If you only need \Envelope from bbding you can define it yourself without loading bbding:

    Code: Select all

    \makeatletter
    \newcommand\Envelope{{\fontencoding{U}\fontfamily{ding}\selectfont\symbol{'014}}}
    \makeatother
What's more:
  • you defined the label fig:subfig1_RD_origin twice
  • caption doesn't know the class and probably won't work as expected. It tells you so in the log:

    Code: Select all

    Package caption Info: Unknown document class (or package),
    (caption)             standard defaults will be used.
    )
    
    Package caption Warning: Unsupported document class (or package) detected,
    (caption)                usage of the caption package is not recommended.
    See the caption package documentation for explanation.
  • you cannot use \Huge in math mode as it is a text font command. It will have no effect. The log says

    Code: Select all

    LaTeX Font Warning: Command \Huge invalid in math mode on input line 123.
Regards
site moderator & package author
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

Problem with a twocolumn documentclass

Post by pallav »

Thank you very much for your help. I have benefited from your post. Still I have the problem regarding the envelop (or letter) symbol after the name of the corresponding author. Also, I am not able to solve the caption issue that you have suggested.

The starred table and figure suggestion are nicely worked.

I have uploaded the tex and the log. The svjour3.cls and svglov3.clo are uploaded in my previous post.
Attachments
test.log
(26.96 KiB) Downloaded 303 times
test.tex
(5.45 KiB) Downloaded 339 times
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problem with a twocolumn documentclass

Post by cgnieder »

pallav wrote:Still I have the problem regarding the envelop (or letter) symbol after the name of the corresponding author. Also, I am not able to solve the caption issue that you have suggested
What exactly is the problem the the envelope? When I compile your tex file the envelope shows up where it is supposed to, although I'd probably lower it a bit.

As for the caption package: just don't load it then the warning disappears. You're not using it for anything as it seems.
pallav wrote:I have uploaded the tex
Thanks for that! I'd prefer it if you'd posted Infominimal working examples instead, though.

Regards
site moderator & package author
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

Problem with a twocolumn documentclass

Post by pallav »

Thanks for your suggestion. Here is the desired tex

Code: Select all

\documentclass[twocolumn]{svjour3}
\usepackage[parfill]{parskip}
\usepackage{float, graphicx,subfig,psfrag,latexsym}
\makeatletter
\newcommand\Envelope{{\fontencoding{U}\fontfamily{ding}\selectfont\symbol{'014}}}
\makeatother
\begin{document}
\title{T I T L E}
\author{ghi}%etc.
\institute{
ghi (\Envelope) \at
 Department of  \\
\email{abc@abc.com} }
\date{Received: date / Accepted: date}
\maketitle
\end{document}
I am also uploaded the log and the pdf. Note that the svjour3.cls and svglov3.clo are uploaded in my previous post.
Attachments
test3.log
(10.69 KiB) Downloaded 283 times
test3.pdf
(13.02 KiB) Downloaded 400 times
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problem with a twocolumn documentclass

Post by cgnieder »

This is strange... it works for me and I can see no apparent differences between you log and mine:
envelope.png
envelope.png (4.75 KiB) Viewed 9041 times
site moderator & package author
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

Problem with a twocolumn documentclass

Post by pallav »

My log shows
Package caption Info: Unknown document class (or package),
(caption) standard defaults will be used.
)

Package caption Warning: Unsupported document class (or package) detected,
(caption) usage of the caption package is not recommended.
LaTeX Font Warning: Font shape `OT1/cmr/bx/n' in size <16> not available
(Font) size <17.28> substituted on input line 15.

LaTeX Font Info: Calculating math sizes for size <8.5> on input line 15.

LaTeX Font Warning: Font shape `OML/cmm/m/it' in size <8.5> not available
(Font) size <8> substituted on input line 15.
Then is there any problem in the code? Also, I have not used caption package, then why the 1st warning is coming? I don't know why I am not getting the letter symbol whereas you are getting the same using the same code?
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Problem with a twocolumn documentclass

Post by cgnieder »

pallav wrote:My log shows
Package caption Info: Unknown document class (or package),
(caption) standard defaults will be used.
)

Package caption Warning: Unsupported document class (or package) detected,
(caption) usage of the caption package is not recommended.
[...] Also, I have not used caption package, then why the 1st warning is coming?
Are you sure about that? In your first example it was kind of hidden but definitely loaded:

Code: Select all

\usepackage{booktabs,multirow,array,tabu,caption}
pallav wrote:
LaTeX Font Warning: Font shape `OT1/cmr/bx/n' in size <16> not available
(Font) size <17.28> substituted on input line 15.

LaTeX Font Info: Calculating math sizes for size <8.5> on input line 15.

LaTeX Font Warning: Font shape `OML/cmm/m/it' in size <8.5> not available
(Font) size <8> substituted on input line 15.
Then is there any problem in the code?
This means that some of the requested font sizes are not available and another (yet similar) size is used instead. Not too much to worry about if you're content with the result.

As for the missing envelope - if you have used the exact same code you posted last time I have no idea. Maybe someone else can help here.

Regards
site moderator & package author
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

Problem with a twocolumn documentclass

Post by pallav »

The above code i.e.

Code: Select all

\documentclass[twocolumn]{svjour3}
\usepackage[parfill]{parskip}
\usepackage{float, graphicx,subfig,psfrag,latexsym}
\makeatletter
\newcommand\Envelope{{\fontencoding{U}\fontfamily{ding}\selectfont\symbol{'014}}}
\makeatother
\begin{document}
\title{T I T L E}
\author{ghi}%etc.
\institute{
ghi (\Envelope) \at
 Department of  \\
\email{abc@abc.com} }
\date{Received: date / Accepted: date}
\maketitle
\end{document}
gives the log file test3. A warning is given regarding caption. Yes, I have used the that code.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Re: Problem with a twocolumn documentclass

Post by cgnieder »

Indeed! I ckecked and found that the `subfig' package loads `caption' internally. But since there doesn't seem to be any side effects you can probably ignore the warning for now, anyway.

Regards
site moderator & package author
Post Reply