Questions tagged [date]
For questions related to dates in various sections of a document, bibliography, or related.
190
questions
0
votes
1
answer
20
views
date beamer metropolis using rmarkdown
I am trying to make a beamer presentation with the Metropolis theme. I adapted the colors like this:
output:
beamer_presentation:
latex_engine: xelatex
theme: &...
0
votes
0
answers
17
views
Dates doesnt show up in the bibliography (Using zotero and IEEE)
As the title says, the dates don't show up in the bibliography. Currently referencing in IEEE style and using Zotero as a reference library. When checking the references.bib the dates are all there. ...
0
votes
0
answers
37
views
Having slight problem with plotting with date in pgfplots
I am really trying to plot data with date in it. I keep getting an error when I try to compile
scrbook: \float@addtolists detected!(scrbook) Implementation of \float@addtolist became(scrbook) ...
1
vote
1
answer
37
views
Define a `\DTMifdate` conditional using the `datetime2` package and `\today`
I got a question regarding the usage of the datetime2 package. I want to set some due date and to define a certain date such as \paperdate which is either \today when it's before the due date or the ...
0
votes
0
answers
16
views
How to customize display of date and time of compiling
How do I customize date and time display for the compile date and time? I see the datetime2 package gives many predefined options, but what if I want to do something unique? The datetime2 mentions the ...
3
votes
1
answer
153
views
BibLaTeX entry year or date with text in it? The need to avoid a warning
Is there a way to use the bibentry for year or date with for example date = {Around 171} or year = {Around 171} if the year and date of the work is historically not exactly known and to be precise ...
1
vote
1
answer
62
views
Redefine the abbreviated months with datetime2 package
I was wondering if there is a way to redefine the abbreviated months with datetime2 package, such that, when using the command \today, months are written exactly like the first column of the image ...
1
vote
1
answer
51
views
Change the citation's "accessed on" date format
I would like to change the date format that appears in the citation's "urldate". Right now it's at yyyy-mm-dd and I would like to change it to dd/mm/yyyy, I've tried with
\usepackage[...
1
vote
1
answer
69
views
The Location of the Date in Letter Class
MWE:
\documentclass[12pt]{letter}
\usepackage[english]{babel}
\usepackage{lipsum}
\begin{document}
\begin{letter}
{Name \\
Address \\
Location }
%\date{February 15, 2023}
\opening{Dear ---,} ...
2
votes
1
answer
40
views
How to add parenthesis around the question mark after the date which is uncertain in biblatex?
First a MWS and its output are as follows.
\documentclass[american]{article}
\usepackage[style=authoryear,dateuncertain=true]{biblatex}
\addbibresource{\jobname.bib}
\begin{filecontents*}[overwrite]{\...
1
vote
2
answers
56
views
How to add a question mark after date when the date is uncertain in biblatex?
First a MWS and its output are as follows.
\documentclass[american]{article}
\usepackage[style=authoryear]{biblatex}
\addbibresource{\jobname.bib}
\begin{filecontents*}[overwrite]{\jobname.bib}
@book{...
0
votes
1
answer
64
views
Can I use "australian" option only for \mkbibdatelong but use "british" for everything else?
I have two code examples here.
Option british for babel
\documentclass{article}
\usepackage[british]{babel}
\usepackage[style=authoryear,date=year,urldate=long,dateabbrev=false]{biblatex}
\...
0
votes
1
answer
39
views
Format "visited on" date in "dd Month yyyy" format (example: "1 October 2006") in references list
My code:
\documentclass{article}
\usepackage[british]{babel}
\usepackage[style=authoryear,date=year,urldate=long,dateabbrev=false]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
...
2
votes
1
answer
64
views
Date removal on a LaTeX document [duplicate]
I started to write a paper on LaTeX format, but today's date is displayed after the title. I'm not sure why it is being displayed when none of the commands seem to be indicating it.
Code:
\...
0
votes
1
answer
38
views
How change the date format of url field of biblatex package?
I need to print, for instance, 15 October 2022 and not the 15th October 2022. I found a similar question old_solution where it is reported to use the australian language since it formats the dates ...
0
votes
0
answers
47
views
Why doesn't \date work?
\documentclass[notitlepage, 12pt]{amsart}
\usepackage{amsthm, amsmath, amsaddr, amssymb, graphicx, dsfont,}
\usepackage[dvipsnames]{xcolor}
\renewcommand{\baselinestretch}{1.2}
\usepackage{natbib}
\...
2
votes
1
answer
41
views
How to Suppress the Date Generated by Maketitle [duplicate]
Consider the code:
\documentclass[titlepage,10pt]{book}
\usepackage[showframe,margin=.3in,paperwidth=4in,paperheight=6in]{geometry}
\textheight=5.25in
\usepackage[frame,noinfo,center]{crop}
\...
1
vote
1
answer
42
views
Removing date while preserving month and year from \today?
I wish to format today's date as october 2022. Emphasis on the lowercase october. I know that \today gives me October 24, 2022. How can I extract just the month and the year? I tried using \the\month \...
1
vote
0
answers
22
views
How to remove space reserved for \author in documentclass article's \maketitle?
The space reserved for \date is removed when it is left empty. Compare the two examples below.
1.
\documentclass{article}
\begin{document}
\title{Test}
\author{Dave}
\date{Tomorrow}
\maketitle
This ...
0
votes
1
answer
35
views
isodate: \date inside \daterange
I am currently using the isodate package to perform locate-specific date formatting.
There are certain dates that I store in variables since I use them throughout the document. Unfortunately, these ...
4
votes
3
answers
165
views
How to insert the next month, like /today?
I'd like to create a command that would insert the next month (in relation to the current one), like so:
\command -> November
analogously to \today.
The command cannot be hardcoded, as the ...
0
votes
1
answer
22
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
59
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
47
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{%
...
0
votes
1
answer
58
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{...
0
votes
0
answers
26
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
35
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 ...
0
votes
1
answer
150
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 ...
1
vote
1
answer
113
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 \...
0
votes
1
answer
97
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
235
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
312
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
95
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
131
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 ...
6
votes
2
answers
264
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
5
votes
3
answers
219
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 ...
0
votes
1
answer
95
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
56
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 ...
0
votes
1
answer
84
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
84
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 \...
3
votes
1
answer
463
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
342
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 ...
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]{...
0
votes
1
answer
116
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
32
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
227
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
53
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 ...
4
votes
1
answer
130
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 ...
0
votes
0
answers
44
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?