TeX - LaTeX Asked on December 15, 2021
I have to write a document with the following characteristics:
So far I was able to do 1-7 requirements but I can’t do the 8 step. Here is my solution
documentclass[10pt]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}
usepackage{titlesec}
usepackage{apacite}
usepackage{blindtext}
usepackage{multicol}
titleformat{section}[hang]{centeringlargebfseries}{}{0pt}{}
renewcommand{thesection}{}
renewcommand{thesubsection}{normalsizearabic{subsection}}
titleformat{subsubsection}{normalsizeem}{thesubsubsection}{1em}{}
title{draft}
author{Luis}
begin{document}
maketitle
begin{multicols}{2}
small
section{Resumen}
blindtext
section{Abstract}
blindtext
section{Introducción}
blindtext
subsection{a ver}
blindtext
subsubsection{a ver dos}
blindtext
end{multicols}
nocite{Gould}
bibliographystyle{apacite}
{footnotesize
bibliography{mybib}}
end{document}
I choose the font of size 10pt
because here say the following:
small
is 9ptlarge
is 12ptfootnotesize
is 8ptI use the package geometry
to defined the papaer size of my document as well as the margins. This solves points 1, 3 and 4. The package multicol
is used to make the document two column.
The titleformat{...}
makes the sections numberless but the subsection and subsubsection keep their numbering. This solves points 5, 6 and 7.
To make normal text of size 9, I use the command small
inside the multicols enviroment, and I think this solves point 8.
But I can’t make the text in my bibliography to be of size 8pt, that is the size of footnotesize
. The file mybib.bib
has the following entrie:
@book{Gould,
author="Gould, S",
title="Russian for the mathematician",
year="1972",
address="NY, US",
publisher="Springer-Verlag"}
I have read some questions and their answers but so far none work for me, how can I mak it?
*NOTE If you compile the code, you will find out that blindtext doesn’t work in spanish, but this error does not affect the formating
To fulfill your requirement number 8, you should actually load article
with the size option 9pt
, documentclass[9pt]{article}
. As we can see from the file size9.clo
it then defined small
as:
newcommandsmall{%
@setfontsizesmall@viiipt@ixpt%
abovedisplayskip 5p@ @plus2p@ @minus2p@
abovedisplayshortskip z@ @plus1p@
belowdisplayshortskip 3p@ @plusp@ @minus2p@
def@listi{leftmarginleftmargini
topsep 3p@ @plusp@ @minusp@
parsep 2p@ @plusp@ @minusp@
itemsep parsep}%
belowdisplayskip abovedisplayskip
}
so it is 8pt
and hence you can redefine the bibliographytypesize
by stating renewcommand{bibliographytypesize}{small}
to fulfill your requirement number 9. The complete example then reads:
documentclass[9pt]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}
usepackage{titlesec}
usepackage{apacite}
usepackage{blindtext}
usepackage{multicol}
titleformat{section}[hang]{centeringlargebfseries}{}{0pt}{}
renewcommand{thesection}{}
renewcommand{thesubsection}{normalsizearabic{subsection}}
titleformat{subsubsection}{normalsizeem}{thesubsubsection}{1em}{}
renewcommand{bibliographytypesize}{small}
title{draft}
author{Luis}
begin{document}
maketitle
begin{multicols}{2}
small
section{Resumen}
blindtext
section{Abstract}
blindtext
section{Introducción}
blindtext
subsection{a ver}
blindtext
subsubsection{a ver dos}
blindtext
end{multicols}
nocite{Gould}
bibliographystyle{apacite}
{footnotesize
bibliography{mybib}}
end{document}
Answered by TobiBS on December 15, 2021
I have read the apacite
manual and it provides ways to customize prpoperties of the reference. In particular has the option bibliographytypesize
to change the font of the reference list and not the heading. So I did the folowing
renewcommand{bibliographytypesize}{footnotesize}
Answered by Luis Victoria on December 15, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP