Re: Legal document formatting [UPDATE]

2016-10-27 Thread Rich Shepard

On Thu, 27 Oct 2016, John Kane wrote:


Try
\ohead{{Page} \thepage { of} \pageref{LastPage}}


John,

  Unfortunately, it makes no difference. Looks logical, though.

Thanks,

Rich


Re: Legal document formatting [UPDATE]

2016-10-27 Thread Dr Eberhard Lisse
That actually was not minimal because the PDF was missing, but, please
find enclosed.


\pageref{lastpage} is not the same as \pageref{LastPage} :)))-O


I have also taken the liberty of (re)moving the change to "Executive
Summary" into the preamble, clicked off the default date on the first
page (and removed the (empty) \date{} from the preamble and replaced
the ERT of the vertical space with LyX formatting :-)-O

Then, I suggest, strongly, you start looking at at Markus Kohms's
titlepage package


http://www.komascript.de/node/1213
http://www.komascript.de/node/1214

and

http://www.komascript.de/node/1219

of which I personally like Markus-2 most.

It's in German though :-)-O but Markus is very helpful :-)-O


el


On 2016-10-26 17:49, Rich Shepard wrote:
> On Wed, 26 Oct 2016, Dr Eberhard Lisse wrote:
> 
>> Post a minimal working example.
> 
> el,
> 
>   Attached.
> 
> Rich



expert-report-template.lyx
Description: application/lyx


Re: Legal document formatting [UPDATE]

2016-10-27 Thread John Kane
Replying to list.

Try
\ohead{{Page} \thepage { of} \pageref{LastPage}}

On 26 October 2016 at 11:49, Rich Shepard  wrote:

> On Wed, 26 Oct 2016, Dr Eberhard Lisse wrote:
>
> Post a minimal working example.
>>
>
> el,
>
>   Attached.
>
> Rich




-- 
John Kane
Kingston ON Canada


Re: Legal document formatting [UPDATE]

2016-10-26 Thread Rich Shepard

On Wed, 26 Oct 2016, Dr Eberhard Lisse wrote:


Post a minimal working example.


el,

  Attached.

Rich#LyX 2.2 created this file. For more info see http://www.lyx.org/
\lyxformat 508
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass scrartcl
\begin_preamble
\date{}
\usepackage{lastpage}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\clearscrheadfoot
\usepackage{textcomp,url}
\usepackage{pdfpages}
\usepackage[english]{babel}
\usepackage{blindtext}
\setkomafont{sectioning}{\rmfamily}
\AtBeginDocument{\renewcommand\abstractname{Executive Summary}}
\ohead{Page \thepage\ of \pageref{lastpage}}
\ihead{Case name: }
\end_preamble
\options abstracton
\use_default_options false
\begin_modules
natbibapa
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "palatino" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command bibtex
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine natbib
\cite_engine_type authoryear
\biblio_style humannat
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1.5in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 2
\tocdepth 2
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Titlehead
\begin_inset Graphics
filename /home/rshepard/documents/templates/letterhead.pdf
width 100text%
BoundingBox 120bp 120bp 550bp 260bp
clip

\end_inset


\end_layout

\begin_layout Title
Science Expert Report
\end_layout

\begin_layout Subtitle
Regarding
\begin_inset Newline newline
\end_inset

Title of the case
\begin_inset Newline newline
\end_inset


\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
vspace{2.5cm}
\end_layout

\end_inset

Retaining attorney
\begin_inset Newline newline
\end_inset


\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
vspace{2.5cm}
\end_layout

\end_inset

Project number: 
\end_layout

\begin_layout Publishers
Prepared by
\begin_inset Newline newline
\end_inset

Richard B.
 Shepard, PhD
\begin_inset Newline newline
\end_inset


\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
today
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
newpage
\end_layout

\begin_layout Plain Layout


\backslash
renewcommand
\backslash
abstractname{Executive Summary}
\end_layout

\end_inset


\end_layout

\begin_layout Abstract
The summary goes here.
\end_layout

\begin_layout Section
Scope of Engagement
\end_layout

\begin_layout Standard
I was engaged to provide scientific opinions about ...
\end_layout

\begin_layout Section
Qualifications
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
blindtext
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
blindtext
\end_layout

\end_inset


\end_layout

\begin_layout Section
Summary of Facts
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
blindtext
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
blindtext
\end_layout

\end_inset


\end_layout

\begin_layout Section
Data Used and Analyses Performed
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
blindtext
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
blindtext
\end_layout

\end_inset


\end_layout

\begin_layout Section
Executive Summary of Opinion
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
blindtext
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
blindtext
\end_layout

\end_inset



Re: Legal document formatting [UPDATE]

2016-10-26 Thread Dr Eberhard Lisse
Post a minimal working example.

el

On 2016-10-25 17:53, Rich Shepard wrote:
> On Tue, 25 Oct 2016, Rich Shepard wrote:
> 
>> No spaces surrounding 'of' and question marks rather than '3'.
> 
>   Solved that; didn't see the final backslash on \thepage\.
> 
>   Now to fix the total page issue.
> 
> Rich
> 




Re: Legal document formatting [UPDATE]

2016-10-25 Thread Rich Shepard

On Tue, 25 Oct 2016, Rich Shepard wrote:


No spaces surrounding 'of' and question marks rather than '3'.


  Solved that; didn't see the final backslash on \thepage\.

  Now to fix the total page issue.

Rich


Re: Legal document formatting [UPDATE]

2016-10-24 Thread Rich Shepard

On Mon, 24 Oct 2016, Rich Shepard wrote:


 When I try to preview the document (^x-p), an error box appears telling
me (twice) that cheader and cfooter are already defined in the document.
If so they are not visible or created by me.


  Got it. Forgot to remove the fancyhdr package included in the preamble.
Removed that and it works.

Rich