I think I (finally) worked it out.
In the document preamble, I now have:
\usepackage[australian]{babel}
\usepackage[dayofweek]{datetime}
\newdate{mydate}{26}{04}{2013}
In the actual document I use this:
This is one format of the date \ddmmyydate\displaydate{mydate} and this is another format ...
Search found 5 matches
- Wed Jul 17, 2013 3:39 am
- Forum: LyX
- Topic: Use a date in various formats
- Replies: 1
- Views: 38243
- Mon Jul 15, 2013 9:13 am
- Forum: LyX
- Topic: Use a date in various formats
- Replies: 1
- Views: 38243
Use a date in various formats
Dear all,
Sorry to trouble you again, but I am stuck with the following. In my documentation I frequently use a particular date, which is not "today's date". I may want to refer to this date in various formats. For example, in a table I would like it to show as "26/04/13" - a nice short format to ...
Sorry to trouble you again, but I am stuck with the following. In my documentation I frequently use a particular date, which is not "today's date". I may want to refer to this date in various formats. For example, in a table I would like it to show as "26/04/13" - a nice short format to ...
- Mon Jul 15, 2013 12:07 am
- Forum: LyX
- Topic: User variables
- Replies: 4
- Views: 8826
User variables
\documentclass{article}
% provides the \xspace macro that in most cases correctly adds a
% space after the macro when there should be one:
\usepackage{xspace}
% make @ a letter so we can use it in macro names:
\makeatletter
% define the custom command:
\newcommand*{\customer}{ACME Ltd\@ifnextchar ...
% provides the \xspace macro that in most cases correctly adds a
% space after the macro when there should be one:
\usepackage{xspace}
% make @ a letter so we can use it in macro names:
\makeatletter
% define the custom command:
\newcommand*{\customer}{ACME Ltd\@ifnextchar ...
- Sat Jul 13, 2013 2:42 pm
- Forum: LyX
- Topic: User variables
- Replies: 4
- Views: 8826
User variables
\newcommand*{\customer}{ACME Ltd.}
and use in your document \customer as TeX code.
Stefan
Hi Stefan,
Thank you for your response. I have added your code to the document preamble and wrote some text:
\customer written at the beginning, \customer , the middle and the end of a line \customer ...
and use in your document \customer as TeX code.
Stefan
Hi Stefan,
Thank you for your response. I have added your code to the document preamble and wrote some text:
\customer written at the beginning, \customer , the middle and the end of a line \customer ...
- Fri Jul 12, 2013 3:21 am
- Forum: LyX
- Topic: User variables
- Replies: 4
- Views: 8826
User variables
Hi,
I am utterly new to LyX, coming from an MS-Word environment. I am looking to use variable in a document, but am not sure how to best do this.
I write a lot of documents in which the name of a particular client is often used. For example:
"We like to thank ACME Ltd. to provide us with the ...
I am utterly new to LyX, coming from an MS-Word environment. I am looking to use variable in a document, but am not sure how to best do this.
I write a lot of documents in which the name of a particular client is often used. For example:
"We like to thank ACME Ltd. to provide us with the ...