Search found 9 matches

by wjfeeney
Thu Aug 24, 2023 3:53 am
Forum: Text Formatting
Topic: how to reduce line spacing in header
Replies: 1
Views: 6112

how to reduce line spacing in header

I found a solution that works:

used \setstretch

line 15: \fancyhead[R]{\fontspec{<font>}\setstretch{.90}{\small <street>\\ <city>, <state> <zipcode>\\Telephone: <number>\\Mobile: <number>\\ <email address> }
by wjfeeney
Thu Aug 24, 2023 2:41 am
Forum: Text Formatting
Topic: how to reduce line spacing in header
Replies: 1
Views: 6112

how to reduce line spacing in header

MWE:

\usepackage[hmargin={1.2in,1.2in}, vmargin={1.0in, 1.2in}, includehead=false, includefoot=true, centering]{geometry}
\usepackage{setspace}
\setstretch{1.20}

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancypagestyle{firstpage}{
\setlength{\headheight}{70pt}
\addtolength{\topmargin}{21pt ...
by wjfeeney
Tue Aug 22, 2023 9:47 pm
Forum: Page Layout
Topic: how to create a different header for all pages after the first
Replies: 1
Views: 56900

how to create a different header for all pages after the first

I used {fancyhdr} to set up a header for the first page of my document called \fancypagestyle{firstpage}. I inserted \thispagestyle{firstpage} after \begin{document}. The first page header is rendered as designed. All subsequent pages have a different header.

I created another pagestyle for these ...
by wjfeeney
Fri Aug 18, 2023 12:26 am
Forum: Graphics, Figures & Tables
Topic: how to remove gap between text in wrapfigure environment
Replies: 4
Views: 8733

how to remove gap between text in wrapfigure environment

Thanks for the advice; it's been my experience. I've tried wrapfigure inside a minipage and a tcolorbox, but no difference. I am resigning myself to putting the figures at the beginning of paragraphs that mention the figure. Putting them at the end of paragraphs leaves them isolated below the ...
by wjfeeney
Thu Aug 17, 2023 7:43 am
Forum: Graphics, Figures & Tables
Topic: how to remove gap between text in wrapfigure environment
Replies: 4
Views: 8733

how to remove gap between text in wrapfigure environment

It's not the vertical gap above the figure, or the horizontal gap; it's the vertical gap between the lines of text I'd like to remove, so it looks like below. Note, there is no space between the lines of text, like in the above example.
by wjfeeney
Thu Aug 17, 2023 4:01 am
Forum: Graphics, Figures & Tables
Topic: how to remove gap between text in wrapfigure environment
Replies: 4
Views: 8733

how to remove gap between text in wrapfigure environment

In the image below, you can see a gap in the text which starts at the point where I begin the wrapfigure environmment. How do I remove that gap?

Preamble includes:
\usepackage{wrapfig}
\setlength\intextsep{10pt}

Body:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras risus nunc ...
by wjfeeney
Sun Aug 13, 2023 6:46 am
Forum: Text Formatting
Topic: datetime2 date style yyyymmdd
Replies: 4
Views: 11932

datetime2 date style yyyymmdd

This works, awesome! Thanks.
by wjfeeney
Sun Aug 06, 2023 11:48 pm
Forum: Text Formatting
Topic: datetime2 date style yyyymmdd
Replies: 4
Views: 11932

datetime2 date style yyyymmdd

I have reviewed the datetime2 documentation, but I am not finding the solution.

I tried this in my preamble:
\usepackage[USenglish]{datetime2}
\DTMnewdatestyle{mydate}{\THEYEAR\THEMONTH\THEDAY}
but this doesn't work.

What do I put after {mydate} to output the date without separators, e.g ...
by wjfeeney
Sun Aug 06, 2023 9:19 am
Forum: Text Formatting
Topic: datetime2 date style yyyymmdd
Replies: 4
Views: 11932

datetime2 date style yyyymmdd

Using the {datetime2} package, what is the code to use the date style yyyymmdd? Currently, I am using

Code: Select all

\DTMsetdatestyle{default}\today
which displays 2023-08-05. I would like to get rid of the hyphen separators so the date will display as 20230805.

Thanks in advance.