Questions tagged [date]

For questions related to dates in various sections of a document, bibliography, or related.

Filter by
Sorted by
Tagged with
0
votes
1answer
35 views

Convert from Today's Date to Specified Date

I am just a few hours new to TeX and have been tasked to modify an existing template (tex) document for parsing. I have this in an cls file that works fine to add #1 days to today's date: \newcommand*{...
0
votes
0answers
23 views

How to format the quarter date and make annotations? Latex

I would like to show the date in quarter format on the x axis. So far this is my code. However, not all the dates are shown in the graph. Can anyone help me with this issue? \documentclass{article}%[...
1
vote
1answer
37 views

How to remove the words 'Who?' and 'When?' in the title page of Bergen beamer theme?

I am creating a simple presentation using the Bergen theme in beamer. I like almost everything about it, except the words 'Who?' and 'When' as respective quantifiers for the author and date in the ...
1
vote
2answers
49 views

Adding date on right [closed]

I want a result like this, a simple date on the right. Sorry for the question, I'm a beginner
0
votes
1answer
24 views

How to iterate over days and weeks of the year

Thanks to the help of this community I've managed to create a digital planner template page. \documentclass{article} \usepackage[landscape, margin=0.5cm]{geometry} \usepackage{tabularx} \usepackage[...
0
votes
1answer
21 views

Date and References in the footer of the first page of a report

I am writing a report in which i need to write date in the footer. But only in the first page of the report. How do I write date in footer? Also I need to write the references there in the footer of ...
1
vote
1answer
31 views

How to put the current date in the footer of every page

My document class is scrartcl and I defined the pagemargins with geometry as follows \documentclass[11pt]{scrartcl} \usepackage[left=2cm, right=1cm, bottom=2cm, a4paper, twoside]{geometry} So the ...
0
votes
1answer
17 views

How can I remove the blank space in urldate (while using ngerman and biblatex)?

I want the urldate like the other dates. \DeclareFieldFormat{urldate} seems not obviously be of help. Perhaps someone has an idea Here is an MWE \documentclass[10pt,a4paper]{article} \usepackage[utf8]{...
4
votes
2answers
117 views

Localized date ranges

biblatex (with biber) supports all kinds of date information, including ranges. Dates follow ISO 8601, which is great, and they are localized (plays nice with babel). I would like to get localized ...
0
votes
0answers
51 views

Why cant I see any URL or date when I cite from a webpage. I am writing my thesis on overleaf and I have multiple citations from webpages and papers

\documentclass[a4paper,12pt,twoside]{article} %\documentclass[a4paper,12pt]{article} \usepackage{comment} \usepackage{lipsum} \usepackage{multirow} \usepackage[colorlinks=true,linkcolor=black,...
1
vote
1answer
56 views

Encoding of quarter into date with ISO 8601 does not work in BibLaTeX

I'm trying to encode an article that was published in the first quarter of 2004. Following this answer, I'm using the ISO 8601 feature of the date field with BibLaTeX, special numbers are defined for ...
0
votes
0answers
58 views

Removing (n.d) in natbib/overleaf?

I'm currently using overleaf in conjunction with the natbib package to write a report. Using the natbib agsm package creates (n.d) entries where there I don't want there to be anything at all, like ...
2
votes
2answers
95 views

How to override \today in a letter?

Im trying to write a letter with the next code \documentclass{letter} \signature{Your name} \address{Street \\ City \\ Country} \begin{document} \begin{letter}{Company name \\ Street\\ City\\ Country} ...
0
votes
0answers
26 views

Changing date format in reference list with apacite

I wonder about changing the date format in my reference list using apacite. We did it as below in the preamble, but even in a case where only the year is present (not day or month), Overleaf prints ...
0
votes
1answer
62 views

Beamer \date broken

I am creating a presentation with Beamer and I just noticed that the date on the title page is broken. Wherever I write \date, the result is: It doesn't matter whether I compile it with Latex, ...
0
votes
1answer
30 views

apacite doesn't show date but only n.d

The apacite packet only shows n.d. instead of the date Document \documentclass[a4paper, 10pt]{article} \usepackage{apacite} \begin{document} \cite{IntroductionFPGAAcceleration2020} \...
1
vote
1answer
28 views

Journal with dated entries instead of chapters?

I'd like to use LaTeX to write a journal. It would be in most respects like a regular book, but with dated instead of numbered chapters. For example, instead of: Chapter 1 - Project Setup Chapter 2 - ...
2
votes
0answers
66 views

Why does LuaLaTeX not accept this date format in the PDF file? [closed]

Here's a complete MWE to modify a PDF file and include it in lualatex, which fails: wget https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf -O dummy.pdf grep -a Date dummy.pdf sed ...
0
votes
0answers
45 views

How to print the current season automatically?

I know we can print the current year by \the\year. How about the reasons? I live in north hemisphere, so the definition of the four seasons at here: https://en.wikipedia.org/wiki/Season#Meteorological ...
2
votes
0answers
41 views

How to fix rendering of \date{\today} for devanagari articles using polyglossia?

Consider a basic article using polyglossia and Devanagari fonts with sanskrit as the default language: \documentclass[a6paper]{article} \usepackage{geometry} \geometry{ bottom=20mm, left=10mm, ...
0
votes
0answers
28 views

Apacite change date format in reference list

I´m writing a paper for my university using Latex and Texstudio. My problem is that my entries in the reference list don´t have the date in the right style. Here is a MWE: \documentclass[parsikip=full,...
0
votes
1answer
73 views

Change order of Author / Title /Date in a book

This is probably very basic question. I need to create a book with FrontPage: Author/Title/Publisher-Date.Like this: All is centered in title page, and in text page Title is left and text is ...
2
votes
1answer
46 views

Problem with a test in if statement

I'm having trouble with the implementation of a if statement. I want to know if today and five days from now happen in the same month. I get the correct values of the corresponding month to print but ...
2
votes
1answer
89 views

Localization for \date command

How can I apply localization for the \date command? For now it seems to just display an arbitrary string. \documentclass{article} \author{me} \date{bla bla bla} \begin{document} \maketitle \end{...
1
vote
1answer
27 views

short dates with biblatex-iso690

I'm trying to use the iso-alphabetic biblatex style from the package biblatex-iso690. The style contains this code (see here https://github.com/michal-h21/biblatex-iso690/blob/...
1
vote
1answer
97 views

Adding a macro to the -jobname section of the PDFLaTeX compiler (i.e., how to add dates to the PDF filename)

I would like to add a macro, and/or a user-defined command, to the "jobname" section of my compilation command. My ultimate goal is to add the current date (e.g., YYYY_MM_DD) to the PDF ...
1
vote
1answer
229 views

Print a date in LaTeX

I am looking for a LaTeX command or macro that will allow me to specify a date in a standard format which will then be formatted according to a globally set print format. For example, I would ...
0
votes
1answer
106 views

How/where can I insert \date{\today} in my amsbook driver file?

I do understand that the amsbook style does not support including a \date. However, I really need this to keep track of progressive versions of my monograph ms. I see that the amsbook chapter-template....
0
votes
0answers
59 views

Numbers reversed in Arabic bibliography entries with biblatex and babel

I am writing an article in Arabic. I want to include a bilingual bibliography. So far, I have managed to custom my bibliography entries so the field names in Arabic display the corresponding ones in ...
1
vote
1answer
251 views

scrlttr2: How to move date to upper left corner?

I simply want to move the date of a letter to the upper left corner of the page. Minimum Working Example (MWE): \documentclass[english]{scrlttr2} \usepackage{babel} \newkomavar{fromplace} \...
1
vote
1answer
38 views

Change month names in polyglossia

Based on this answer, the following MWE used to work: \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{nynorsk} \renewcommand\datenynorsk{% \def\today{\number\day.~\ifcase\...
1
vote
0answers
25 views

Compare dates - display month/year only once [duplicate]

I want to compare dates and not display the same information twice. i.e. if I have been somewhere from 5/2/19 - 14/2/19 I want to display: "From 5th - 14th February 2019" rather than the long version, ...
0
votes
0answers
73 views

Make documents where the date printed on the document is automatically the date of creation of document

Is there a way to create latex documents where the date printed on the documents is always by default the date of creation of the document? I don't want to compile the same latex file 30 days later ...
3
votes
1answer
75 views

Formatted date via directlua

I would like to get today's date formatted using \directlua. The % signs seem to be a problem. And I don't know how to get it to work. Both attempts in the following example throw errors: \...
0
votes
0answers
35 views

why the year generated by newcommand doesn't work as number in latex

I have create the following code in latex and when I am using \Year in the formatdate function it complain and I don't understand why \documentclass{article} \usepackage{ifthen} \usepackage{datetime,...
1
vote
0answers
77 views

Why is babel not loaded with ngerman option when combined with the igo package?

I am using the igo package for developing a little book about problems in the GO game. The strange thing is, that the igo.sty file prevents the correct display of the date or the contents name. ...
1
vote
1answer
101 views

\today as argument in hypersetup leads to an error

Consider this MWE \documentclass{article} \usepackage{hyperxmp,hyperref} \hypersetup{pdfdate={\today}} \begin{document} Hello World! \end{document} I get as error message: ! Argument of \hyxmp@pdf@...
3
votes
1answer
210 views

dd.mm.yyyy date formatting in BibLaTeX

So this might be a bit specific of a question, but I need BibLaTeX to output dates in the long DMY format - dd.mm.yyyy that is. BibLaTeX documentation states that one can achieve dd/mm/yyyy by using ...
1
vote
1answer
111 views

Change date format to day/month/year

IN last topic: date calculation: add n days i want to change \DueDate{2019/10/26}{15} to new format: \DueDate{26/10/2019}{15} Thank in advance Code: \documentclass[10pt]{article} \usepackage[calc,...
1
vote
1answer
102 views

Change date format in biblatex

This question is the third in the series of questions on how to tweak the defaults of biblatex to comply with traditional Norwegian (Move editor name in biblatex bibliography, Treat author of "...
11
votes
2answers
850 views

Is there a package that allows to write correctly times in hours, minutes and seconds in mathematical mode?

I'm looking for a package, or even a macro that allows me to simply write duration calculations for young students. Like for example this (Lebossé-Hemery 1957 classe de sixième): I prefer this ...
2
votes
1answer
34 views

Why does the `date=terse` option to biblatex cause an extra space after the year in bibliography entries?

Compiling my MWE with the date=terse option to biblatex causes an extra space between the last digit in the year and the closing parenthesis. Commenting this option removes the extra space. How do I ...
1
vote
1answer
98 views

biblatex: german short date format (with periods) – remove unwanted additional space after periods

There is a small space after every period in the German short date (as well as urldate and every other date) of biblatex: \documentclass{article} \usepackage{filecontents} \begin{filecontents}{...
0
votes
0answers
30 views

Fillable line above the date

I'm trying to create a fillable line in a document. I only have this so far: \documentclass[a4paper,10pt]{} \begin{document} \begin{Form} \begin{tabbing} xxxx: \= \kill Lima, \> \TextField[name=...
6
votes
2answers
603 views

Next Wednesday's date

Each week I prepare notes in TeX for a Wednesday class. Mostly I prepare the notes a couple of days before. Often the notes are copied and modified from previous notes. I add the date to the notes ...
2
votes
1answer
151 views

Timestamps on video references in biblatex/biber

Is there an easy way to get biblatex/biber to output the date field to include the time? I'm using @video (and @photo) which, as far as I can tell, lack drivers by default and so fall back to ...
4
votes
1answer
224 views

How to print tomorrow's date in ConTeXt?

I often have to display the date in ConTeXt, but not for today, as displayed with \date, but for the next day. How to print tomorrow's date instead? E.g. August 7, 2019
1
vote
1answer
221 views

BibTeX and biber quarterly journals

I need to add a quarterly journal to my references. In these cases issues cover three months such as "January-March". I am aware of the question Bibtex: two months with dates, however it seems that ...
1
vote
1answer
54 views

Using a variable for BIBER DATE value produces blank date in output

I'm using MikTex with biber \usepackage[backend=biber,natbib=true,style=numeric,sorting=none]{biblatex} and I want to use a variable for the date value, but it does not provide any output. I set up ...
1
vote
1answer
1k views

How to change date to different language in a letter [duplicate]

I am using the following template in order to create a letter \documentclass[version=last]{scrlttr2} \usepackage[ngerman]{babel} \begin{document} \begin{letter}{ Petra Mustermann\\ Vor dem Berg ...