Questions tagged [date]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
43 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
31 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
24 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
28 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
23 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\...
0
votes
0answers
23 views

Date into filename compiled by Winedt

I would like to compile my pdf's with WinEdt, such that it shows the date and actual time, something like: "Article_12_March_14_32.pdf", where 14:32 is the time. Or at least, just the date. I am not ...
1
vote
0answers
22 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
50 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
54 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
25 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
1answer
30 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@...
2
votes
1answer
50 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
35 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
49 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
648 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
28 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 ...
0
votes
1answer
32 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
29 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=...
5
votes
2answers
416 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
89 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
133 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
140 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
40 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 ...
0
votes
1answer
333 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 ...
0
votes
1answer
28 views

putting the date below the name

\documentclass[a4paper,10pt,demo]{article} % \usepackage[en-US]{datetime2} % <======================================= \DTMlangsetup[en-US]{ord=raise} \usepackage{etoolbox} % <=========...
1
vote
1answer
82 views

Generate schedule planner between two given dates

I am trying to generate a table with the following format: I am looking for a way to generate the dates given the initial week (In this case Jun 3 - 7) I tried using the package datenumber but I am ...
0
votes
1answer
30 views

Turn showdow off for one date in document

MRE: % Preamble \documentclass[11pt]{article} % Packages \usepackage[showdow,en-GB]{datetime2} % Document \begin{document} % Turn off showdow \DTMlangsetup{ord=raise,showyear=true,showdow=...
2
votes
1answer
82 views

biblatex: automatically abbreviate year ranges

For consistency's sake I need to abbreviate all number-ranges in my document. While biblatex can easily be made to abbreviate page ranges the equivalent command for the year ranges breaks compilation ...
1
vote
0answers
108 views

Can a PDF show today's date, which changes when the file is opened, built in ConTeXt?

I have to share presentation slides with a co-worker. They are created daily in ConTeXt. Throughout the slides, I have placed \date, which is an important part of the slides, but that is the date ...
1
vote
3answers
256 views

How to transform dynamic data into static data

Maybe I asked this somewhere sometime ago. Is there a way to change dynamic data into static data? I have defined the macro \def\date{\the\day.\the\month.\the\year} With every run of TeX the ...
1
vote
1answer
104 views

Change biblatex short date format

I'm writing my document in British English, but live in the Netherlands. In the Netherlands, the short date format is dd-mm-yyyy, as opposed to the British dd/mm/yyyy. How can I get biblatex to use ...
7
votes
1answer
556 views

Is the month field really deprecated?

Jabref 3.8.2 has a tab with Deprecated fields including the field Month. The Biblatex documentation 3.12 still describes the field month and I could not find a sign of deprecation: Was it wrong by ...
2
votes
1answer
32 views

Page numbering affected by recursive programming

I asked this question How to do recursive program with latex and got the following excellent answer by @JosephWright \documentclass{article} \usepackage{advdate} % Set the first practice date \...
2
votes
1answer
33 views

Convert dayofweek to number

Texmaker, how i can change dayofweek of filecontent to diplay number: Monday = 2, Tuesday = 3...Saturday = 7, Sunday = 1 My code \documentclass{article} \usepackage{filecontents} \begin{...
1
vote
1answer
285 views

How can I automatically add the date to the output PDF file name?

Currently when I generate a PDF file of my document, it produces the name document1.pdf I'd like to set it so that it adds the current date (or the date produced by \date{\today}), such as ...
1
vote
0answers
48 views

British English date in elsearticle in OUP style, without “th”

Upon running pdflatex on the input \documentclass{elsarticle}%%% Version 3.1. Actually I use the options [nonatbib,twoside,preprint] or [nonatbib,twoside,review], but it's irrelevant, I hope. \...
0
votes
2answers
142 views

Day of year for date format Month/Day/Year

I want to know "day of year" for a calendar. Here's an example: Date format : Month/Day/Year = Day of year 3/19/2019 = 78 3/19/2020 = 79 How can I find/display the Day of the year?
1
vote
3answers
155 views

Changing the date

\documentclass[a4paper,10pt,demo ]{article} % \usepackage{pifont} %bouni %-----accent \usepackage[latin1]{inputenc} %écrire directement les accents et il peut poser des problème \...
1
vote
1answer
62 views

Convert \pdfcreationdate to pdfa-1b pdfinfo

I am using usual method to prepare pdfinfo with date conversion: \def\convertDate{% \getYear } {\catcode`\D=12 \gdef\getYear D:#1#2#3#4{\edef\xYear{#1#2#3#4}\getMonth} } \def\getMonth#1#2{\edef\...
2
votes
1answer
369 views

How to do recursive program with latex

I am trying to make a schedule for two groups of people who will watch the same experimental lectures at the same laboratory in different dates. I need to skip the holidays. I intend to get something ...
0
votes
1answer
61 views

how to get the monday of a years first week?

I would like to get the date of the monday of the first week of a year from only the year The purpose is a week planner where I put one week on each page and as most of the years first weeks monday is ...
3
votes
1answer
198 views

How to to add “th” or “rd” to the date

Hi this is the preamble I have used \documentclass[prd,aps,superscriptaddress,twocolumn,10pt]{revtex4-1} \usepackage{times} \usepackage[a4paper, left=1.85cm, right=1.85cm,...
2
votes
1answer
941 views

Setting the position of date on title page

I am new using LaTeX and am therefore copy pasting a lot of packages and template into my LaTex. I am having an issue with the year on my title page. I need it to be below the department and not at ...
3
votes
3answers
214 views

How to compare a date with a set of dates

I am creating a schedule for weekly lectures using the following code \documentclass{article} \usepackage{advdate} %... Set the first lecture date \ThisYear{2019} \ThisMonth{3} \ThisDay{1} \newif\...
1
vote
1answer
175 views

Set date counter using advdate package

I searched on mathematical operations, and found several interesing results, such as sequence, calculations, and future, among many others. I am interested in an answer similar to this one, but ...
2
votes
1answer
2k views

How to add birthdate in moderncv [duplicate]

I'm using moderncv and I'm having an issue adding birthdate This is the code I'm using \documentclass[10pt,a4paper,sans]{moderncv} \moderncvstyle[right]{classic} \moderncvcolor{burgundy} \usepackage[...
1
vote
1answer
87 views

Display an index of dates

I write a document which tells a story long of a few months, and I would like to display an index of the main dates at the end. For example, I would like to type something like (french format): On ...
0
votes
0answers
127 views

Date is not displayed correctly in my beamer [duplicate]

The date is not displayed correctly in the inferior part of my slides. \documentclass{beamer} \mode<presentation> { \usetheme{Madrid} % or try default, Darmstadt, Warsaw, ... \...
1
vote
1answer
123 views

When the number of slides of my beamer is more than 10, the date is not displayed correctly in the inferior right corner

When the number of slides of my beamer is more than 10, the date is not displayed correctly in the inferior right corner of my slides. \documentclass{beamer} \mode<presentation> { \usetheme{...
10
votes
1answer
135 views

Incomprehensible error with babel and isodate

The error in question is: ! Undefined control sequence. \ifthenelse #1#2#3->\let \bbl@temp@pref \pageref \let \pageref \org@pageref ... l.19 \date{\today} ...