Search found 20 matches

by wcw
Tue Mar 20, 2012 11:36 am
Forum: General
Topic: Location of Macro Definition
Replies: 7
Views: 6343

Location of Macro Definition

This software is not related to LaTeX. It's a shell script . The example above runs on the bash shell , but can be used on other shells as well. It's for use at the command prompt, i.e. in a terminal window. On a Linux (or Unix system) or Mac OS X ist should run without further installations ...
by wcw
Tue Mar 20, 2012 3:24 am
Forum: General
Topic: Location of Macro Definition
Replies: 7
Views: 6343

Location of Macro Definition

With some experience one can know where a macro may be defined or can easily locate it.

Sometime it's hard though, in such cases I use a shell script

#!/bin/bash
# texgrep - searches for a text pattern contained in files
# located inside the texmf trees
# usage: texgrep pattern [extension ...
by wcw
Sun Mar 18, 2012 4:19 am
Forum: General
Topic: Location of Macro Definition
Replies: 7
Views: 6343

Location of Macro Definition

Macros are defined at different places. Those which are essential for every document are defined in the LaTeX kernel (files with suffix *.ltx). Macros like \figurename , which are more specific for different types of documents, are defined in the classes. Others for a specific purpose are define in ...
by wcw
Sat Mar 17, 2012 5:52 pm
Forum: General
Topic: Location of Macro Definition
Replies: 7
Views: 6343

Location of Macro Definition

I am learning modifying the macro now. The problem is that I could not know the file where the definition of the macro is place. For example, I want to change the name for the graph, I could find the source online for help.
The code is:

\renewcommand{\figurename}{Fig.}

With the code above, I ...
by wcw
Thu Mar 15, 2012 3:52 pm
Forum: Page Layout
Topic: beamer | Change Font Size of Block Title
Replies: 4
Views: 23258

beamer | Change Font Size of Block Title

You can read about it in the beamer manual ( texdoc beamer or on CTAN), here for example in 12.3 Block Environments , Beamer-Color/-Font block title . \setbeamerfont is also explained somewhere, of course. I know that the manual is extensive, but beamer is feature rich. Sometimes it's quicker to ...
by wcw
Thu Mar 15, 2012 3:07 pm
Forum: Page Layout
Topic: beamer | Change Font Size of Block Title
Replies: 4
Views: 23258

beamer | Change Font Size of Block Title

Hi,

that's easy to to, by just one line, such as

\setbeamerfont{block title}{size=\scriptsize}

With the Madrid theme this gives:

block.png

Stefan

Thanks for your reply. Can you tell me how you know the method to change how beamer looks? I want to know the method to do some modification ...
by wcw
Thu Mar 15, 2012 2:59 pm
Forum: Page Layout
Topic: beamer | Splitting a Frame manually
Replies: 0
Views: 1216

beamer | Splitting a Frame manually

When I am creating a frame with the allowframebreaks option, I want to break the frame according to my will, how can I do this?

The reason why I want to do this is that when I am using allowframebreaks to create a long frame, the titles with numbers will be automatically created by LaTeX from the ...
by wcw
Mon Mar 12, 2012 4:57 pm
Forum: General
Topic: Search for Documentation of Macro Code
Replies: 10
Views: 6576

Search for Documentation of Macro Code

Is it right that all of the .cls files contain the macro for "document class?"

(The meaning of this English sentence is a bit hard to understand...) If you would like to learn something about classes, have a look at the clsguide on CTAN or type texdoc clsguide at the command prompt.

Stefan ...
by wcw
Mon Mar 12, 2012 4:56 am
Forum: General
Topic: Search for Documentation of Macro Code
Replies: 10
Views: 6576

Search for Documentation of Macro Code

localghost wrote:
wcw wrote:[…] Can you also tell me the anme of the macro for "beamer?" […]
beamer is a document class. Find out its location in the TeX installation tree on the command line.

Code: Select all

kpsewhich beamer.cls
Is it right that all of the .cls files contain the macro for "document class?"
by wcw
Mon Mar 12, 2012 4:52 am
Forum: General
Topic: Search for Documentation of Macro Code
Replies: 10
Views: 6576

Search for Documentation of Macro Code

Hi,

while source2e is good for learning about LaTeX commands, there are TeX books and documentation which can be useful if you encounter TeX commands which don't belong to LaTeX.

Btw. don't overlook the @ in the command name. This special character is commonly used for internal commands to ...