<apa7> Why is professor, course, and duedate not appearing on the title page? - latex

I am using the LaTeX package apa7 to format my research paper. However, the professor, course, and duedate for the assignment is not appearing in the title when the \maketitle command is called while my name and affiliation appears just fine. I don't see any references to this problem on the Internet for some reason, what is the issue?
\documentclass[man,donotrepeattitle]{apa7}
\usepackage[style=apa,sortcites=true,backend=biber]{biblatex}
\addbibresource{references.bib}
\title{Natural Language Processing With GPT3:\\ More than just a cheating tool}
\shorttitle{More than just a cheating tool}
\author{Anish Goyal}
\affiliation{GSMST}
\course{American Literature and Composition}
\professor{Susan Kohanek}
\duedate{January 31, 2023}
\newcommand{\HRule}{\rule{\linewidth}{0.25mm}}
\setlength\parindent{36pt}
\begin{document}
\maketitle
\end{document}
I tried looking at the apa7 manual. I expect the course, professor, and duedate to appear on the title page as indicated on the apa formatting guide. Instead, only my name and affiliation appears.

The information is displayed if you use the student paper document mode instead of the manuscript mode:
\documentclass[stu,donotrepeattitle]{apa7}
\usepackage[style=apa,sortcites=true,backend=biber]{biblatex}
\addbibresource{references.bib}
\title{Natural Language Processing With GPT3:\\ More than just a cheating tool}
\shorttitle{More than just a cheating tool}
\author{Anish Goyal}
\affiliation{GSMST}
\course{American Literature and Composition}
\professor{Susan Kohanek}
\duedate{January 31, 2023}
\newcommand{\HRule}{\rule{\linewidth}{0.25mm}}
\setlength\parindent{36pt}
\begin{document}
\maketitle
\end{document}

Related

Use Biblatex to get an overview of the keywords from my sources

Hi I'm using LaTeX to write a literature review and BibLaTeX to print my sources and bibliography.
I would like to get an overview of all the keywords used in the articles I have gathered so far.
Since I have them all in a .bib file I figured that there probably is some easy way to get all the keywords from there that utilises BibLaTeX and the BibTeX-format of the file with the info.
From what I can gather BibLaTeX has the support for using keywords to sort the bibliography, or include/exclude certain sources based on keywords, but I can't find if or how I can print other information from the .bib than the full source. I've found \printfield in the documentation but it's not recognised when I use it in my document, even though the \textcite and the \printbibliography works fine so I'm guessing I'm using it wrong. Here's how I've tried to use it:
\documentclass[a4paper]{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{csquotes}
\usepackage[style=authoryear,backend=biber]{biblatex}
\addbibresource{sample.bib}
\title{Test}
\author{Me}
\begin{document}
\maketitle
\section*{Citation examples}
\parencite{Smith:2012qr}.
\printfield{keywords}
\printbibliography
\end{document}
I hope my question is clear enough.
Thank you.
Based on this question https://tex.stackexchange.com/questions/332292/listing-indexing-and-linking-keywords-in-biblatex you could use one of the packages for index creation, e.g. imakeidx:
\documentclass{article}
\begin{filecontents*}[overwrite]{\jobname.bib}
#article{Padial2010,
title={The Integrative Future Of Taxonomy},
author={Padial, J.M. and Miralles, A. and la Riva, I.D. and Vences, M.},
journal={Frontiers in Zoology},
year={2010},
volume={7},
number={16},
pages={1--14},
note={Cited by 4},
abstract={Text},
publisher={Some Publishing},
doi={10.1186/1742-9994-7-16},
issn={1742-9994},
file={./2004_Jensen_Homecoming.pdf},
keywords={biology, taxonomy},
}
#article{Padissal2010,
title={The Integrative Future Of Taxonomy},
author={Padial, J.M. and Miralles, A. and la Riva, I.D. and Vences, M.},
journal={Frontiers in Zoology},
year={2010},
volume={7},
number={16},
pages={1--14},
note={Cited by 4},
abstract={Text},
publisher={Some Publishing},
doi={10.1186/1742-9994-7-16},
issn={1742-9994},
file={./2004_Jensen_Homecoming.pdf},
keywords={math, taxonomy},
}
\end{filecontents*}
\usepackage{biblatex}
\addbibresource{\jobname.bib}
\usepackage{imakeidx}
\makeindex[name=keywords, title=List of Keywords]
\DeclareIndexFieldFormat{keywords}{\forcsvfield{\index[keywords]}{keywords}}
\AtEveryBibitem{\indexfield{keywords}}
\begin{document}
\nocite{*}
\printbibliography
\printindex[keywords]
\end{document}

