mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Amend cb26ecbb
: Added apa7 layout
The command addORCIDlink{}{} can be used in the preamble (like title{} or author{}) or in the body of document. For this a Flex-inset-layout seems appropriate.
This commit is contained in:
parent
0f6045848a
commit
3a8755f2d6
@ -9,4 +9,5 @@ Input apax.inc
|
||||
|
||||
NoStyle Course
|
||||
NoStyle addORCIDlink
|
||||
NoInsetLayout Flex:addORCIDlink
|
||||
|
||||
|
@ -578,6 +578,9 @@ Style Course
|
||||
EndFont
|
||||
End
|
||||
|
||||
|
||||
# The addORCIDlink{}{} latex command can be used in the preamble,
|
||||
# but also inside some other style like note, paragraph etc
|
||||
Style addORCIDlink
|
||||
Category FrontMatter
|
||||
InTitle 1
|
||||
@ -586,13 +589,35 @@ Style addORCIDlink
|
||||
LatexName addORCIDlink
|
||||
LatexType Command
|
||||
Margin Dynamic
|
||||
LeftMargin MMN
|
||||
RightMargin MMN
|
||||
LeftMargin MMN
|
||||
RightMargin MMN
|
||||
Align Block
|
||||
Argument 1
|
||||
LabelString "Author-name"
|
||||
Tooltip ORCID
|
||||
Mandatory 1
|
||||
Argument 1
|
||||
LabelString "Author-name"
|
||||
Tooltip ORCID
|
||||
Mandatory 1
|
||||
EndArgument
|
||||
End
|
||||
|
||||
|
||||
# To be used inside the document body
|
||||
InsetLayout Flex:addORCIDlink
|
||||
LabelString "ORCID-link: "
|
||||
LatexName addORCIDlink
|
||||
Decoration none
|
||||
LatexType Command
|
||||
LyxType custom
|
||||
Argument 1
|
||||
LabelString "Author-name"
|
||||
Mandatory 1
|
||||
AutoInsert 1
|
||||
Decoration none
|
||||
EndArgument
|
||||
Argument 2
|
||||
LabelString ORCID
|
||||
AutoInsert 1
|
||||
Mandatory 1
|
||||
Decoration none
|
||||
EndArgument
|
||||
End
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user