Join TSR
 
About Us | FAQs | Sign in
 
Advanced
Search

Join The Student Room Today

Be part of the UK's largest and fastest growing student community.

It's free to join and a lot of fun - Get inspired, express your ideas, interact and share

RSS  Maths revision, coursework or discussion you will find help in here.
Reply
 
Announcements   Posted By
 
Old 21-08-2008: 21st August 2008 01:20 #1 
The Bachelor's Avatar
The Bachelor The Bachelor is offline Male
TSR Demigod
Thread Starter
The Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond repute
Portsmouth
Join Date: Oct 2007
Posts: 5,567
My Societies
Default Placeholders in latex?
 
Let's say, for the sake of argument, i'm writing about authors whose names I don't know, and I want to use placeholders to hold their place in the text for now. For example:


So that, when {author10} says something, {author9} does something else...



I want to do it without the usual find-replaceall method because there are too many problems that might come with that.

Is there a way to use some sort of latex command to act like a placeholder? My ideal sense is something like this:


author10 = "blah blah"

So that, when {author10} says something, {author9} does something else...


and then i could replace "blah blah" with the real name once i found out what it actually was. Any such latex command?
 
Register to remove banners from posts.
Old 21-08-2008: 21st August 2008 17:22 #2 
ukgea ukgea is offline Male
Benevolent Member
ukgea has a reputation beyond reputeukgea has a reputation beyond reputeukgea has a reputation beyond reputeukgea has a reputation beyond reputeukgea has a reputation beyond reputeukgea has a reputation beyond reputeukgea has a reputation beyond reputeukgea has a reputation beyond reputeukgea has a reputation beyond reputeukgea has a reputation beyond repute
Join Date: Jun 2006
Location: -
Posts: 813
Default Re: Placeholders in latex?
 
Code:
\newcommand{\author9}{John Doe} ... So when \author9 says something...
Old 22-08-2008: 22nd August 2008 00:28 #3 
The Bachelor's Avatar
The Bachelor The Bachelor is offline Male
TSR Demigod
Thread Starter
The Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond reputeThe Bachelor has a reputation beyond repute
Portsmouth
Join Date: Oct 2007
Posts: 5,567
My Societies
Default Re: Placeholders in latex?
 
Thanks.
 
 
Thread Tools Search this Thread
Search this Thread
Advanced
Search