tudace / tuda_latex_templates

LaTeX Templates for TU Darmstadt
LaTeX Project Public License v1.3c
214 stars 71 forks source link

License w/o TUPrints Info #446

Closed ChristophReich1996 closed 1 year ago

ChristophReich1996 commented 1 year ago

Hi, is there an option to use a license notice without printing the TUPrints info? I'm using the tudapub document (thesis={type=master}). I want to omit the "Bitte zitieren Sie dieses Dokument also: ..." while still printing the license notice. Thanks for the help :)

Screenshot 2023-10-25 at 16 42 20
TeXhackse commented 1 year ago

There is no option to add a license without TUprints. It might be an option to add that one together with #294 if that enhancement is either done by anyone else or approved to be done by myself.

But it's of course possible to use KOMA-Sripts \lowertitleback with an own text. You can therefore.

With a current TeX Live this could also reference the License text if you set that via the thesis options:

\lowertitleback{\UseName{g_ptxcd_license_info_tl}}

In case you want to have the same layout as the license usually has, you also might want to add an \urlstyle{same}

\lowertitleback{\urlstyle{same}\UseName{g_ptxcd_license_info_tl}}
ChristophReich1996 commented 1 year ago

Thanks for the support! Could you provide a minimal working example of your workaround because \lowertitleback seems not to work?

ChristophReich1996 commented 1 year ago

Solved by customizing the \tuprints command.

TeXhackse commented 1 year ago

Oh sorry, I thought i had answered here - seem like this was not posted due to bad connection on train … I add it now for reference. You dont have to redefine tuprints

TeXhackse commented 1 year ago

There you go - know that it's too sad but maybe it helps you or others to understand how I meant it to be used. I had also wanted to ask what you meant by “does not work” because that confused me.

\documentclass[
      class=scrbook,% edited to have a titleback
    thesis={
        % Für kleinere Abschlussarbeiten Siehe DEMO-TUDaThesis
        type=dr,
        dr=rernat
    },
]{tudapub}

\usepackage[ngerman]{babel}

\begin{document}
\title{TUDaPhD -- \LaTeX-Dissertationstemplate im CD der TU Darmstadt}
\subtitle{\LaTeX{} using TU Darmstadt's Corporate Design}
\author[M. Peischl]{Marei Peischl}%optionales Argument ist die Signatur,
\birthplace{Geburtsort}%Geburtsort, bei Dissertationen zwingend notwendig
\reviewer{Gutachter 1 \and Gutachter 2 \and noch einer \and falls das immernoch nicht reicht}%Gutachter
\institute{Institut}
\group{Arbeitsgruppe}

\submissiondate{\today}
\examdate{\today}

\tuprints{license=cc-by-4.0}% required to select the license
\lowertitleback{\UseName{g_ptxcd_license_info_tl}}% override the lowertitleback to not try to place tuprints data

\maketitle

\end{document}
ChristophReich1996 commented 1 year ago

Hi, thanks for the great support! When I compile the following code only the title page and the dedication page are printed and not the title back page. I'm using the TU ShareLaTex.

[@TeXhackse : code removed because it matched the example]

Screenshot 2023-10-28 at 00 34 16
TeXhackse commented 1 year ago

reduced it too much. You need twoside or class=book to get a titleback, otherwhise the page doesn't have a back.

I edited my example above and will edit your last post so we dont have it twice.