Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
add examples, fix arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Locke committed Aug 25, 2019
1 parent 4a60f80 commit 12a5626
Show file tree
Hide file tree
Showing 15 changed files with 1,233 additions and 9 deletions.
103 changes: 103 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@

# Created by https://www.gitignore.io/api/vim,lyx,linux,macos,windows,notepadpp
# Edit at https://www.gitignore.io/?templates=vim,lyx,linux,macos,windows,notepadpp

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### LyX ###
# Ignore LyX backup and autosave files
# http://www.lyx.org/
*.lyx~
*.lyx#

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### NotepadPP ###
# Notepad++ backups #
*.bak

### Vim ###
# Swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]

# Session
Session.vim
Sessionx.vim

# Temporary
.netrwhist
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# End of https://www.gitignore.io/api/vim,lyx,linux,macos,windows,notepadpp
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ I'm not the author, but as I couldn't find the origial source I thought it would

You must have the `tuddesign` (classes and fonts) set up, see the above link.

Copy the layouts files from the `layouts` folder into your LyX `layouts` folder (e.g. in your [user directory](http://wiki.lyx.org/LyX/UserDir)), then reconfigure LyX (Tools -> Reconfigure) and restart it. You should now be able to select the Document Class under Document -> Settings...
Copy the layouts files from the `layouts` folder into your LyX `layouts` folder (e.g. in your [user directory](http://wiki.lyx.org/LyX/UserDir)), then reconfigure LyX (Tools -> Reconfigure) and restart it. You should now be able to select the Document Class under Document -> Settings...

You can find example LyX files for all layouts in the `examples` folder.
232 changes: 232 additions & 0 deletions examples/beamer-with-titleframe.lyx
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass tudbeamer
\options accentcolor=tud1a,colorbacktitle,inverttitle,landscape,english,presentation,t
\use_default_options true
\maintain_unincluded_children false
\begin_local_layout
Format 66

Style TitleFrame
CopyStyle PlainFrame
LabelString "TitleFrame"
LatexName titleframe
InTitle 1
Argument 3
MenuString "Frame Options"
LabelString "Options"
Tooltip "Frame options (see beamer manual)"
PresetArg ""
EndArgument
End
\end_local_layout
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "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
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\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 basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\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 Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
renewcommand
\backslash
makebeamertitle{}
\end_layout

\end_inset


\end_layout

\begin_layout Section
Introduction
\end_layout

\begin_layout Title
My Presentation
\begin_inset Newline newline
\end_inset

- with custom TitleFrame
\end_layout

\begin_layout Institute
My Department
\end_layout

\begin_layout Author
My Name
\end_layout

\begin_layout TitleFrame

\end_layout

\begin_deeper
\begin_layout Itemize
Welcome!
\end_layout

\begin_layout Itemize
Here we can add content to the TitleFrame, which isn't possible by default.
\end_layout

\begin_layout Itemize
Please note, that the Document has a custom Local Layout and resets makebeamerti
tle!
\end_layout

\end_deeper
\begin_layout Standard
\begin_inset Separator plain
\end_inset


\end_layout

\begin_layout PlainFrame

\end_layout

\begin_layout PlainFrame
Plain Frame - e.g.
for large image.
\end_layout

\begin_layout Section
Summary
\end_layout

\begin_layout Frame
\begin_inset Argument 4
status open

\begin_layout Plain Layout
Frame 3
\end_layout

\end_inset


\end_layout

\begin_deeper
\begin_layout Itemize
3rd Frame..
\end_layout

\begin_layout Itemize
\begin_inset Argument item:2
status open

\begin_layout Plain Layout

2-
\end_layout

\end_inset

..
with ..
\end_layout

\begin_layout Itemize
\begin_inset Argument item:2
status open

\begin_layout Plain Layout

3
\end_layout

\end_inset

..

\begin_inset Quotes eld
\end_inset

On Slide
\begin_inset Quotes erd
\end_inset

.
\end_layout

\end_deeper
\end_body
\end_document
Binary file added examples/beamer-with-titleframe.pdf
Binary file not shown.
Loading

0 comments on commit 12a5626

Please sign in to comment.