Posts

Showing posts with the label latex

Styling of biblography - change underline to italic (Latex)

Image
Styling of biblography - change underline to italic (Latex) I am struggeling with latex biblography styling. Using the predefined bibliographystyle{plain} style i get a nice result: When adding the following package: usepackage {ulem} I get this result in the biblography: How can i remove the underline of the journal and get it italic? I tried: renewcommand{uline}[1]{textit{#1}} and also following, to undefine uline renewcommanduline[1]{} But both create a lot of "Missing } inserted.end{thebibliography}" in the bbl file. Is there a way to revert the usepackage command or get back the old style? 1 Answer 1 One of the features of the ulem package is to redefine emph so that it uses uline , so (as is presumably already clear to you) that's why you're getting underline in the bibliography, where text was emphasised before. ulem emph uline The documentation for the ulem package notes...

Vertically centering a title page

Image
Vertically centering a title page I'm trying to vertically center a title on a custom-sized page with latex. I've written the following code, but for some reason it doesn't center. Could someone please point me to what's wrong with it? Thanks! documentclass{article} setlength{pdfpagewidth}{88.184mm} setlength{pdfpageheight}{113.854mm} usepackage[margin=0.5cm, paperwidth=88.184mm, paperheight=113.854mm]{geometry} title{[[title]]} date{[[date]]} author{[[author]]} begin{document} vspace{fill} maketitle vspace{fill} newpage [[text]] end{document} 4 Answers 4 There are two small bugs in your code. First, if you want the vspace to work at the beginning or end of a page, you should use the starred version ( vspace* ). vspace vspace* This would work, but maketitle is a pretty complicated macro, and if used like in your example, it just puts the title at the second page...