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
1 answer
13 views

How to generate different title in other page other than the title in the title page with no author and no date?

I am using overleaf. This is my code in main.tex file- \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amssymb,graphicx,hyperref,ulem,physics,enumitem,mathtools,titling} \...
2 votes
1 answer
35 views

Customizing Bibliography using biblatex

I'm struggling with understanding how to change the bibliography in biblatex. The style I'm using is "numeric-comp" which according to my MWE below gives me the following order: Name, G., “...
0 votes
0 answers
38 views

repeat.tex and \date: Not working with ngerman option

How to get the right date in a German document using the repeat.tex file? This can be found on ctan.org under repeat.tex. I always get the english version. \documentclass{scrartcl} \KOMAoptions{% ...
  • 707
0 votes
1 answer
56 views

Why is the German option ignored by igo.sty?

It is not a serious issue, but I would like to know why this happens. If I compile \documentclass[ngerman]{scrartcl} \usepackage[ngerman]{babel} \title{Title} \date{\today} \usepackage{igo} \begin{...
  • 707
0 votes
0 answers
25 views

Getting numerical value for day of the month [duplicate]

When I use \today it gives me July 11, 2022 I would like to get the numerical value of the day of the month instead. Kind of like this: \todaynum 11 How could I make a command that would return ...
0 votes
2 answers
24 views

Trouble positioning the date in a complex titlepage

I have got the following template online (with some searching) and basically my problem is how to set the date close to the lower part of the title page. The code I used to get the output above ...
  • 337
0 votes
1 answer
49 views

How to have (author, n.d.) using @misc in natbib

I would appreciate your assistance on how to make the in-text citation be (author, n.d.) instead of (author, nd) for references with no date. Strange thing is that n.d. is showing in my reference list ...
  • 3
1 vote
1 answer
58 views

How to calculate the number of days (and weeks) between a date and \today

Background: I've been trying to find a way to get LaTeX to automatically calculate the number of days and weeks (and even years for the sake of completeness) elapsed between a predefined date and \...
  • 819
0 votes
1 answer
43 views

Set specific dates

I have spent a fair couple of hours on this, including searching this forum, but I still haven't managed to solve my issue, therefore decided to ask a question here. I am trying to run the following ...
0 votes
1 answer
65 views

In what format the day need to be specified in date?

Is it \date{April 5, 2022} or \date{April 05, 2022} Is that leading 0 necessary for days?
6 votes
2 answers
223 views

How to Extract the Three First Letters of Current Month in French without Accented Characters?

Is there a way to extract the 3 first letters of the current month in French but WITHOUT acented characters AND with the first letter capitalized - e.g. Fev for Février (February in english) - AND ...
2 votes
1 answer
95 views

How to use two different date formats: yymmdd and dd/mm/yyyy?

I would like to be able to use, in the same document, these two date formats: dd/mm/yyyy (as default format) yymmdd (as "local" format) Why I want that? Because I would like to use the &...
0 votes
1 answer
74 views

Current day using \today for March give `Mars`

I'm using \today command to add current day to the document. For some reason it is printing MARS instead of MARCH. I'm using this template https://www.overleaf.com/latex/templates/awesome-source-cv/...
2 votes
1 answer
66 views

Get dates from ICS file

In (several) LaTeX documents I need to write about dates that I already have in Thunderbird so I can export them easily as ICS (iCalender) file. Copying them is very error prone, in particular if any ...
  • 305
6 votes
2 answers
248 views

Expand \today in custom format

I want to fill in an already printed form. The form has boxes to write down current date. How can I expand current date so that it look like 1 4 0 2 2 0 2 2 with a space between the digits
  • 6,287
5 votes
3 answers
167 views

Why can't this code successfully parse the date string?

As an attempt to practice with expl3, I am trying to parse numerical date string to French. There is a \mymodule_display_date_year_month_day:n which receives a string of form yyyy-mm-dd (or yyyy-mm or ...
  • 6,811
0 votes
1 answer
71 views

How to extract year from date in iso 8601 format?

I want to extract the year (or day or month) of a date which is stored as ISO 8601 in a database. My MWE looks like: \documentclass{article} \usepackage{xstring} \usepackage{datatool} \newcommand{\...
1 vote
1 answer
42 views

How to view the date in biblatex when using the bibliographystyle: IEEEtran?

I am using the IEEEtran bibliographystyle and have a lot of web ressources. On each web ressoruce I want the date with the time of last access wich Zotero stores me as date in my .bib file. Her is my ...
  • 13
0 votes
1 answer
59 views

Biblatex: Different entry types have different date formats (with and without brackets) in bibliography

I am using biblatex with IEEE and I am getting dates with and without brackets around them, depending on which entry type I'm using (such as @journal, @online, @misc, etc). I have tried searching ...
2 votes
1 answer
71 views

Without using packages, define function \lastMonth as Last month, The year for last month LaTeX

Using this format, how would I assign the month to be last month/year instead of current month/year? For example, if I run it tomorrow (01/01), \lastMonth =January, 2022, but I will need it to be \...
  • 123
3 votes
1 answer
321 views

How to format \today to the 'DD MMM YYYY' format?

Can anyone tell me how to format \today to 'DD MMM YYYY' format? Something that gives '10 Jun 2021' would be ideal but I can work with '10 JUN 2021'. I have looked in all the suggested answers but ...
2 votes
3 answers
207 views

How can I extract a date from a file named YYYYMMDD.tex and convert it to date string?

I have a .tex file which is named 20160201.tex, and within that file, I would like to extract the filename without .tex and convert it to the string February 01, 2016? I am able to get the string via ...
  • 31
1 vote
2 answers
60 views

Model as shown in the image

What code do I use to place this model as shown in the image? "April 2007" below the page. So it stays on every page of the document. \documentclass[a4paper,12pt]{article} \usepackage[utf8]{...
  • 121
0 votes
1 answer
57 views

biblatex-chicago: works with same author and no date all appear the same in text

I have the problem with a few websites I am citing for my thesis using biblatex-chicago. For example, I have several wikipedia pages I am citing, all which have no date and therefore appear with "...
0 votes
0 answers
29 views

Different authors, same name and same year of publication in natbib

In my thesis, I cite two different authors who have the same name, and their work were published the same year. This appears in my bibliography as follows: Levinson, Peter. 2016a. ... Levinson, Simon....
2 votes
2 answers
187 views

Date stamp for each page

This question led to a new package: datestamp I am making a workbook, and I want it to show the last a certain page was modified. How can I make a date stamp at the bottom of each page (f.x. "...
2 votes
1 answer
47 views

I want to create a command like "\mês" which returns the atual month in portuguese, like "Agosto"

I want to create a command like "\mês" which returns the atual month in portuguese, like "Agosto". I'm usually using the command \the\year to show the year, and the \date returns ...
3 votes
1 answer
79 views

Store \today value with \DTMsavedate

Goal With datetime2 package I try to save the “\today” date with \DTMdatesave command, but it successively fail. My tries 1. The dumb method I began with the most evident way. Putting directly \today ...
  • 2,145
0 votes
0 answers
41 views

How to get the dates of each Sunday in a month

Is there a way to cleanly calculate the dates of every Sunday in the current month? IE for this month (August 2021) it would return 1, 8, 15, 22, and 29?
0 votes
1 answer
54 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*{...
1 vote
0 answers
45 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}%[...
2 votes
1 answer
118 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
2 answers
307 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
1 answer
47 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
1 answer
84 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 ...
  • 55
1 vote
1 answer
258 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 ...
  • 311
0 votes
1 answer
36 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
2 answers
159 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 ...
1 vote
1 answer
82 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 ...
  • 73
3 votes
2 answers
168 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} ...
  • 1,077
0 votes
1 answer
102 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, ...
  • 21
0 votes
1 answer
210 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} \...
  • 23
1 vote
1 answer
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 - ...
  • 789
2 votes
0 answers
120 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 ...
  • 5,172
0 votes
0 answers
81 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 ...
  • 927
2 votes
0 answers
59 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
1 answer
177 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 ...
  • 102
2 votes
1 answer
60 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
1 answer
174 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
1 answer
44 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/...