moderncv icon indicating copy to clipboard operation
moderncv copied to clipboard

suppress bibliography horizontal dotted line ?

Open gvoysey opened this issue 11 years ago • 4 comments

I'd like to have my publications with the same styling as \Section{}.

Currently, i have

\begin{samepage}
\renewcommand{\refname}{Selected Publications}
\nocite{*}
\bibliographystyle{abbrv}
\bibliography{pubs}                        
\vspace{1em}
\end{samepage}

which styles it differently.

Changing this to

\begin{samepage}
\section{Selected Publications}
\renewcommand{\refname}{}
\nocite{*}
\bibliographystyle{abbrv}
\bibliography{pubs}                        
\vspace{1em}
\end{samepage}

generates a residual and spurious horizontal dotted line below, as seen in this image. screen shot 2015-01-24 at 18 16 50

How should i prevent this?

gvoysey avatar Jan 24 '15 23:01 gvoysey

Please, can you provide some more information? Are you using something different from the template's preamble?

I can't reproduce this error. Within the template, your second snippet of code works like expected:

snip

If you provide some reproducible code I can take a look on what's happening.

Thanks.

fernandomayer avatar Feb 10 '15 02:02 fernandomayer

Here is a MWE.

Thanks for your help!

gvoysey avatar Feb 10 '15 15:02 gvoysey

Perhaps are you using the original moderncv package?

Note that the files in my repo are from an older version of this original package because I wanted to keep some things that the updated version didn't allow me (see README). Also, in my files, I didn't made a banking theme.

When I run your code inside a folder containing my files, it doesn't work because the lack of the theme. When I run the code outside the folder with my files, LaTeX compiles using the original modernvc package (which I also have installed), and it works as expected (no errors), and that dotted line also doesn't show for me.

Looking at this example from the original modernvc package with the banking theme, it looks like that dotted line is supposed to show up when creating subsection (but I'm not sure because I've never used it).

Take a look in this example, and if you can't figure out what to do, maybe the best place to ask for some help in this particular case is the modernvc launchpad page.

Hope that helps.

fernandomayer avatar Feb 10 '15 22:02 fernandomayer

You are correct, and wow did I file this in the wrong place. Thanks for your patience, and for pointing me in the right direction!

gvoysey avatar Feb 11 '15 21:02 gvoysey