1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723
|
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[moderncv,ebgaramond.sty,fancyhdr.sty,fontawesome.sty,ifpdf.sty,marvosym.sty]{Modern CV}
# \DeclareCategory{Curricula Vitae}
# textclass definition file for modernCV 2.0.x
# (also works with modernCV 1.5.x)
# Author : Uwe Stöhr (uwestoehr@web.de)
# General textclass parameters
Format 111
Columns 1
Sides 1
SecNumDepth -1
TocDepth -1
Provides hyperref 1
Provides url 1
# Standard style definition
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
DocBookTag para
End
Input stdcounters.inc
Input stdinsets.inc
Input stdlists.inc
Style CVStyle
Margin Dynamic
LatexType Command
LatexName moderncvstyle
Category FrontMatter
InPreamble 1
ParSkip 0.4
LabelSep xx
LabelType Static
LabelString "CV Style:"
LabelFont
Series Bold
Color textlabel1
EndFont
Argument 1
LabelString "Style Options"
Tooltip "Options for the CV style"
EndArgument
# For DocBook, in <info>, so that the next tags can be there.
DocBookTag IGNORE
DocBookInInfo maybe
End
Style CVColor
CopyStyle CVStyle
LatexName moderncvcolor
LabelString "CV Color Scheme:"
# For DocBook, in <info>, so that the next tags can be there.
DocBookTag IGNORE
DocBookInInfo maybe
End
Style CVIcons
CopyStyle CVStyle
LatexName moderncvicons
LabelString "CV Icon Set:"
# For DocBook, in <info>, so that the next tags can be there.
DocBookTag IGNORE
DocBookInInfo maybe
End
Style CVColumnWidth
CopyStyle CVStyle
LatexName setlength{\hintscolumnwidth}
LabelString "Column Width:"
# For DocBook, in <info>, so that the next tags can be there.
DocBookTag IGNORE
DocBookInInfo maybe
End
Style PDF_Page_Mode
CopyStyle CVStyle
LatexName renewcommand{\pdfpagemode}
LabelString "PDF Page Mode:"
# For DocBook, in <info>, so that the next tags can be there.
DocBookTag IGNORE
DocBookInInfo maybe
End
Style Name
LatexType command
LatexName name
Category FrontMatter
InPreamble 1
TopSep 0.7
Align Center
Font
Family Sans
Size Largest
EndFont
Argument 1
LabelString "First Name"
Tooltip "First name"
Mandatory 1
# TODO: If this produces a DocBook tag <firstname>, the rest must be in <givename>, but that's not possible yet.
EndArgument
DocBookTag personname
DocBookTagType paragraph
DocBookWrapperTag author
DocBookWrapperTagType block
DocBookInInfo always
End
Style FirstName
CopyStyle Name
LatexName firstname
ResetArgs 0
ObsoletedBy Name
End
Style FamilyName
CopyStyle FirstName
LatexName familyname
TopSep 0.3
LabelString "Family Name:"
ObsoletedBy Name
End
Style Title
Margin Static
LatexType Command
Category FrontMatter
InPreamble 1
LatexName title
ParSkip 0.4
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 1
Align Center
LabelType No_Label
Font
Size Larger
Shape Italic
EndFont
HTMLTag h1
HTMLTitle true
DocBookTag title
DocBookTagType paragraph
DocBookInInfo maybe
End
Style Address
CopyStyle CVStyle
LatexName address
LabelString "Address:"
BottomSep 0.3
TopSep 0
Argument 1
LabelString "Line 1"
Tooltip "Optional address line"
Mandatory 1
EndArgument
Argument 2
LabelString "Line 2"
Tooltip "Optional address line"
Mandatory 1
EndArgument
DocBookTag NONE
DocBookWrapperTag address
DocBookWrapperTagType block
DocBookWrapperMergeWithPrevious true
DocBookInInfo always
End
Style Phone
CopyStyle CVStyle
LatexName phone
LabelString "Phone:"
Argument 1
LabelString "Phone Type"
Tooltip "can be fixed, mobile or fax"
# TODO: for DocBook, this should be translated into a role.
DocBookTag emphasis
DocBookTagType inline
EndArgument
DocBookTag phone
DocBookTagType paragraph
DocBookWrapperTag address
DocBookWrapperTagType block
DocBookWrapperMergeWithPrevious true
DocBookInInfo always
End
Style Mobile
CopyStyle CVStyle
LatexName mobile
LabelString "Mobile:"
ObsoletedBy Phone
End
Style Fax
CopyStyle CVStyle
LatexName fax
LabelString "Fax:"
ObsoletedBy Phone
End
Style Email
CopyStyle CVStyle
LatexName email
LabelString "Email:"
DocBookTag email
DocBookTagType paragraph
DocBookWrapperTag address
DocBookWrapperTagType block
DocBookWrapperMergeWithPrevious true
DocBookInInfo always
End
Style Homepage
CopyStyle CVStyle
LatexName homepage
LabelString "Homepage:"
DocBookTag uri
DocBookAttr type='homepage'
DocBookTagType paragraph
DocBookWrapperTag address
DocBookWrapperTagType block
DocBookWrapperMergeWithPrevious true
DocBookInInfo always
End
Style Social
CopyStyle CVStyle
LatexName social
LabelString "Social:"
Argument 1
LabelString "Name"
Tooltip "Name of the social network"
# TODO: for DocBook, this should be translated into a role.
DocBookTag emphasis
DocBookTagType inline
EndArgument
DocBookTag uri
DocBookAttr type='social-network'
DocBookTagType paragraph
DocBookWrapperTag address
DocBookWrapperTagType block
DocBookWrapperMergeWithPrevious true
DocBookInInfo always
End
Style ExtraInfo
CopyStyle CVStyle
LatexName extrainfo
LabelString "Extra Info:"
DocBookTag otheraddr
DocBookTagType paragraph
DocBookWrapperTag address
DocBookWrapperTagType block
DocBookWrapperMergeWithPrevious true
DocBookInInfo always
End
# Path to a digital image:
Style Photo
CopyStyle CVStyle
Font
Family typewriter
EndFont
LabelFont
Family Roman
Series Bold
Color textlabel1
EndFont
LatexName photo
LabelString "Photo:"
Argument 1
LabelString "Height"
Tooltip "Height the photo is resized to"
PassThru 1
EndArgument
Argument 2
LabelString "Thickness"
Tooltip "Thickness of the surrounding frame"
PassThru 1
EndArgument
PassThru 1
DocBookTag date
DocBookAttr role='picture'
DocBookInInfo always
DocBookWrapperTag NONE
DocBookNoFontInside true
End
Style Quote
CopyStyle CVStyle
LatexName quote
LabelType No_Label
Align Center
BottomSep 0.7
TopSep 0.5
Font
Shape Italic
Size Large
EndFont
DocBookTag para
DocBookWrapperTag blockquote
DocBookInInfo false
End
Style Section
Category Sectioning
Margin Dynamic
LatexType Command
LatexName section
NeedProtect 1
NextNoIndent 1
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Block
LabelSep xxx
LabelType No_Label
Font
Family Sans
Series Bold
EndFont
TocLevel 1
HTMLTag h2
DocBookTag title
DocBookTagType paragraph
End
Style EmptySection
CopyStyle Section
LatexType Command
LatexName emptysection{}
KeepEmpty 1
LabelType Static
LabelString "Empty Section"
LabelFont
Color textlabel2
EndFont
End
Style Subsection
CopyStyle Section
LatexName subsection
TopSep 0.9
BottomSep 0
ParSep 0.5
Font
Family Sans
Series Medium
EndFont
TocLevel 2
End
Style CloseSection
ObsoletedBy Standard
End
Style Columns
Margin Static
LatexType Environment
LatexName cvcolumns
NextNoIndent 1
LeftMargin M
RightMargin M
ParSkip 0.4
BottomSep 0.5
ParSep 0.7
Align Block
LabelType Centered
LabelString "Columns:"
LabelBottomSep 0.5
LabelFont
Series Bold
Color textlabel1
EndFont
TocLevel 1
DocBookTag NONE
End
InsetLayout Flex:Column
LyxType custom
LatexType Command
LaTeXName cvcolumn
Argument 1
LabelString "Width"
Tooltip "Optional width"
PassThru 1
DocBookTag IGNORE
EndArgument
Argument 2
Mandatory 1
AutoInsert 1
LabelString "Header"
Tooltip "Header content"
DocBookTag title
EndArgument
LabelString "Column"
LabelFont
Series Bold
Color textlabel1
EndFont
ResetsFont true
DocBookTag sidebar
# TODO: issue with paragraphs inside, they do not get properly wrapped in <para> if required. Using a wrapper tag makes everything under <para>, including the title.
End
Style Entry
Margin Dynamic
LatexType Command
LatexName cventry
Argument 1
Mandatory 1
LabelString "Years"
Tooltip "Years"
DocBookTag phrase
DocBookAttr role='years'
EndArgument
Argument 2
Mandatory 1
LabelString "Title"
Tooltip "Degree or job title"
Font
Series Bold
EndFont
DocBookTag phrase
DocBookAttr role='title'
EndArgument
Argument 3
Mandatory 1
LabelString "Affiliation"
Tooltip "Institution or employer"
Font
Shape Italic
EndFont
DocBookTag phrase
DocBookAttr role='affiliation'
EndArgument
Argument 4
Mandatory 1
LabelString "Localization"
Tooltip "City or country"
DocBookTag phrase
DocBookAttr role='localization'
EndArgument
Argument 5
Mandatory 1
LabelString "Optional"
Tooltip "Grade or other info"
DocBookTag phrase
DocBookAttr role='optional'
EndArgument
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Entry:"
LabelFont
Series Bold
Color textlabel1
EndFont
DocBookTag para
End
Style Item
Margin Dynamic
LatexType Command
LatexName cvitem
Argument 1
Mandatory 1
AutoInsert 1
LabelString "Summary"
Tooltip "Summary"
DocBookTag phrase
DocBookAttr role='summary'
EndArgument
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Item:"
LabelFont
Series Bold
Color textlabel1
EndFont
DocBookTag para
End
Style ItemWithComment
CopyStyle Item
LatexName cvitemwithcomment
LabelString "Item with Comment:"
KeepEmpty 1
ResetArgs 1
Argument 1
Mandatory 1
LabelString "Summary"
Tooltip "Summary"
DocBookTag phrase
DocBookAttr role='summary'
EndArgument
Argument 2
Mandatory 1
LabelString "Text"
Tooltip "Text"
Font
Series Bold
Shape Up
EndFont
DocBookTag phrase
DocBookAttr role='text'
EndArgument
Font
Shape Italic
EndFont
LabelFont
Series Bold
Color textlabel1
Shape Up
EndFont
DocBookTag para
End
Style ListItem
CopyStyle Item
LatexName cvlistitem
LabelString "List Item:"
ResetArgs 1
End
Style DoubleItem
CopyStyle ListItem
LatexName cvdoubleitem
LabelString "Double Item:"
KeepEmpty 1
Argument 1
Mandatory 1
LabelString "Left Summary"
Tooltip "Left summary"
EndArgument
Argument 2
Mandatory 1
LabelString "Left Text"
Tooltip "Left text"
EndArgument
Argument 3
Mandatory 1
LabelString "Right Summary"
Tooltip "Right summary"
EndArgument
End
Style DoubleListItem
CopyStyle ListItem
LatexName cvlistdoubleitem
LabelString "Double List Item:"
ResetArgs 1
Argument 1
Mandatory 1
AutoInsert 1
LabelString "First Item"
Tooltip "First item"
EndArgument
End
Style Language
ObsoletedBy ItemWithComment
End
Style Computer
ObsoletedBy DoubleItem
End
Style MakeCVtitle
CopyStyle EmptySection
LatexName makecvtitle{}
LabelString "Make CV Title"
Category FrontMatter
LabelFont
Size Small
EndFont
End
Style MakeLetterTitle
CopyStyle MakeCVtitle
LatexName makelettertitle{}
LabelString "Make Letter Title"
Category Letter
End
Style MakeLetterClosing
CopyStyle MakeCVtitle
LatexName makeletterclosing{}
LabelString "Close Letter"
Category Letter
End
Style Bibliography
Category BackMatter
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
NextNoIndent 1
ToggleIndent Never
LeftMargin MM
ParSkip 0.4
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType Bibliography
LabelString "References"
LabelBottomSep 1.2
LabelFont
Series Bold
Size Larger
Family Sans
EndFont
TocLevel 1
IsTocCaption 0
Argument listpreamble:1
LabelString "Bib preamble"
MenuString "Bibliography Preamble"
Tooltip "LaTeX code to be inserted before the first bibliography item"
PassThru 1
Font
Family typewriter
Color latex
EndFont
EndArgument
End
Style Recipient
Margin Dynamic
LatexType Command
LatexName recipient
Category Letter
Argument 1
Mandatory 1
AutoInsert 1
LabelString "Company Name"
Tooltip "Company name"
#Font
# Series Bold
#EndFont
EndArgument
NextNoIndent 1
ParSkip 0.4
TopSep 1.3
BottomSep 0
ParSep 0.7
Align Left
LabelSep xxx
LabelType No_Label
Font
Shape Italic
EndFont
End
Style Date
CopyStyle Recipient
LatexName date
ResetArgs 1
TopSep 0
BottomSep 0
Align Right
Font
Series Medium
EndFont
End
Style Opening
CopyStyle Date
LatexName opening
TopSep 0
BottomSep 0.5
Align Left
End
Style Closing
CopyStyle Opening
LatexName closing
End
Style Enclosing
Margin Dynamic
CopyStyle Opening
LatexName enclosure
Argument 1
LabelString "Alternative Name"
Tooltip "Alternative instead of 'Enclosure'"
EndArgument
LabelSep xx
LabelType Static
LabelString "Enclosing:"
Font
Shape Italic
EndFont
LabelFont
Shape Up
Series Bold
Color textlabel1
EndFont
End
|