Changing University name, thesis title e.a. for abstract in different language

I need to write two different abstracts in my thesis in german and in english. The German one works fine and by using the \begin{otherlanguage} command, the abstract name itself changes to english. But furthermore I need to use an english tilte, university name, faculty name and company name for the second abstract. I tried using \renewcommand but it does not change the title in the output file, which is still german.
I found packages for multiple titles (\titling), but that is not working for the university name and so on.
Thank you in advance
\documentclass[11pt, english, ngerman,]{MastersDoctoralThesis}
\thesistitle{Title in German}
\university{University Title in German}
\begin{document}
\begin{abstract}
\addchaptertocentry{\abstractname}
German German German
\end{abstract}
\begin{otherlanguage}{english}
\renewcommand{\thesistitle}{Title in English}
\renewcommand{\university}{University Title in English}
\begin{abstract}
English English English
\end{abstract}
\end{otherlanguage}
% This template was downloaded from:
% http://www.LaTeXTemplates.com
% Template license:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
\documentclass[11pt, english, ngerman,openany]{MastersDoctoralThesis}
\usepackage{blindtext}
\thesistitle{Wombat} % Your thesis title, this is used in the title and abstract, print it elsewhere with \ttitle
\supervisor{Gerald Giraffe} % Your supervisor's name, this is used in the title page, print it elsewhere with \supname
\examiner{} % Your examiner's name, this is not currently used anywhere in the template, print it elsewhere with \examname
\degree{Doctor of Philosophy} % Your degree name, this is used in the title page and abstract, print it elsewhere with \degreename
\author{John \textsc{Smith}} % Your name, this is used in the title page and abstract, print it elsewhere with \authorname
\addresses{} % Your address, this is not currently used anywhere in the template, print it elsewhere with \addressname
\subject{Biological Sciences} % Your subject area, this is not currently used anywhere in the template, print it elsewhere with \subjectname
\keywords{} % Keywords for your thesis, this is not currently used anywhere in the template, print it elsewhere with \keywordnames
\university{Uni der Zootiere} % Your university's name and URL, this is used in the title page and abstract, print it elsewhere with \univname
\department{Institut der Angewandten Tierpflegeranalyse} % Your department's name and URL, this is used in the title page and abstract, print it elsewhere with \deptname
\group{\href{http://researchgroup.university.com}{Research Group Name}} % Your research group's name and URL, this is used in the title page, print it elsewhere with \groupname
\faculty{\href{http://faculty.university.com}{Faculty Name}} % Your faculty's name and URL, this is used in the title page and abstract, print it elsewhere with \facname
\begin{document}
\begin{abstract}
\addchaptertocentry{\abstractname}
\blindtext
\end{abstract}
\begin{otherlanguage}{english}
\makeatletter
\renewcommand{\#title}{Capybara}
\makeatother
\renewcommand{\univname}{Univerity of Zoo Animals}
\renewcommand{\deptname}{Institute for applied Something}
\begin{abstract}
\blindtext
\end{abstract}
\end{otherlanguage}
\end{document}
I do not have, neither know the package MastersDoctoralThesis.
If it includes the babel package, you can use iflang to test the active language.
\documentclass[11pt]{article}
\usepackage{iflang}
\usepackage[german]{babel}
%\usepackage[english]{babel}
\begin{document}
\IfLanguageName{german}{
German German German
}{
English English English
}
\end{document}
If your document class does not include the babel language, you can do something similar by defining a macro and testing its value with the ifthen package.
\documentclass[11pt]{article}
\usepackage{ifthen}
\def\mylanguage{german}
\begin{document}
\ifthenelse{\equal{\mylanguage}{german}}{
German German German
}{
English English English
}
\end{document}

How to horizontal align titles, author names and affiliations in APA6 in latex

I am currently using the following latex code.
\documentclass[jou,apacite]{apa6}
\title{Example of journal article}
\twoauthors{Author One}{Author Two}
\twoaffiliations{Institute of Psychology}{Freud's Institute}
\abstract{This is an example of a journal article using the \texttt{apa6.cls} document class to typeset manuscripts according to 6th edition of the Americal Psychological Association (APA) manual}
\rightheader{APA style}
\leftheader{Author One}
\begin{document}
\maketitle
\section{Sample section}
Sample text. Sample text. Sample text. Sample text. Sample text. Sample text.
\bibliography{sample}
\end{document}
The title, author names and affiliations are currently centered. I want to left align them as shown in figure below.
I tried the solutions provided for article document type in other questions. But they did not work for my template.
Please let me know if any details are needed.

LaTEX: changing the format of citation in References to list authors' last name first

It seems the format in the Reference section is a little off! Can you please show me how to format the citation to list authors' last name first?
Thanks all.
Here is the current form in the Reference section:
C. B. Grimmond, A. Isard, and J. Belding. Development and evaluation of
continuously weighing mini-lysimeters. Agricultural and Forest Meteorology,
62(3-4):205{218, 1992.
I use BibDesk to organize the citation database. Here is what I am using in the TeXstudio:
\documentclass[]{article}
\usepackage[pdftex]{graphicx}
\usepackage[round]{natbib}
\begin{document}
\bibliographystyle{plainnat}
\bibliography{/Users/me/Citation/citation}
\end{document}
You can try to change the Bibtex Bibliography style to 'acm' or 'apalike'
\bibliographystyle{stylename}
\bibliography{bibfile}
Read more about other styles: https://www.sharelatex.com/learn/Bibtex_bibliography_styles

Add journal name to biblatex references, journal names not showing up

I'm using biblatex in a beamer presentation so that I can use the \footcite command. The problem is that bibliography styles handling in biblatex don't look quite straighforward and none of the default styles will actually work for me since they do not show Journal references.
I'm looking for something similar as .bst files for Bibtex, since I can have JPC and PRL, PR bibliography styles. I surfed the internet and this stackexchange but couldn't find a proper solution. Could somebody provide me a working example with a style which shows: Authors, Year, Journal?
Best regards
The following code (authoryear style) does not show journal. Alphabetic, numeric etc only produces blank references.
MWE:
\documentclass[8pt mathserif]{beamer}
\usepackage{beamerthemesplit}
\usepackage{latexsym}
\usepackage{eurosym}
\usepackage[english]{babel}
\usepackage{ae,aecompl}
\usepackage{graphicx}
\usepackage{amsfonts}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage[style=authoryear]{biblatex}
\addbibresource{library.bib}
\usetheme{Madrid}
\title[]{Title}
\author[]{author}
\institute{MSE # NTU\\
The Zhao Research Group\\
}
\date[]{Thursday 31, July 2014}
\begin{document}
\section{Review of interesting phenomenology}
\begin{frame}[allowframebreaks noframenumbering]{Polaron Transformation}
\begin{itemize}
\item The original theory was developed by Munn-Silbey{\tiny \footcite{Silbey1980}\footcite{Munn1985}\footcite{Munn1985a}} and further refined by Zhao et al. \footcite{JCP1994OntheMunn}\footcite{Chen2011}
\end{itemize}
\end{frame}
\end{document}
And the library.bib file only contains entries such as the one referenced:
#article{Silbey1980,
author = {Silbey, R. and Munn, R. W.},
doi = {10.1063/1.439425},
file = {:Users/Caco/Documents/Mendeley Desktop/General theory of electronic transport in molecular crystals. I. Local linear electron–phonon coupling R. Silbey and R. W. Munn.pdf:pdf},
issn = {00219606},
journal = {The Journal of Chemical Physics},
number = {4},
pages = {2763},
title = {{General theory of electronic transport in molecular crystals. I. Local linear electron–phonon coupling}},
url = {http://scitation.aip.org/content/aip/journal/jcp/72/4/10.1063/1.439425},
volume = {72},
year = {1980}
}

Resources