Search found 11 matches

by LaTeX
Tue Sep 29, 2015 7:57 pm
Forum: Page Layout
Topic: Set the height of an expression
Replies: 6
Views: 5370

Set the height of an expression

Edit:

The function \settototalheight{}{} from the package "calc" works perfectly:


\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{calc}


\begin{document}

\newlength{\Height}
\settototalheight{\Height}{\hbox ...
by LaTeX
Tue Sep 29, 2015 7:12 pm
Forum: Page Layout
Topic: Set the height of an expression
Replies: 6
Views: 5370

Set the height of an expression

I just tried your solution (which looks really nice), but height is still not correct. I modified it such that the pictures are vertically centered and such that the two pictures including the text are horizontally centered. This is the minimal working example (with "example-image" it should also ...
by LaTeX
Tue Sep 29, 2015 4:19 pm
Forum: Page Layout
Topic: Set the height of an expression
Replies: 6
Views: 5370

Re: Set the height of an expression

Great, thanks!
by LaTeX
Tue Sep 29, 2015 3:30 pm
Forum: BibTeX, biblatex and biber
Topic: author's last name first
Replies: 4
Views: 14290

Re: author's last name first

Thanks!
by LaTeX
Mon Sep 28, 2015 8:34 pm
Forum: Page Layout
Topic: \addtolength{}{} and \Huge{\baselineskip}
Replies: 7
Views: 8671

Re: \addtolength{}{} and \Huge{\baselineskip}

Great, thanks for your answers!
by LaTeX
Mon Sep 28, 2015 12:14 pm
Forum: BibTeX, biblatex and biber
Topic: author's last name first
Replies: 4
Views: 14290

author's last name first

I have a related question: In my bibliography the first author get's referenced as Surname, Forename and all others as Forename Surname. Is there any reason for that and what is the common standard?

Edit:

Currently I use the packages

\usepackage[nottoc,numbib]{tocbibind}
\usepackage{babelbib ...
by LaTeX
Mon Sep 28, 2015 12:10 pm
Forum: Page Layout
Topic: \addtolength{}{} and \Huge{\baselineskip}
Replies: 7
Views: 8671

Re: \addtolength{}{} and \Huge{\baselineskip}

Thanks for the answer! It comes close, but it seems to me that the space above and below the text is not quite the same size than the space left and right of the text?
by LaTeX
Sun Sep 27, 2015 4:54 pm
Forum: Page Layout
Topic: \addtolength{}{} and \Huge{\baselineskip}
Replies: 7
Views: 8671

\addtolength{}{} and \Huge{\baselineskip}

Yes, I want to put a box around the title which is exactly a Huge baselineskip away from the text:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}

\begin{document}

\newlength{\Length}
\settowidth{\Length}{\Huge{Minimal working example}}
\addtolength{\Length}{2 ...
by LaTeX
Sun Sep 27, 2015 4:45 pm
Forum: Page Layout
Topic: Set the height of an expression
Replies: 6
Views: 5370

Set the height of an expression

Thanks already for your answer, a minimal working example of my current code is

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{graphicx}

\begin{document}

\newlength{\Height}
\settoheight{\Height}{$\overset{\text{Text over picture ...
by LaTeX
Sun Sep 27, 2015 11:26 am
Forum: Page Layout
Topic: \addtolength{}{} and \Huge{\baselineskip}
Replies: 7
Views: 8671

\addtolength{}{} and \Huge{\baselineskip}

Hello,

I tried to add the length of a Huge baselineskip to a previously defined length with the following code, but apparently I receive an error:

\newlength{\length}
\setlength{\length}{5cm}
\addtolength{\length}{\Huge{\baselineskip}}

Without the Huge, it works fine:

\newlength{\length ...