Document properties

Summary of the various pieces of information that are captured using LaTeX macros or DOCX Custom Document properties and then later used in making calendar entries, making the cover, making a LADOK entry, or used in the MODS file for DiVA

Top level elements subelements LaTeX Macro DOCX DocProperty or fields calendar cover LADOK MODS
Author1
Last name   \authorsLastname{} Author1_Last_name x x x x
First name   \authorsFirstname{} Author1_First_name x x x x
Local User Id   \kthid{} Author1_Local User Id     x x
E-mail   \email{} Author1_E-mail       x
organisation
L1 \authorsSchool{} Author1_organization_L1       x
    Author1_organization_L2        
Other organisation     Author1_Other_organisation        
Author2
Last name   \authorsLastname{} Author2_Last_name x x x x
First name   \authorsFirstname{} Author2_First_name x x x x
Local User Id   \kthid{} Author2_Local User Id     x x
E-mail   \email{} Author2_E-mail       x
organisation  
L1 \authorsSchool{} Author2_organization_L1       x
    Author2_organization_L2        
Other organisation     Author2_Other_organisation        
Cycle     \courseCycle{} Cycle x x    
Course code     \courseCode{} Course_code i i    
Credits     \courseCredits{} Credits        
Degree1
Educational program   Derived from programcode Educational program   x   x
programcode   \programcode{} programcode   i   i
Degree   \degreeName{} Degree   x   x
subjectArea   \subjectArea{ } subjectArea   x   x
Degree2  
Educational program   Derived from secondProgramcode second_Educational program   x   x
programcode   \secondProgramcode{} second_Programcode   i   i
Degree   \secondDegreeName{} second_Degree   x   x
subjectArea   \secondSubjectArea{} second_subjectArea   x   x
Title  
Main title   \title{} (exiting document property) x x x x
Subtitle   \subtitle{} Subtitle x x o x
Language   Derived from option to document class   x     x
Alternative title  
Main title   \alttitle{} Alternative_main_title x x x x
Subtitle   \altsubtitle{} Alternative_subtitle x x o x
Language   Derived from option to documentclass   x     x
Supervisor1  
Last name   \supervisorAsLastname{} Supervisor1_Last_name x     x
First name   \supervisorAsFirstname{} Supervisor1_First_name x     x
Local User Id   \supervisorAsKTHID{} Supervisor1_Local User Id       x
E-mail   \supervisorAsEmail{} Supervisor1_E-mail       x
organisation  
  L1 \supervisorAsSchool{}  Supervisor1_organization_L1       x
  L2 supervisorAsDepartment{} Supervisor1_organization_L2       o
Other organisation   supervisorAsOrganization{} Supervisor1_Other_organisation        
Supervisor2  
Last name   \supervisorBsLastname{ } Supervisor2_Last_name x     x
First name   \supervisorBsFirstname{} Supervisor2_First_name x     x
Local User Id   \supervisorBsKTHID{} Supervisor2_Local User Id       x
E-mail   \supervisorBsEmail{} Supervisor2_E-mail       x
organisation  
  L1 \supervisorBsSchool{} Supervisor2_organization_L1       x
  L2 \supervisorBsDepartment{} Supervisor2_organization_L2       o
Other organisation   \supervisorBsOrganization{} Supervisor2_Other_organisation        
Supervisor3  
Last name   \supervisorCsLastname{}  Supervisor3_Last_name x     x
First name   \supervisorCsFirstname{} Supervisor3_First_name x     x
Local User Id   \supervisorCsKTHID{}          
E-mail   \supervisorCsEmail{} Supervisor3_E-mail       o
organisation  
  L1 \supervisorCsSchool{} Supervisor3_organization_L1       x
  L2 \supervisorCsDepartment{} Supervisor3_organization_L2       o
Other organisation   \supervisorCsOrganization{} Supervisor3_Other_organisation x     x
Examiner1  
Last name   \examinersLastname{} Examiner1_Last_name x   i x
First name   \examinersFirstname{} Examiner1_First_name x   i x
Local User Id   \examinersKTHID{} Examiner1_Local User Id     i x
E-mail   \examinersEmail{} Examiner1_E-mail       x
organisation  
  L1 \examinersSchool{} Examiner1_organization_L1       x
  L2 \examinersDepartment{} Examiner1_organization_L2        
Other organisation   \examinersOrganization{}         o
Cooperation  
Partner_name   \hostcompany{}        or \hostorganization{} Cooperation_Partner_name       o
National Subject Categories     \nationalsubjectcategories{} National Subject Categories       x
Other information  
Year   \the\year (derived from document property Date)       x
Number of pages   (derived from labels: pg:lastPageofPreface and pg:lastPageofMainmatter) (derived from bookmarks: lastPageofPreface and lastPageofMainmatter)       x
Series  
Title of series   \trita{TRITA-EECS-EX}{2021:00} Series_name   x   x
No. in series   Number_in_series   x   x
Opponents     \opponentsNames{} Opponents_Name x      
Presentation  
Date   \presentationDateAndTimeISO{} Presentation_Date x     x
Language   \presentationLanguage{ } Presentation_Language x     x
Room   \presentationRoom{} Presentation_Room x     x
Address   \presentationAddress{ } Presentation_Address x     x
City   \presentationCity{ } Presentation_City x     x
Number of lang instances       [Manually entered as 2, 3, 4, …]        
abstracts  
eng   (saved in lang array using scontents) (derived from bookmark: EnglishAbstract and then text inserted) x     x
swe   (derived from bookmark: SwedishAbstract) x     x
fre           o
          o
keywords  
eng   (saved in lang array using scontents) (derived from bookmark: EnglishKeywords) x     x
swe   (derived from bookmark: SwedishKeywords) x     x
fre           o
          o

x indicates the value is used, o indicates that it is optional, and i indicates ?