* Spacing between title and subtitle?
@ 2021-11-14 6:55 kcho17-KQhtac8ZjM8
[not found] ` <7fddc4ee-bab4-421a-977b-bc10e904bd6cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: kcho17-KQhtac8ZjM8 @ 2021-11-14 6:55 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 601 bytes --]
Dear all,
I am exporting my c.v. to PDF, but is there any way to make a space between
title and subtitle?
Here is my code looks like:
[image: Screenshot 2021-11-14 005452.png]
Thanks!
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/7fddc4ee-bab4-421a-977b-bc10e904bd6cn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1099 bytes --]
[-- Attachment #2: Screenshot 2021-11-14 005452.png --]
[-- Type: image/png, Size: 16602 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Spacing between title and subtitle?
[not found] ` <7fddc4ee-bab4-421a-977b-bc10e904bd6cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-11-14 18:53 ` gnpan
[not found] ` <0f970a93-5864-42b1-93d9-d4256bf537e2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: gnpan @ 2021-11-14 18:53 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 897 bytes --]
title: |
| Jon Doe
| \vspace{2em}
subtitle: etc
or
title: |
| Jon Doe
|
|
subtitle: etc
or
title: Jon Doe
subtitle: |
|
| Department of XXX
| University of XXX
On Sunday, 14 November 2021 at 08:55:37 UTC+2 kcho17-KQhtac8ZjM8@public.gmane.org wrote:
> Dear all,
>
> I am exporting my c.v. to PDF, but is there any way to make a space
> between title and subtitle?
>
> Here is my code looks like:
>
> [image: Screenshot 2021-11-14 005452.png]
>
> Thanks!
>
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0f970a93-5864-42b1-93d9-d4256bf537e2n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1954 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* AW: Spacing between title and subtitle?
[not found] ` <0f970a93-5864-42b1-93d9-d4256bf537e2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-11-15 8:32 ` denis.maier-NSENcxR/0n0
[not found] ` <c05e60a0a6fa4a15a6227318ebbbc40f-NSENcxR/0n0@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: denis.maier-NSENcxR/0n0 @ 2021-11-15 8:32 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 3213 bytes --]
Or, of course, you might want to look into custom templates for that. The default template defines the title as follows :
$if(title)$
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
$endif$
$if(subtitle)$
$if(beamer)$
$else$
\usepackage{etoolbox}
\makeatletter
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
\apptocmd{\@title}{\par {\large #1 \par}}{}{}
}
\makeatother
$endif$
\subtitle{$subtitle$}
$endif$
\author{$for(author)$$author$$sep$ \and $endfor$}
\date{$date$}
$if(beamer)$
$if(institute)$
\institute{$for(institute)$$institute$$sep$ \and $endfor$}
$endif$
$if(titlegraphic)$
\titlegraphic{\includegraphics{$titlegraphic$}}
$endif$
$if(logo)$
\logo{\includegraphics{$logo$}}
$endif$
$endif$
The relevant part is
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
\apptocmd{\@title}{\par {\large #1 \par}}{}{}
}
Changing it to
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
\apptocmd{\@title}{\bigskip {\large #1 \par}}{}{}
}
should give you more space between the title and the subtitle.
I haven’t tested it, but you can try this :
header-includes: |
\renewcommand{\subtitle}[1]{% add subtitle to \maketitle
\apptocmd{\@title}{\bigskip {\large #1 \par}}{}{}
}
Denis
Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von gnpan
Gesendet: Sonntag, 14. November 2021 19:54
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: Re: Spacing between title and subtitle?
title: |
| Jon Doe
| \vspace{2em}
subtitle: etc
or
title: |
| Jon Doe
|
|
subtitle: etc
or
title: Jon Doe
subtitle: |
|
| Department of XXX
| University of XXX
On Sunday, 14 November 2021 at 08:55:37 UTC+2 kcho17-KQhtac8ZjM8@public.gmane.org<mailto:kcho17@uic.edu> wrote:
Dear all,
I am exporting my c.v. to PDF, but is there any way to make a space between title and subtitle?
Here is my code looks like:
[https://groups.google.com/group/pandoc-discuss/attach/23539210732ab/Screenshot%202021-11-14%20005452.png?part=0.1&view=1]
Thanks!
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0f970a93-5864-42b1-93d9-d4256bf537e2n%40googlegroups.com<https://groups.google.com/d/msgid/pandoc-discuss/0f970a93-5864-42b1-93d9-d4256bf537e2n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c05e60a0a6fa4a15a6227318ebbbc40f%40unibe.ch.
[-- Attachment #2: Type: text/html, Size: 13034 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Spacing between title and subtitle?
[not found] ` <c05e60a0a6fa4a15a6227318ebbbc40f-NSENcxR/0n0@public.gmane.org>
@ 2021-11-15 13:49 ` Kyoungmin Cho
0 siblings, 0 replies; 4+ messages in thread
From: Kyoungmin Cho @ 2021-11-15 13:49 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 5536 bytes --]
Thanks very much for your responses. Everything you suggested works great!
Best,
Kay
On Mon, Nov 15, 2021 at 2:35 AM <denis.maier-NSENcxR/0n0@public.gmane.org> wrote:
> Or, of course, you might want to look into custom templates for that. The
> default template defines the title as follows :
>
>
>
> $if(title)$
>
> \title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
>
> $endif$
>
> $if(subtitle)$
>
> $if(beamer)$
>
> $else$
>
> \usepackage{etoolbox}
>
> \makeatletter
>
> \providecommand{\subtitle}[1]{% add subtitle to \maketitle
>
> \apptocmd{\@title}{\par {\large #1 \par}}{}{}
>
> }
>
> \makeatother
>
> $endif$
>
> \subtitle{$subtitle$}
>
> $endif$
>
> \author{$for(author)$$author$$sep$ \and $endfor$}
>
> \date{$date$}
>
> $if(beamer)$
>
> $if(institute)$
>
> \institute{$for(institute)$$institute$$sep$ \and $endfor$}
>
> $endif$
>
> $if(titlegraphic)$
>
> \titlegraphic{\includegraphics{$titlegraphic$}}
>
> $endif$
>
> $if(logo)$
>
> \logo{\includegraphics{$logo$}}
>
> $endif$
>
> $endif$
>
>
>
> The relevant part is
>
> \providecommand{\subtitle}[1]{% add subtitle to \maketitle
>
> \apptocmd{\@title}{\par {\large #1 \par}}{}{}
>
> }
>
>
>
> Changing it to
>
> \providecommand{\subtitle}[1]{% add subtitle to \maketitle
>
> \apptocmd{\@title}{\bigskip {\large #1 \par}}{}{}
>
> }
>
>
>
> should give you more space between the title and the subtitle.
>
>
>
> I haven’t tested it, but you can try this :
>
> header-includes: |
>
> \renewcommand{\subtitle}[1]{% add subtitle to \maketitle
>
> \apptocmd{\@title}{\bigskip {\large #1 \par}}{}{}
>
> }
>
>
>
> Denis
>
>
>
> *Von:* pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im
> Auftrag von *gnpan
> *Gesendet:* Sonntag, 14. November 2021 19:54
> *An:* pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> *Betreff:* Re: Spacing between title and subtitle?
>
>
>
> title: |
>
> | Jon Doe
>
> | \vspace{2em}
>
> subtitle: etc
>
>
>
> or
>
>
>
> title: |
>
> | Jon Doe
>
> |
>
> |
>
> subtitle: etc
>
>
>
> or
>
>
>
> title: Jon Doe
>
> subtitle: |
>
> |
>
> | Department of XXX
>
> | University of XXX
>
>
>
> On Sunday, 14 November 2021 at 08:55:37 UTC+2 kcho17-KQhtac8ZjM8@public.gmane.org wrote:
>
> Dear all,
>
>
>
> I am exporting my c.v. to PDF, but is there any way to make a space
> between title and subtitle?
>
>
>
> Here is my code looks like:
>
>
>
>
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/0f970a93-5864-42b1-93d9-d4256bf537e2n%40googlegroups.com
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fpandoc-discuss%2F0f970a93-5864-42b1-93d9-d4256bf537e2n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Ckcho17%40groute.uic.edu%7C5f3daac4cd714e17679a08d9a8128869%7Ce202cd477a564baa99e3e3b71a7c77dd%7C0%7C0%7C637725621556016827%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=virpy73hHlSC5vyPlcJETXj0%2B5dWJC48jqJM47xojfs%3D&reserved=0>
> .
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "pandoc-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/pandoc-discuss/ltU_2vwUzdw/unsubscribe
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Ftopic%2Fpandoc-discuss%2FltU_2vwUzdw%2Funsubscribe&data=04%7C01%7Ckcho17%40groute.uic.edu%7C5f3daac4cd714e17679a08d9a8128869%7Ce202cd477a564baa99e3e3b71a7c77dd%7C0%7C0%7C637725621556016827%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=0O%2F%2FhOeIzXvH5n7Hc8dwPhVNomf8UJuOLvbmytapxgI%3D&reserved=0>
> .
> To unsubscribe from this group and all its topics, send an email to
> pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/c05e60a0a6fa4a15a6227318ebbbc40f%40unibe.ch
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fpandoc-discuss%2Fc05e60a0a6fa4a15a6227318ebbbc40f%2540unibe.ch%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Ckcho17%40groute.uic.edu%7C5f3daac4cd714e17679a08d9a8128869%7Ce202cd477a564baa99e3e3b71a7c77dd%7C0%7C0%7C637725621556026783%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=V8oT2405OcLlnUiU8jd8nln1zYvqjDjmJkF1C2vmFag%3D&reserved=0>
> .
>
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAAXeR7%3D56LY%2Bcv_GhV1D3v-GHPmp0NQ_4ciOSvmekT4iNN58pg%40mail.gmail.com.
[-- Attachment #2: Type: text/html, Size: 12799 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-11-15 13:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-14 6:55 Spacing between title and subtitle? kcho17-KQhtac8ZjM8
[not found] ` <7fddc4ee-bab4-421a-977b-bc10e904bd6cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-11-14 18:53 ` gnpan
[not found] ` <0f970a93-5864-42b1-93d9-d4256bf537e2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-11-15 8:32 ` AW: " denis.maier-NSENcxR/0n0
[not found] ` <c05e60a0a6fa4a15a6227318ebbbc40f-NSENcxR/0n0@public.gmane.org>
2021-11-15 13:49 ` Kyoungmin Cho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).